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/tests/phpunit/tests/post.php

    r36309 r36874  
    992992
    993993        foreach ( $matches[1] as $url ) {
    994             $this->assertContains( 'term_id=' . $term->term_id, $url );
     994            $this->assertContains( 'tag_ID=' . $term->term_id, $url );
    995995            $this->assertContains( 'post_type=new_post_type', $url );
    996996        }
Note: See TracChangeset for help on using the changeset viewer.