mirror of
https://github.com/WordPress/WordPress.git
synced 2025-01-22 08:11:52 +01:00
Make WP_Tax_Query::transform_query() public. props scribu. fixes #21684.
git-svn-id: http://core.svn.wordpress.org/trunk@21863 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
2a4fc8952f
commit
8203ef4905
@ -765,12 +765,11 @@ class WP_Tax_Query {
|
||||
* Transforms a single query, from one field to another.
|
||||
*
|
||||
* @since 3.2.0
|
||||
* @access private
|
||||
*
|
||||
* @param array &$query The single query
|
||||
* @param string $resulting_field The resulting field
|
||||
*/
|
||||
private function transform_query( &$query, $resulting_field ) {
|
||||
public function transform_query( &$query, $resulting_field ) {
|
||||
global $wpdb;
|
||||
|
||||
if ( empty( $query['terms'] ) )
|
||||
|
Loading…
Reference in New Issue
Block a user