← All changes
|
includes/admin/shortcodes/class-shortcode-button.php
+3
-3
2.30.0
→
4.16.9
View file →
| @@ -93,9 +93,9 @@ | ||
| 93 | 93 | $direction = ( is_rtl() || isset( $_GET['d'] ) && 'rtl' === $_GET['d'] ) ? '.rtl' : ''; |
| 94 | 94 | |
| 95 | 95 | wp_enqueue_script( |
| 96 | 96 | 'give_shortcode', |
| 97 | - GIVE_PLUGIN_URL . 'assets/dist/js/admin-shortcodes.js', | |
| 97 | + GIVE_PLUGIN_URL . 'build/assets/dist/js/admin-shortcodes.js', | |
| 98 | 98 | array( 'jquery' ), |
| 99 | 99 | GIVE_VERSION, |
| 100 | 100 | true |
| 101 | 101 | ); |
| @@ -101,9 +101,9 @@ | ||
| 101 | 101 | ); |
| 102 | 102 | |
| 103 | 103 | wp_enqueue_style( |
| 104 | 104 | 'give-admin-shortcode-button-style', |
| 105 | - GIVE_PLUGIN_URL . 'assets/dist/css/admin-shortcode-button' . $direction . '.css', | |
| 105 | + GIVE_PLUGIN_URL . 'build/assets/dist/css/admin-shortcode-button' . $direction . '.css', | |
| 106 | 106 | array(), |
| 107 | 107 | GIVE_VERSION |
| 108 | 108 | ); |
| 109 | 109 | } |
| @@ -163,9 +163,9 @@ | ||
| 163 | 163 | if ( ! empty( $shortcodes ) ) { |
| 164 | 164 | |
| 165 | 165 | // check current WP version |
| 166 | 166 | $img = ( version_compare( get_bloginfo( 'version' ), '3.5', '<' ) ) |
| 167 | - ? '<img src="' . GIVE_PLUGIN_URL . 'assets/dist/images/give-media.png" />' | |
| 167 | + ? '<img src="' . GIVE_PLUGIN_URL . 'build/assets/dist/images/give-media.png" />' | |
| 168 | 168 | : '<span class="wp-media-buttons-icon" id="give-media-button" style="background-image: url(' . give_svg_icons( 'give_grey' ) . ');"></span>'; |
| 169 | 169 | |
| 170 | 170 | reset( $shortcodes ); |
| 171 | 171 | |