mirror of
https://github.com/WordPress/WordPress.git
synced 2024-12-23 09:37:42 +01:00
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:
parent
ef4f47d00f
commit
b9944def27
@ -930,17 +930,17 @@ function page_attributes_meta_box( $post ) {
|
|||||||
$template = ! empty( $post->page_template ) ? $post->page_template : false;
|
$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>
|
<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
|
* Fires immediately after the label inside the 'Template' section
|
||||||
* of the 'Page Attributes' meta box.
|
* of the 'Page Attributes' meta box.
|
||||||
*
|
*
|
||||||
* @since 4.4.0
|
* @since 4.4.0
|
||||||
*
|
*
|
||||||
* @param string $template The template used for the current post.
|
* @param string $template The template used for the current post.
|
||||||
* @param WP_Post $post 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>
|
</p>
|
||||||
<select name="page_template" id="page_template">
|
<select name="page_template" id="page_template">
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
*
|
*
|
||||||
* @global string $wp_version
|
* @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.
|
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||||
|
Loading…
Reference in New Issue
Block a user