From b987a2b79e124e52512b251c4092692be42e4646 Mon Sep 17 00:00:00 2001 From: "Soare Robert Daniel (Mac 2023)" Date: Wed, 22 May 2024 17:02:28 +0300 Subject: [PATCH] fix: processing order --- includes/admin/feedzy-rss-feeds-import.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/includes/admin/feedzy-rss-feeds-import.php b/includes/admin/feedzy-rss-feeds-import.php index 44828bc0..68c30c22 100644 --- a/includes/admin/feedzy-rss-feeds-import.php +++ b/includes/admin/feedzy-rss-feeds-import.php @@ -1448,14 +1448,14 @@ private function run_job( $job, $max ) { $import_title ); + // Run all the actions stored for the embedded/serialized tags in the title field. + $title_action = $this->get_actions_runner( $post_title, 'item_title' ); + $post_title = $title_action->run_action_job( $title_action->get_serialized_actions(), $translated_title, $job, $language_code, $item ); + if ( $this->feedzy_is_business() ) { $post_title = apply_filters( 'feedzy_parse_custom_tags', $post_title, $item_obj ); } - $title_action = $this->get_actions_runner( $post_title, 'item_title' ); - $post_title = $title_action->get_serialized_actions(); - $post_title = $title_action->run_action_job( $post_title, $translated_title, $job, $language_code, $item ); - $post_title = apply_filters( 'feedzy_invoke_services', $post_title, 'title', $item['item_title'], $job ); // Get translated item link text.