From 3740085e9fb61e43d461b92d0ef132c222333361 Mon Sep 17 00:00:00 2001 From: Gary Pendergast Date: Tue, 2 Oct 2018 15:53:23 +0000 Subject: [PATCH] Posts: Remove the slug from Quick Edit for CPTs with `publicly_queryable` disabled. In the full edit screen, CPTs that have disabled the `publicly_queryable` option will hide the slug field, as it doesn't need to be edited. This change brings the Quick Edit view into line with that behaviour. Props bhargavmehta, krutidugade. Fixes #43278. Built from https://develop.svn.wordpress.org/trunk@43664 git-svn-id: http://core.svn.wordpress.org/trunk@43493 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/includes/class-wp-posts-list-table.php | 5 ++++- wp-includes/version.php | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/wp-admin/includes/class-wp-posts-list-table.php b/wp-admin/includes/class-wp-posts-list-table.php index ced70bad84..a70a32e3ed 100644 --- a/wp-admin/includes/class-wp-posts-list-table.php +++ b/wp-admin/includes/class-wp-posts-list-table.php @@ -1458,12 +1458,15 @@ class WP_Posts_List_Table extends WP_List_Table { + publicly_queryable ) : // publicly_queryable check ?> + - diff --git a/wp-includes/version.php b/wp-includes/version.php index 9e94f45635..627f8d6491 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -13,7 +13,7 @@ * * @global string $wp_version */ -$wp_version = '5.0-alpha-43663'; +$wp_version = '5.0-alpha-43664'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.