Nav Menus: remove unnecessary variable assignment in `wp_nav_menu_item_post_type_meta_box()`.

See #37771.

Built from https://develop.svn.wordpress.org/trunk@38311


git-svn-id: http://core.svn.wordpress.org/trunk@38252 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Scott Taylor 2016-08-22 20:58:28 +00:00
parent 778d794e4f
commit 5025f72fd3
2 changed files with 2 additions and 2 deletions

View File

@ -502,7 +502,7 @@ function wp_nav_menu_item_post_type_meta_box( $object, $box ) {
}
$post_type = get_post_type_object( $post_type_name );
$archive_link = get_post_type_archive_link( $post_type_name );
if ( $post_type->has_archive ) {
$_nav_menu_placeholder = ( 0 > $_nav_menu_placeholder ) ? intval($_nav_menu_placeholder) - 1 : -1;
array_unshift( $posts, (object) array(

View File

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