X-Git-Url: https://scripts.mit.edu/gitweb/autoinstalls/wordpress.git/blobdiff_plain/bf5c68485ef07868ad0a91168ecd0092af7661ae..refs/tags/wordpress-3.4:/wp-admin/includes/class-wp-posts-list-table.php
diff --git a/wp-admin/includes/class-wp-posts-list-table.php b/wp-admin/includes/class-wp-posts-list-table.php
index 290939c2..613cff82 100644
--- a/wp-admin/includes/class-wp-posts-list-table.php
+++ b/wp-admin/includes/class-wp-posts-list-table.php
@@ -360,7 +360,7 @@ class WP_Posts_List_Table extends WP_List_Table {
if ( $page->post_parent == $page->ID ) {
$page->post_parent = 0;
$wpdb->update( $wpdb->posts, array( 'post_parent' => 0 ), array( 'ID' => $page->ID ) );
- clean_page_cache( $page->ID );
+ clean_post_cache( $page );
}
if ( 0 == $page->post_parent )
@@ -527,9 +527,8 @@ class WP_Posts_List_Table extends WP_List_Table {
?>
>post_status != 'trash' ) { ?>
ID ) )
the_excerpt();
- }
}
$actions = array();
@@ -609,7 +608,8 @@ class WP_Posts_List_Table extends WP_List_Table {
esc_html( sanitize_term_field( 'name', $c->name, $c->term_id, 'category', 'display' ) )
);
}
- echo join( ', ', $out );
+ /* translators: used between list items, there is a space after the comma */
+ echo join( __( ', ' ), $out );
} else {
_e( 'Uncategorized' );
}
@@ -629,7 +629,8 @@ class WP_Posts_List_Table extends WP_List_Table {
esc_html( sanitize_term_field( 'name', $c->name, $c->term_id, 'tag', 'display' ) )
);
}
- echo join( ', ', $out );
+ /* translators: used between list items, there is a space after the comma */
+ echo join( __( ', ' ), $out );
} else {
_e( 'No Tags' );
}
@@ -995,20 +996,23 @@ class WP_Posts_List_Table extends WP_List_Table {
post_type, 'post-formats' ) && current_theme_supports( 'post-formats' ) ) :
$post_formats = get_theme_support( 'post-formats' );
if ( isset( $post_formats[0] ) && is_array( $post_formats[0] ) ) :
- $all_post_formats = get_post_format_strings(); ?>
+ $all_post_formats = get_post_format_strings();
+ unset( $all_post_formats['standard'] ); ?>
@@ -1050,5 +1054,3 @@ class WP_Posts_List_Table extends WP_List_Table {
|