Make WordPress Core

Ticket #31718: 31718.patch

File 31718.patch, 721 bytes (added by tyxla, 9 years ago)

Removing tests/phpunit/tests/query/verboseRewriteRules.php to avoid duplicate calling of query/conditional tests.

  • tests/phpunit/tests/query/verboseRewriteRules.php

     
    1 <?php
    2 
    3 require_once dirname( dirname( __FILE__ ) ) . '/query.php';
    4 
    5 /**
    6  * @group query
    7  * @group rewrite
    8  */
    9 class Tests_Query_VerbosePageRules extends Tests_Query_Conditionals {
    10         function setUp() {
    11                 global $wp_rewrite;
    12 
    13                 parent::setUp();
    14                
    15                 $wp_rewrite->init();
    16                 $wp_rewrite->set_permalink_structure( '/%category%/%year%/%postname%/' );
    17 
    18                 create_initial_taxonomies();
    19 
    20                 $wp_rewrite->flush_rules();
    21         }
    22 }