From f13044b0314bcaffecb1abf28ebd3ffcb702a5bb Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Mon, 10 Feb 2020 02:29:06 +0000 Subject: [PATCH] Editor: Add unique classes to `.post-attributes-label-wrapper` paragraphs for easier JS or CSS targeting. Props sathyapulse, sabernhardt, garrett-eclipse, noisysocks. Fixes #44408. Built from https://develop.svn.wordpress.org/trunk@47228 git-svn-id: http://core.svn.wordpress.org/trunk@47028 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/includes/meta-boxes.php | 8 ++++---- wp-includes/version.php | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/wp-admin/includes/meta-boxes.php b/wp-admin/includes/meta-boxes.php index b171496f03..8e3ec6fb1c 100644 --- a/wp-admin/includes/meta-boxes.php +++ b/wp-admin/includes/meta-boxes.php @@ -949,7 +949,7 @@ function page_attributes_meta_box( $post ) { $pages = wp_dropdown_pages( $dropdown_args ); if ( ! empty( $pages ) ) : ?> -

+

0 && get_option( 'page_for_posts' ) != $post->ID ) : $template = ! empty( $post->page_template ) ? $post->page_template : false; ?> -

+

post_type, 'page-attributes' ) ) : ?> -

+

post_type && get_current_screen()->get_help_tabs() ) : ?> -

+