Posts, Post Types: Remove extra tabs around page_attributes_meta_box_template action in page_attributes_meta_box().

Props chetan200891.
See #43252.
Built from https://develop.svn.wordpress.org/trunk@42674


git-svn-id: http://core.svn.wordpress.org/trunk@42502 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Sergey Biryukov 2018-02-08 11:24:32 +00:00
parent ef4f47d00f
commit b9944def27
2 changed files with 12 additions and 12 deletions

View File

@ -930,8 +930,8 @@ function page_attributes_meta_box( $post ) {
$template = ! empty( $post->page_template ) ? $post->page_template : false;
?>
<p class="post-attributes-label-wrapper"><label class="post-attributes-label" for="page_template"><?php _e( 'Template' ); ?></label>
<?php
/**
<?php
/**
* Fires immediately after the label inside the 'Template' section
* of the 'Page Attributes' meta box.
*
@ -940,7 +940,7 @@ function page_attributes_meta_box( $post ) {
* @param string $template The template used for the current post.
* @param WP_Post $post The current post.
*/
do_action( 'page_attributes_meta_box_template', $template, $post );
do_action( 'page_attributes_meta_box_template', $template, $post );
?>
</p>
<select name="page_template" id="page_template">

View File

@ -4,7 +4,7 @@
*
* @global string $wp_version
*/
$wp_version = '5.0-alpha-42673';
$wp_version = '5.0-alpha-42674';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.