Skip to content

Commit

Permalink
Merge pull request #2345 from the-events-calendar/tweak/help_hub_changes
Browse files Browse the repository at this point in the history
Help Hub FF CR changes.
  • Loading branch information
redscar authored Jan 9, 2025
2 parents 28237f7 + 8eed041 commit 78bd5a6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/Common/Admin/Help_Hub/Hub.php
Original file line number Diff line number Diff line change
Expand Up @@ -447,15 +447,15 @@ public function enqueue_help_page_iframe_assets(): void {
Tribe__Main::instance(),
'tec-help-hub-iframe-style',
'help-hub-iframe.css',
null,
[],
[],
);

tribe_asset(
Tribe__Main::instance(),
'tec-help-hub-iframe-js',
'admin/help-hub-iframe.js',
null,
[],
[],
[
'localize' => [
Expand Down
2 changes: 0 additions & 2 deletions src/Tribe/PUE/Checker.php
Original file line number Diff line number Diff line change
Expand Up @@ -329,9 +329,7 @@ protected static function update_any_license_valid_transient( string $plugin_slu
*/
public static function is_any_license_valid(): bool {
$transient_value = get_transient( self::IS_ANY_LICENSE_VALID_TRANSIENT_KEY );
$transient_value = false !== $transient_value ? $transient_value : [];

// If the transient value is a string, convert it to an empty array.
if ( ! is_array( $transient_value ) ) {
$transient_value = [];
}
Expand Down

0 comments on commit 78bd5a6

Please sign in to comment.