diff --git src/wp-includes/class-wp-meta-query.php src/wp-includes/class-wp-meta-query.php
index 3fb7956da..fbb20daa7 100644
|
|
class WP_Meta_Query { |
511 | 511 | $alias = $this->find_compatible_table_alias( $clause, $parent_query ); |
512 | 512 | if ( false === $alias ) { |
513 | 513 | $i = count( $this->table_aliases ); |
514 | | $alias = $i ? 'mt' . $i : $this->meta_table; |
| 514 | $alias = $i ? apply_filters( 'meta_query_get_meta_table_alias' , 'mt' ) . $i : $this->meta_table; |
515 | 515 | |
516 | 516 | // JOIN clauses for NOT EXISTS have their own syntax. |
517 | 517 | if ( 'NOT EXISTS' === $meta_compare ) { |