Skip to content

Commit

Permalink
feat: SELECTOR modify
Browse files Browse the repository at this point in the history
  • Loading branch information
j7-dev committed May 12, 2024
1 parent 407f995 commit ca2cf80
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions inc/class/class-bootstrap.php
Original file line number Diff line number Diff line change
Expand Up @@ -86,8 +86,8 @@ public function enqueue_script(): void {
'KEBAB' => Plugin::KEBAB,
'SNAKE' => Plugin::SNAKE,
'BASE_URL' => Base::BASE_URL,
'APP1_SELECTOR' => '#' . Base::APP1_SELECTOR,
'APP2_SELECTOR' => '#' . Base::APP2_SELECTOR,
'APP1_SELECTOR' => Base::APP1_SELECTOR,
'APP2_SELECTOR' => Base::APP2_SELECTOR,
'API_TIMEOUT' => Base::API_TIMEOUT,
'nonce' => \wp_create_nonce( Plugin::KEBAB ),
),
Expand Down
4 changes: 2 additions & 2 deletions inc/class/utils/class-base.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@
*/
abstract class Base {
const BASE_URL = '/';
const APP1_SELECTOR = 'my_app';
const APP2_SELECTOR = 'my_app_metabox';
const APP1_SELECTOR = '#my_app';
const APP2_SELECTOR = '#my_app_metabox';
const API_TIMEOUT = '30000';
const DEFAULT_IMAGE = 'http://1.gravatar.com/avatar/1c39955b5fe5ae1bf51a77642f052848?s=96&d=mm&r=g';

Expand Down
2 changes: 1 addition & 1 deletion plugin.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
* Author URI: https://github.com/j7-dev
* License: GPL v2 or later
* License URI: https://www.gnu.org/licenses/gpl-2.0.html
* Text Domain: wp-react-plugin
* Text Domain: wp_react_plugin
* Domain Path: /languages
* Tags: vite, react, tailwind, typescript, react-query, scss, WordPress, WordPress plugin
*/
Expand Down

0 comments on commit ca2cf80

Please sign in to comment.