Changeset 2721068
- Timestamp:
- 05/10/2022 08:44:24 AM (4 years ago)
- Location:
- pyplugger-for-pyscript
- Files:
-
- 2 edited
-
tags/1.0/PyPluggerForPyScript.php (modified) (1 diff)
-
trunk/PyPluggerForPyScript.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
pyplugger-for-pyscript/tags/1.0/PyPluggerForPyScript.php
r2720913 r2721068 12 12 * License URI: https://www.gnu.org/licenses/gpl-2.0.html 13 13 */ 14 wp_register_script('pyPlugger-Script-ID', 'https://pyscript.net/alpha/pyscript.js', array(), null, true);15 14 16 wp_register_style('pPlugger-Style-ID', 'https://pyscript.net/alpha/pyscript.css', array(), null); 15 function pyPluggerFix_1_0() { 16 wp_enqueue_script('pyPlugger-Script-ID', 'https://pyscript.net/alpha/pyscript.js', array(), null, true); 17 17 18 wp_enqueue_script('pyPlugger-Script-ID', 'https://pyscript.net/alpha/pyscript.js', array(), null, true);18 wp_enqueue_style('pPlugger-Style-ID', 'https://pyscript.net/alpha/pyscript.css', array(), null); 19 19 20 wp_enqueue_style('pPlugger-Style-ID', 'https://pyscript.net/alpha/pyscript.css', array(), null); 20 } 21 21 22 add_action( 'wp_enqueue_scripts', 'pyPluggerFix_1_0' ); 22 23 add_filter('run_wptexturize', '__return_false'); 23 24 -
pyplugger-for-pyscript/trunk/PyPluggerForPyScript.php
r2720914 r2721068 12 12 * License URI: https://www.gnu.org/licenses/gpl-2.0.html 13 13 */ 14 wp_register_script('pyPlugger-Script-ID', 'https://pyscript.net/alpha/pyscript.js', array(), null, true);15 14 16 wp_register_style('pPlugger-Style-ID', 'https://pyscript.net/alpha/pyscript.css', array(), null); 15 function pyPluggerFix_1_0() { 16 wp_enqueue_script('pyPlugger-Script-ID', 'https://pyscript.net/alpha/pyscript.js', array(), null, true); 17 17 18 wp_enqueue_script('pyPlugger-Script-ID', 'https://pyscript.net/alpha/pyscript.js', array(), null, true);18 wp_enqueue_style('pPlugger-Style-ID', 'https://pyscript.net/alpha/pyscript.css', array(), null); 19 19 20 wp_enqueue_style('pPlugger-Style-ID', 'https://pyscript.net/alpha/pyscript.css', array(), null); 20 } 21 21 22 add_action( 'wp_enqueue_scripts', 'pyPluggerFix_1_0' ); 22 23 add_filter('run_wptexturize', '__return_false'); 23 24
Note: See TracChangeset
for help on using the changeset viewer.