wordpress version

version info

/readme.html

/wp-includes/version.php

remove copyright

1.wp-login.php

  //<h1><a href="<?php echo esc_url( $login_header_url ); ?>" title="<?php echo esc_attr( $login_header_title ); ?>" tabindex="-1"><?php bloginfo( 'name' ); ?></a></h1>

2.wp-admin/admin-footer.php 

  //echo apply_filters( 'admin_footer_text', '<span id="footer-thankyou">' . $text . '</span>' );

3.wp-includes/class-wp-admin-bar.php

  //add_action( 'admin_bar_menu', 'wp_admin_bar_wp_menu', 10 );

4.wp-admin/includes/dashboard.php

  //wp_add_dashboard_widget( 'dashboard_primary', __( 'WordPress News' ), 'wp_dashboard_primary' );

5.del no use templates

remove auto update

1.wp-admin/menu.php

  //$submenu[ 'index.php' ][10] = array( sprintf( __('Updates %s'), "<span class='update-plugins count-{$update_data['counts']['total']}' title='{$update_data['title']}'><span class='update-count'>"

2.wp-content/themes/current templates

//close auto update
function remove_core_updates(){
    global $wp_version;return(object) array('last_checked'=> time(),'version_checked'=> $wp_version,);
}
add_filter('pre_site_transient_update_core','remove_core_updates');
add_filter('pre_site_transient_update_plugins','remove_core_updates');
add_filter('pre_site_transient_update_themes','remove_core_updates');

set language

wp-config.php  define('WPLANG', 'zh_CN');

wp-content/languages

原文地址:https://www.cnblogs.com/xiaoluozi513/p/3966207.html