Skip to content

Commit bf1f030

Browse files
committed
REDUX_PLUGIN_FILE failed with embedded installed. WE NO LONGER SUPPORT EMBEDDED. IT'S FOR LEGACY INSTALLS ONLY.
1 parent 29d3fbb commit bf1f030

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

sample/sections/extensions/js-button.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@
2222
'subtitle' => esc_html__( 'Run javascript in the options panel from button clicks.', 'your-textdomain-here' ),
2323
'desc' => esc_html__( 'Click the Add Date button to add the current date into the text field below.', 'your-textdomain-here' ),
2424
'script' => array(
25-
'url' => plugins_url( 'sample/sections/extensions/js-button.js', REDUX_PLUGIN_FILE ),
26-
'dir' => dirname( __FILE__ ) . '/js-button.js',
25+
'url' => plugins_url( '/extensions/js-button.js', __DIR__ ),
26+
'dir' => __DIR__ . '/js-button.js',
2727
'dep' => array( 'jquery' ),
2828
'ver' => time(),
2929
'in_footer' => true,

0 commit comments

Comments
 (0)