Make WordPress Core


Ignore:
Timestamp:
03/07/2016 12:55:04 PM (9 years ago)
Author:
swissspidy
Message:

Taxonomy: Improve backward compatibility on the wp-admin/term.php page.

Specifically, run do_action( 'edit-tags.php' ); on this new term edit page introduced in [36308]. Changes the GET param back to tag_ID and properly sets the screen base in WP_Screen.

See #34988.

File:
1 edited

Legend:

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

    r36709 r36874  
    356356        elseif ( $taxnow == 'link_category' )
    357357            do_action( 'load-edit-link-categories.php' );
     358    } elseif( 'term.php' === $pagenow ) {
     359        do_action( 'edit-tags.php' );
    358360    }
    359361}
Note: See TracChangeset for help on using the changeset viewer.