Make WordPress Core

Changeset 38311


Ignore:
Timestamp:
08/22/2016 08:57:41 PM (8 years ago)
Author:
wonderboymusic
Message:

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

See #37771.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/includes/nav-menu.php

    r38142 r38311  
    503503
    504504                $post_type = get_post_type_object( $post_type_name );
    505                 $archive_link = get_post_type_archive_link( $post_type_name );
     505
    506506                if ( $post_type->has_archive ) {
    507507                    $_nav_menu_placeholder = ( 0 > $_nav_menu_placeholder ) ? intval($_nav_menu_placeholder) - 1 : -1;
Note: See TracChangeset for help on using the changeset viewer.