Skip to content

Commit

Permalink
Merge 3db618f into a1acabb
Browse files Browse the repository at this point in the history
  • Loading branch information
arunshenoy99 authored Aug 16, 2024
2 parents a1acabb + 3db618f commit 72528d0
Showing 1 changed file with 0 additions and 19 deletions.
19 changes: 0 additions & 19 deletions bootstrap.php
Original file line number Diff line number Diff line change
Expand Up @@ -203,22 +203,3 @@ function () {

// Instantiate the Features singleton
Features::getInstance();

/**
* Temporary hook to filter the capabilities in case they are empty
* This is to fix an issue where the migration value is not found on new sites
* Temporary fix to keep things working while we determing the root cause
*/
add_filter(
'transient_nfd_site_capabilities',
function ( $transient ) {
if ( empty( $transient ) ) {
return array(
'canMigrateSite' => true,
);
}
return $transient;
},
10,
2
);

0 comments on commit 72528d0

Please sign in to comment.