From 5c3f3b816784c1fe31a94ad44e799275422d147a Mon Sep 17 00:00:00 2001 From: Jeremy Felt Date: Sun, 16 Dec 2018 01:52:50 +0000 Subject: [PATCH] Posts: Remove the slug from Quick Edit for posts that are not `is_post_type_viewable()`. This is a followup to [43728], which added the same check, but using the `publicly_queryable` option. This behaviour is incorrect for `_builtin` post types, which go by the logic in `is_post_type_viewable()`, instead. Merges [43855] from the 5.0 branch to trunk. Props pento. See #43278. git-svn-id: https://develop.svn.wordpress.org/trunk@44221 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-admin/includes/class-wp-posts-list-table.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/wp-admin/includes/class-wp-posts-list-table.php b/src/wp-admin/includes/class-wp-posts-list-table.php index 315831bdd2..c054e6fb64 100644 --- a/src/wp-admin/includes/class-wp-posts-list-table.php +++ b/src/wp-admin/includes/class-wp-posts-list-table.php @@ -1471,7 +1471,7 @@ class WP_Posts_List_Table extends WP_List_Table { - publicly_queryable ) : // publicly_queryable check ?> + post_type ) ) : // is_post_type_viewable check ?>