: *O4'h{@ 1? \ @ ? ¿"-~? ? T @ ? >M0? 2? lQǧ*Oܨ,@? `dB? 39R/ߐژ? /** * acf_new_instance * * Creates a new instance of the given class and stores it in the instances data store. * * @date 9/1/19 * @since 5.7.10 * * @param string $class The class name. * @return object The instance. */ /** * acf_switch_stores * * Triggered when switching between sites on a multisite installation. * * @date 13/2/19 * @since 5.7.11 * * @param integer $site_id New blog ID. * @param int prev_blog_id Prev blog ID. * @return void */ xu? ccˀ9? @u? A]9? E? iF\F &? ? -N]L<=? I? I? J? J? K? K? L? L? M? t? \ @ ^? lQǧ*Oܨ,@? ?? ¿"-~? 9? T @ Ы? >M0? آB? 39R/ߐژ? 1? I1 p? v? u? m? A? D? D? <? ? E? E? gU F? F? =? ' G? G? H? `>? scz? b 3? Q6wxO? '| [? The prepared query string. */ protected function get_select_query( $limit = false ) { $indexable_table = Model::get_table_name( 'Indexable' ); $taxonomy_table = $this->wpdb->term_taxonomy; $public_taxonomies = $this->taxonomy->get_indexable_taxonomies(); $placeholders = \implode( ', ', \array_fill( 0, \count( $public_taxonomies ), '%s' ) ); $replacements = [ $this->version ]; \array_push( $replacements, ...$public_taxonomies ); $limit_query = ''; if ( $limit ) { $limit_query = 'LIMIT %d'; $replacements[] = $limit; } // Warning: If this query is changed, makes sure to update the query in get_count_query as well. return $this->wpdb->prepare( " SELECT term_id FROM {$taxonomy_table} AS T LEFT JOIN $indexable_table AS I ON T.term_id = I.object_id AND I.object_type = 'term' AND I.version = %d WHERE I.object_id IS NULL AND taxonomy IN ($placeholders) $limit_query", $replacements ); } }