Skip to content

Commit 31f61a0

Browse files
fix class name blanket replace
1 parent 7b31550 commit 31f61a0

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

includes/Extension/SearchReplace/class-replace.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ public function add_replace_response_template() {
4343
*/
4444
public function maybe_enqueue_assets( $hook ) {
4545
// Break out early if we are not on a String Locator page
46-
if ( 'tools-page-string-locator' !== $hook && 'toplevel_page_string-locator' !== $hook ) {
46+
if ( 'tools_page_string-locator' !== $hook && 'toplevel_page_string-locator' !== $hook ) {
4747
return;
4848
}
4949

includes/class-string-locator.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -430,7 +430,7 @@ public static function absbool( $value ) {
430430
*/
431431
function admin_enqueue_scripts( $hook ) {
432432
// Break out early if we are not on a String Locator page
433-
if ( 'tools-page-string-locator' !== $hook && 'toplevel_page_string-locator' !== $hook ) {
433+
if ( 'tools_page_string-locator' !== $hook && 'toplevel_page_string-locator' !== $hook ) {
434434
return;
435435
}
436436

0 commit comments

Comments
 (0)