Skip to content

Commit ca2cf80

Browse files
committed
feat: SELECTOR modify
1 parent 407f995 commit ca2cf80

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

inc/class/class-bootstrap.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -86,8 +86,8 @@ public function enqueue_script(): void {
8686
'KEBAB' => Plugin::KEBAB,
8787
'SNAKE' => Plugin::SNAKE,
8888
'BASE_URL' => Base::BASE_URL,
89-
'APP1_SELECTOR' => '#' . Base::APP1_SELECTOR,
90-
'APP2_SELECTOR' => '#' . Base::APP2_SELECTOR,
89+
'APP1_SELECTOR' => Base::APP1_SELECTOR,
90+
'APP2_SELECTOR' => Base::APP2_SELECTOR,
9191
'API_TIMEOUT' => Base::API_TIMEOUT,
9292
'nonce' => \wp_create_nonce( Plugin::KEBAB ),
9393
),

inc/class/utils/class-base.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@
1212
*/
1313
abstract class Base {
1414
const BASE_URL = '/';
15-
const APP1_SELECTOR = 'my_app';
16-
const APP2_SELECTOR = 'my_app_metabox';
15+
const APP1_SELECTOR = '#my_app';
16+
const APP2_SELECTOR = '#my_app_metabox';
1717
const API_TIMEOUT = '30000';
1818
const DEFAULT_IMAGE = 'http://1.gravatar.com/avatar/1c39955b5fe5ae1bf51a77642f052848?s=96&d=mm&r=g';
1919

plugin.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
* Author URI: https://github.com/j7-dev
1111
* License: GPL v2 or later
1212
* License URI: https://www.gnu.org/licenses/gpl-2.0.html
13-
* Text Domain: wp-react-plugin
13+
* Text Domain: wp_react_plugin
1414
* Domain Path: /languages
1515
* Tags: vite, react, tailwind, typescript, react-query, scss, WordPress, WordPress plugin
1616
*/

0 commit comments

Comments
 (0)