From b39db8c89848db2b5355c78e8aec8f2e4ac63ca8 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Mon, 10 Feb 2020 02:27:23 +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. git-svn-id: https://develop.svn.wordpress.org/trunk@47228 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-admin/includes/meta-boxes.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/wp-admin/includes/meta-boxes.php b/src/wp-admin/includes/meta-boxes.php index b171496f03..8e3ec6fb1c 100644 --- a/src/wp-admin/includes/meta-boxes.php +++ b/src/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() ) : ?> -

+