首页 > 其他 > 详细

wordpress version

时间:2014-09-11 12:29:01      阅读:247      评论:0      收藏:0      [点我收藏+]

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

 

wordpress version

原文:http://www.cnblogs.com/xiaoluozi513/p/3966207.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!