From 049d3a6db82361ba50fd94baf4ca90ed37e1a8da Mon Sep 17 00:00:00 2001 From: Gary Pendergast Date: Thu, 1 Nov 2018 02:35:46 +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. See #43278. Built from https://develop.svn.wordpress.org/branches/5.0@43855 git-svn-id: http://core.svn.wordpress.org/branches/5.0@43684 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/includes/class-wp-posts-list-table.php | 4 ++-- wp-includes/version.php | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/wp-admin/includes/class-wp-posts-list-table.php b/wp-admin/includes/class-wp-posts-list-table.php index 352dd964fa..72521dac6d 100644 --- a/wp-admin/includes/class-wp-posts-list-table.php +++ b/wp-admin/includes/class-wp-posts-list-table.php @@ -1426,7 +1426,7 @@ class WP_Posts_List_Table extends WP_List_Table { - publicly_queryable ) : // publicly_queryable check ?> + post_type ) ) : // is_post_type_viewable check ?> diff --git a/wp-includes/version.php b/wp-includes/version.php index 011f1ca121..941698ff57 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @global string $wp_version */ -$wp_version = '5.0-beta2-43854'; +$wp_version = '5.0-beta2-43855'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.