File tree Expand file tree Collapse file tree 1 file changed +2
-7
lines changed Expand file tree Collapse file tree 1 file changed +2
-7
lines changed Original file line number Diff line number Diff line change @@ -35,13 +35,8 @@ public function wp_redirect( $location ): string {
35
35
*/
36
36
// Check if the current brand is set and is an array.
37
37
if (
38
- isset ( $ runtime_data ['currentBrand ' ] ) &&
39
- is_array ( $ runtime_data ['currentBrand ' ] )
40
- ) {
41
- // Check if the pluginDashboardPage key is set and is a string.
42
- if (
43
- isset ( $ runtime_data ['currentBrand ' ]['pluginDashboardPage ' ] ) &&
44
- is_string ( $ runtime_data ['currentBrand ' ]['pluginDashboardPage ' ] )
38
+ isset ( $ runtime_data ['currentBrand ' ], $ runtime_data ['currentBrand ' ]['pluginDashboardPage ' ] ) &&
39
+ is_string ( $ runtime_data ['currentBrand ' ]['pluginDashboardPage ' ] )
45
40
) {
46
41
// Set the brand plugin page URL.
47
42
$ brand_plugin_url = $ runtime_data ['currentBrand ' ]['pluginDashboardPage ' ];
You can’t perform that action at this time.
0 commit comments