[wp-trac] [WordPress Trac] #37289: Cannot redeclare class WP_Tax_Query

WordPress Trac noreply at wordpress.org
Tue Jul 5 16:25:35 UTC 2016


#37289: Cannot redeclare class WP_Tax_Query
-----------------------------+-----------------------------
 Reporter:  michalzuber      |      Owner:
     Type:  defect (bug)     |     Status:  new
 Priority:  normal           |  Milestone:  Awaiting Review
Component:  Upgrade/Install  |    Version:
 Severity:  normal           |   Keywords:
  Focuses:                   |
-----------------------------+-----------------------------
 After auto upgrade I got
 `Cannot redeclare class WP_Tax_Query in example/wp-includes/class-wp-tax-
 query.php on line 22`

 I have `$wp_version = '4.2.9';`

 {{{
 $ grep -r 'class WP_Tax_Query' *
 wp-includes/taxonomy.php:class WP_Tax_Query {
 wp-includes/class-wp-tax-query.php:class WP_Tax_Query {
 }}}

 It's with an old install. Just visited the page, it was 4.2.7 and had some
 other issues https://core.trac.wordpress.org/ticket/37236#comment:3

 Attached patch fixed the issue.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/37289>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list