当有数千名用户在网站上注册时edit.php 页面将出现性能问题。
if ( is_super_admin() || current_user_can( $post_type_object->cap->edit_others_posts ) ) :
            $users_opt = array(
                \'hide_if_only_one_author\' => false,
                \'who\' => \'authors\',
                \'name\' => \'post_author\',
                \'class\'=> \'authors\',
                \'multi\' => 1,
                \'echo\' => 0,
                \'show\' => \'display_name_with_login\',
            );
            if ( $bulk )
                $users_opt[\'show_option_none\'] = __( \'— No Change —\' );
            if ( $authors = wp_dropdown_users( $users_opt ) ) :
                $authors_dropdown  = \'<label class="inline-edit-author">\';
                $authors_dropdown .= \'<span class="title">\' . __( \'Author\' ) . \'</span>\';
                $authors_dropdown .= $authors;
                $authors_dropdown .= \'</label>\';
            endif;
        endif; // authors
 如何通过以下方式删除后期编辑页面中的作者列表
functions.php 文件