X-Git-Url: https://scripts.mit.edu/gitweb/autoinstalls/wordpress.git/blobdiff_plain/f5fcdc7994bb67cce809bc4777944ae8b7fad4a4..53f4633144ed68c8b8fb5861f992b5489894a940:/wp-admin/edit.php diff --git a/wp-admin/edit.php b/wp-admin/edit.php index ad8c0786..6c285d78 100644 --- a/wp-admin/edit.php +++ b/wp-admin/edit.php @@ -18,6 +18,10 @@ if ( 'attachment' === $typenow ) { } } +/** + * @global string $post_type + * @global object $post_type_object + */ global $post_type, $post_type_object; $post_type = $typenow; @@ -279,13 +283,13 @@ $bulk_counts = array_filter( $bulk_counts ); require_once( ABSPATH . 'wp-admin/admin-header.php' ); ?>
-

labels->name ); if ( current_user_can( $post_type_object->cap->create_posts ) ) - echo ' ' . esc_html( $post_type_object->labels->add_new ) . ''; + echo ' ' . esc_html( $post_type_object->labels->add_new ) . ''; if ( ! empty( $_REQUEST['s'] ) ) printf( ' ' . __('Search results for “%s”') . '', get_search_query() ); -?>

+?>