Skip to content

Commit

Permalink
Fix/get option fatal error (#36939)
Browse files Browse the repository at this point in the history
* Replaced get_blog_option by get_option

* changelog
  • Loading branch information
nelsonec87 authored Apr 17, 2024
1 parent fe3548a commit 07a0b45
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
Significance: patch
Type: fixed
Comment: Simple function change


Original file line number Diff line number Diff line change
Expand Up @@ -750,7 +750,7 @@ function wpcom_launchpad_is_site_launched( $task, $is_complete ) {
return true;
}

$launch_status = get_blog_option( get_current_blog_id(), 'launch-status' );
$launch_status = get_option( 'launch-status' );

if ( 'launched' === $launch_status ) {
wpcom_mark_launchpad_task_complete( 'site_launched' );
Expand Down

0 comments on commit 07a0b45

Please sign in to comment.