Skip to content

Commit

Permalink
Switch to helper function
Browse files Browse the repository at this point in the history
  • Loading branch information
sixhours committed Jul 30, 2024
1 parent eb39a97 commit 8acc39d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ function aiowp_migration_logging_helper() {
return;
}

$target_blog_id = class_exists( 'Jetpack_Options' ) ? Jetpack_Options::get_option( 'id' ) : null;
$target_blog_id = _wpcom_get_current_blog_id();

Check warning on line 70 in projects/plugins/wpcomsh/wpcom-migration-helpers/site-migration-helpers.php

View workflow job for this annotation

GitHub Actions / PHP Code Sniffer (non-excluded files only)

Unused variable $target_blog_id. (VariableAnalysis.CodeAnalysis.VariableAnalysis.UnusedVariable)

// Filter that gets called when import starts
add_filter(
Expand Down

0 comments on commit 8acc39d

Please sign in to comment.