Make WordPress Core

Ticket #37295: 37295.diff

File 37295.diff, 578 bytes (added by netweb, 9 years ago)
  • tests/phpunit/tests/query/isTerm.php

     
    131131                remove_action( 'pre_get_posts', array( $this, '_cat_uncat_action_tax' ), 11 );
    132132        }
    133133
    134         function _cat_uncat_action_tax( &$query ) {
     134        function _cat_uncat_action_tax( $query ) {
    135135                $this->assertTrue( $query->is_category() );
    136136                $this->assertTrue( $query->is_archive() );
    137137                $this->assertNotEmpty( $query->get( 'category_name' ) );