Skip to content

Commit

Permalink
Merge pull request #26 from crodriguezbrito/fix/PRESS10-12
Browse files Browse the repository at this point in the history
Prevent str_starts_with deprecated notice
  • Loading branch information
circlecube authored Oct 25, 2024
2 parents 22a63b8 + 5cd00dc commit abd79dc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions includes/Runtime.php
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ public function prepareRuntime() {
'isYithBookingActive' => is_plugin_active( 'yith-woocommerce-booking-extended/init.php' ) || is_plugin_active( 'yith-woocommerce-booking-premium/init.php' ) || is_plugin_active( 'yith-woocommerce-booking/init.php' ),
'isJetpackBoostActive' => is_plugin_active( 'jetpack-boost/jetpack-boost.php' ),
'wpVersion' => $wp_version,
'currentTheme' => wp_get_theme()->get('TextDomain'),
'currentTheme' => wp_get_theme()->get( 'TextDomain' ),
)
);
}
Expand All @@ -73,7 +73,7 @@ public function register_runtime() {
global $wp_version;
\wp_register_script(
'nfd-runtime',
null,
false,
null,
$wp_version
);
Expand Down

0 comments on commit abd79dc

Please sign in to comment.