Skip to content

Commit 1a1a788

Browse files
committed
fix: render id
1 parent c99da45 commit 1a1a788

File tree

3 files changed

+5
-3
lines changed

3 files changed

+5
-3
lines changed

inc/class/admin/class-cpt.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@ public function add_metabox( string $post_type ): void {
191191
*/
192192
public function render_meta_box(): void {
193193
// phpcs:ignore
194-
echo '<div id="' . Base::APP2_SELECTOR . '"></div>';
194+
echo '<div id="my_app_metabox"></div>';
195195
}
196196

197197

inc/class/front-end/class-entry.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ public function __construct() {
2626
*/
2727
public function render_app(): void {
2828
// phpcs:ignore
29-
echo '<div id="' . Base::APP1_SELECTOR . '"></div>';
29+
echo '<div id="my_app"></div>';
3030
}
3131
}
3232

replace-string.cjs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,8 @@ function replaceString(str) {
5858
files: [
5959
'./plugin.php',
6060
'./inc/class/utils/class-base.php',
61+
'./inc/class/admin/class-cpt.php',
62+
'./inc/class/front-end/class-entry.php',
6163
'./inc/templates/test.php',
6264
'./js/src/utils/env.tsx',
6365
],
@@ -125,7 +127,7 @@ function replaceString(str) {
125127
},
126128
{
127129
from: 'https://github.com/j7-dev',
128-
to: 'Author URL',
130+
to: '[YOUR GITHUB URL]',
129131
},
130132
]
131133

0 commit comments

Comments
 (0)