Skip to content

Commit

Permalink
fix: processing order
Browse files Browse the repository at this point in the history
  • Loading branch information
Soare-Robert-Daniel committed May 22, 2024
1 parent d634dbb commit b987a2b
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions includes/admin/feedzy-rss-feeds-import.php
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit b987a2b

Please sign in to comment.