U|unitie@ U2xYidkeds_Z1mediaor UF |namese UO1mediaId Utaxie `!UF |nametw !U2xYidtion@_Zu1isNew"@!UF |namee,"!U^жtaxRate UR tax:fal "UM$Sweighto!UF |names":!U- SlengthE"UވSheightc!U1width22"U2xYidcesa`"Uday890+"U maxee,@"U|uniten"U min9ll"UF |namelt#UF |name1c0 #Uia1stockd"`#U20557ta#USi1taxIdl,#U W1salesed#Uym eansge#UMdRactivef@#UҨ SunitId"$UNOR 56a@$U50000,"@ЦT20557pt`$UF |nameee $U{Ssearch7!Uproduct$U^жtaxRate%U^жtaxRate$U*1pricela %UR taxd":@%U*1price42`%U^жtaxRate%U*1price1%U^жtaxRate%UR tax0","%U2xYidesiv&U9Sstatesh&UGstreams@&Useo_url`&U2xYide,"n&U!c1error"l&U urlnull&UuStagIdsa &UˋseoUrls'UQVԱcoverId 'UPqoptions@'UU|tagsb5`'U%ϱcmsPage'U1media9.US<Sparent"@(U%|pathber-U2xYidRate(Umediara (U2xYidclusi'U{lRconfigs`(U µprivate(UA3hasFile(U2xYide5",(UO1mediaId(U urla:5)UވSheight2@)U1widthne/UR taxrSu)U%|pathId@/UF |namell)U2xYid2554)UO1mediaId)U urlist*UވSheightr *U1width":@*U%|patht:`*U2xYidea81*UO1mediaId*U url504b*UވSheighti*U1widthe7+U%|path," +U2xYidght"@+UO1mediaId`+U urlaId+UވSheightn+U1widthwa+U%|path_o+U2xYidghto,UO1mediaId ,U urlaId@,UވSheightu`,U1widthl,,U%|path16,U urlhti,U] altrch",U—|hashId-U|typerod -UވSheightt@-U1widthe3`-U'm1titles-Ujpeg002-U'm1titled-U] alt NL3'U1mediar .UO1mediaId'U[=1cover\@.U|unit026`.U2xYidiaId.U1mediame.U|linkle.UF |namete.UO1mediaId )UF |namegs /Utaxstet`)U2xYidiaF\`/U^жtaxRate/UF |namets/U- Slength0/UވSheight/U1widthu0 UM$Sweightt_tag'; $reason = Indexing_Reasons::REASON_TAG_BASE_PREFIX; } if ( $subtype === 'category' ) { $reason = Indexing_Reasons::REASON_CATEGORY_BASE_PREFIX; } $this->indexable_helper->reset_permalink_indexables( 'term', $subtype, $reason ); } /** * Resets the permalink indexables automatically, if necessary. * * @return bool Whether the reset request ran. */ public function force_reset_permalinks() { if ( \get_option( 'tag_base' ) !== $this->options_helper->get( 'tag_base_url' ) ) { $this->reset_permalinks_term( null, null, 'tag_base' ); $this->options_helper->set( 'tag_base_url', \get_option( 'tag_base' ) ); } if ( \get_option( 'category_base' ) !== $this->options_helper->get( 'category_base_url' ) ) { $this->reset_permalinks_term( null, null, 'category_base' ); $this->options_helper->set( 'category_base_url', \get_option( 'category_base' ) ); } if ( $this->should_reset_permalinks() ) { $this->reset_permalinks(); return true; } $this->reset_altered_custom_taxonomies(); return true; } /** * Checks whether the permalinks should be reset after `permalink_structure` has changed. * * @return bool Whether the permalinks should be reset. */ public function should_reset_permalinks() { return \get_option( 'permalink_structure' ) !== $this->options_helper->get( 'permalink_structure' ); } /** * Resets custom taxonomies if their slugs have changed. * * @return void */ public function reset_altered_custom_taxonomies() { $taxonomies = $this->taxonomy_helper->get_custom_taxonomies(); $custom_taxonomy_bases = $this->options_helper->get( 'custom_taxonomy_slugs', [] ); $new_taxonomy_bases = []; foreach ( $taxonomies as $taxonomy ) { $taxonomy_slug = $this->taxonomy_helper->get_taxonomy_slug( $taxonomy ); $new_taxonomy_bases[ $taxonomy ] = $taxonomy_slug; if ( ! \array_key_exists( $taxonomy, $custom_taxonomy_bases ) ) { continue; } if ( $taxonomy_slug !== $custom_taxonomy_bases[ $taxonomy ] ) { $this->indexable_helper->reset_permalink_indexables( 'term', $taxonomy ); } } $this->options_helper->set( 'custom_taxonomy_slugs', $new_taxonomy_bases ); } /** * Retrieves a list with the public post types. * * @return array The post types. */ protected function get_post_types() { /** * Filter: Gives the possibility to filter out post types. * * @param array $post_types The post type names. * * @return array The post types. */ $post_types = \apply_filters( 'wpseo_post_types_reset_permalinks', $this->post_type->get_public_post_types() ); return $post_types; } /** * Retrieves the taxonomies that belongs to the public post types. * * @param array $post_types The post types to get taxonomies for. * * @return array The retrieved taxonomies. */ protected function get_taxonomies_for_post_types( $post_types ) { $taxonomies = []; foreach ( $post_types as $post_type ) { $taxonomies[] = \get_object_taxonomies( $post_type, 'names' ); } $taxonomies = \array_merge( [], ...$taxonomies ); $taxonomies = \array_unique( $taxonomies ); return $taxonomies; } /** * Schedules the WP-Cron job to check the permalink_structure status. * * @return void */ protected function schedule_cron() { if ( \wp_next_scheduled( 'wpseo_permalink_structure_check' ) ) { return; } \wp_schedule_event( \time(), 'daily', 'wpseo_permalink_structure_check' ); } /** * Unschedules the WP-Cron job to check the permalink_structure status. * * @return void */ public function unschedule_cron() { if ( ! \wp_next_scheduled( 'wpseo_permalink_structure_check' ) ) { return; } \wp_clear_scheduled_hook( 'wpseo_permalink_structure_check' ); } }