• 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

  • 相关阅读:
    后向边
    图的割点、桥和双连通分支的基本概念
    Hihocoder 1062 最近公共祖先1
    会场问题 差分解法
    POJ2976 01分数规划 普通题
    Hihocoder 1049
    hihocoder 1050树中最长路
    Hihocoder 1055
    POJ1463
    C语言|博课作业02
  • 原文地址:https://www.cnblogs.com/xiaoluozi513/p/3966207.html
Copyright © 2020-2023  润新知