From 75dcc983d7b2e248bf34da0ab80a62a5c645bf59 Mon Sep 17 00:00:00 2001 From: Ryan Boren Date: Mon, 18 Mar 2013 17:24:24 +0000 Subject: [PATCH] Don't allow changing the post format from quick edit and bulk edit. These do not have sufficient context to set the post format. Props kovshenin fixes #23426 git-svn-id: https://develop.svn.wordpress.org/trunk@23742 602fd350-edb4-49c9-b593-d223f7449a82 --- .../includes/class-wp-posts-list-table.php | 26 ------------------- wp-admin/includes/post.php | 11 -------- 2 files changed, 37 deletions(-) diff --git a/wp-admin/includes/class-wp-posts-list-table.php b/wp-admin/includes/class-wp-posts-list-table.php index 8a2aa319e1..b16b1e7bcc 100644 --- a/wp-admin/includes/class-wp-posts-list-table.php +++ b/wp-admin/includes/class-wp-posts-list-table.php @@ -1032,32 +1032,6 @@ 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(); - unset( $all_post_formats['standard'] ); ?> -
- -
- - - $updated, 'skipped' => $skipped, 'locked' => $locked );