| @@ -241,9 +241,9 @@ | ||
| 241 | 241 | if ( $pagenow == 'post-new.php' || $pagenow == 'post.php' || $pagenow == 'site-editor.php' ) { |
| 242 | 242 | return true; |
| 243 | 243 | } |
| 244 | 244 | |
| 245 | - if ( $pagenow == 'themes.php' && ! empty( $param ) && str_contains( $param, 'gutenberg-edit-site' ) ) { | |
| 245 | + if ( $pagenow == 'themes.php' && ! empty( $param ) && false !== strpos( $param, 'gutenberg-edit-site' ) ) { | |
| 246 | 246 | return true; |
| 247 | 247 | } |
| 248 | 248 | |
| 249 | 249 | return false; |