WordPress.org

Make WordPress Core

Ticket #21684: 21684.diff

File 21684.diff, 590 bytes (added by scribu, 20 months ago)
  • wp-includes/taxonomy.php

    diff --git wp-includes/taxonomy.php wp-includes/taxonomy.php
    index 4b19b3e..0258f19 100644
    class WP_Tax_Query { 
    763763         * Transforms a single query, from one field to another. 
    764764         * 
    765765         * @since 3.2.0 
    766          * @access private 
    767766         * 
    768767         * @param array &$query The single query 
    769768         * @param string $resulting_field The resulting field 
    770769         */ 
    771         private function transform_query( &$query, $resulting_field ) { 
     770        public function transform_query( &$query, $resulting_field ) { 
    772771                global $wpdb; 
    773772 
    774773                if ( empty( $query['terms'] ) )