Make WordPress Core


Ignore:
Timestamp:
08/12/2015 02:06:21 PM (11 years ago)
Author:
boonebgorges
Message:

When splitting a shared 'nav_menu' term, ensure that nav items and theme locations are retained.

Props boonebgorges, dd32.
Fixes #33187.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/default-filters.php

    r33590 r33611  
    331331add_action( 'split_shared_term', '_wp_check_split_default_terms',  10, 4 );
    332332add_action( 'split_shared_term', '_wp_check_split_terms_in_menus', 10, 4 );
     333add_action( 'split_shared_term', '_wp_check_split_nav_menu_terms', 10, 4 );
    333334
    334335/**
Note: See TracChangeset for help on using the changeset viewer.