WordPress.org

Make WordPress Core


Ignore:
Timestamp:
03/07/2016 12:55:04 PM (4 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-includes/admin-bar.php

    r36601 r36874  
    574574                ) );
    575575            }
    576         } elseif ( 'edit-tags' == $current_screen->base
     576        } elseif ( 'term' == $current_screen->base
    577577            && isset( $tag ) && is_object( $tag ) && ! is_wp_error( $tag )
    578578            && ( $tax = get_taxonomy( $tag->taxonomy ) )
Note: See TracChangeset for help on using the changeset viewer.