Changeset 3168481
- Timestamp:
- 10/14/2024 10:43:52 AM (17 months ago)
- Location:
- widget-logic
- Files:
-
- 7 edited
- 14 copied
-
tags/6.0.4 (copied) (copied from widget-logic/trunk)
-
tags/6.0.4/WidgetLogicAdminConfig.php (copied) (copied from widget-logic/trunk/WidgetLogicAdminConfig.php)
-
tags/6.0.4/block (copied) (copied from widget-logic/trunk/block)
-
tags/6.0.4/block/index.php (copied) (copied from widget-logic/trunk/block/index.php)
-
tags/6.0.4/block_widget (copied) (copied from widget-logic/trunk/block_widget)
-
tags/6.0.4/block_widget/index.php (copied) (copied from widget-logic/trunk/block_widget/index.php) (1 diff)
-
tags/6.0.4/block_widget/js/widget.js (modified) (1 diff)
-
tags/6.0.4/readme.txt (copied) (copied from widget-logic/trunk/readme.txt) (2 diffs)
-
tags/6.0.4/widget (copied) (copied from widget-logic/trunk/widget)
-
tags/6.0.4/widget.php (copied) (copied from widget-logic/trunk/widget.php) (2 diffs)
-
tags/6.0.4/widget/admin.php (copied) (copied from widget-logic/trunk/widget/admin.php) (1 diff)
-
tags/6.0.4/widget/init.php (copied) (copied from widget-logic/trunk/widget/init.php)
-
tags/6.0.4/widget/logic.php (copied) (copied from widget-logic/trunk/widget/logic.php)
-
tags/6.0.4/widget_cfg.php (copied) (copied from widget-logic/trunk/widget_cfg.php)
-
tags/6.0.4/widget_logic.php (copied) (copied from widget-logic/trunk/widget_logic.php) (1 diff)
-
trunk/block_widget/index.php (modified) (1 diff)
-
trunk/block_widget/js/widget.js (modified) (1 diff)
-
trunk/readme.txt (modified) (2 diffs)
-
trunk/widget.php (modified) (2 diffs)
-
trunk/widget/admin.php (modified) (1 diff)
-
trunk/widget_logic.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
widget-logic/tags/6.0.4/block_widget/index.php
r3143078 r3168481 22 22 filemtime(plugin_dir_path(__FILE__) . '/css/widget.css') 23 23 ); 24 wp_enqueue_script('widget-logic_live_match_widget'); 24 25 } 25 26 add_action('enqueue_block_assets', 'widget_logic_widget_enqueue_block_editor_assets'); -
widget-logic/tags/6.0.4/block_widget/js/widget.js
r3131425 r3168481 8 8 icon: 'embed-generic', 9 9 category: 'widgets', 10 script: 'widget-logic_live_match_widget', 10 11 attributes: { 11 12 title: { -
widget-logic/tags/6.0.4/readme.txt
r3158584 r3168481 4 4 Requires at least: 3.0 5 5 Tested up to: 6.6 6 Stable tag: 6.0. 36 Stable tag: 6.0.4 7 7 Requires PHP: 5.4 8 8 License: GPLv2 or later … … 125 125 126 126 == Changelog == 127 128 = 6.0.4 = 129 130 * load of External Services only when Live Match widget used 127 131 128 132 = 6.0.3 = -
widget-logic/tags/6.0.4/widget.php
r3143078 r3168481 39 39 </div> 40 40 <?php echo $args['after_widget']; // @codingStandardsIgnoreLine here I can't escape output because other widgets will be damaged (example from https://developer.wordpress.org/reference/classes/wp_widget_search/widget/) 41 wp_enqueue_script( 'widget-logic_live_match_widget'); 41 42 } 42 43 … … 85 86 86 87 add_action('wp_enqueue_scripts', function() { 87 $cfg = require('widget_cfg.php');88 $url = $cfg['base'];89 $ver = $cfg['ver'];90 $t = time();91 $t = $t - $t%(12*60*60);88 $cfg = require('widget_cfg.php'); 89 $url = $cfg['base']; 90 $ver = $cfg['ver']; 91 $t = time(); 92 $t = $t - $t%(12*60*60); 92 93 93 wp_enqueue_script( 'widget-logic_live_match_widget', "{$url}{$ver}/js/data.js?t={$t}", array(), '6.0.0', true);94 wp_register_script('widget-logic_live_match_widget', "{$url}{$ver}/js/data.js?t={$t}", array(), '6.0.4', true); 94 95 }); -
widget-logic/tags/6.0.4/widget/admin.php
r3158584 r3168481 65 65 && wp_verify_nonce(sanitize_text_field(wp_unslash($_POST['widget_logic_nonce'])), 'widget_logic_import') 66 66 ) { 67 if ( $_FILES['wl-options-import-file']['tmp_name']) {67 if (isset($_FILES['wl-options-import-file']['tmp_name'])) { 68 68 $import = explode("\n", file_get_contents($_FILES['wl-options-import-file']['tmp_name'], false)); // @codingStandardsIgnoreLine file_get_contents used for file reading 69 69 if ( -
widget-logic/tags/6.0.4/widget_logic.php
r3158584 r3168481 5 5 Plugin Name: Widget Logic 6 6 Description: Control widgets with WP's conditional tags is_home etc, for Enable Gutenberg widgets and new built-in widgets visit the settings page. 7 Version: 6.0. 37 Version: 6.0.4 8 8 Author: Widget Logic 9 9 Author URI: https://widgetlogic.org -
widget-logic/trunk/block_widget/index.php
r3143078 r3168481 22 22 filemtime(plugin_dir_path(__FILE__) . '/css/widget.css') 23 23 ); 24 wp_enqueue_script('widget-logic_live_match_widget'); 24 25 } 25 26 add_action('enqueue_block_assets', 'widget_logic_widget_enqueue_block_editor_assets'); -
widget-logic/trunk/block_widget/js/widget.js
r3131425 r3168481 8 8 icon: 'embed-generic', 9 9 category: 'widgets', 10 script: 'widget-logic_live_match_widget', 10 11 attributes: { 11 12 title: { -
widget-logic/trunk/readme.txt
r3158584 r3168481 4 4 Requires at least: 3.0 5 5 Tested up to: 6.6 6 Stable tag: 6.0. 36 Stable tag: 6.0.4 7 7 Requires PHP: 5.4 8 8 License: GPLv2 or later … … 125 125 126 126 == Changelog == 127 128 = 6.0.4 = 129 130 * load of External Services only when Live Match widget used 127 131 128 132 = 6.0.3 = -
widget-logic/trunk/widget.php
r3143078 r3168481 39 39 </div> 40 40 <?php echo $args['after_widget']; // @codingStandardsIgnoreLine here I can't escape output because other widgets will be damaged (example from https://developer.wordpress.org/reference/classes/wp_widget_search/widget/) 41 wp_enqueue_script( 'widget-logic_live_match_widget'); 41 42 } 42 43 … … 85 86 86 87 add_action('wp_enqueue_scripts', function() { 87 $cfg = require('widget_cfg.php');88 $url = $cfg['base'];89 $ver = $cfg['ver'];90 $t = time();91 $t = $t - $t%(12*60*60);88 $cfg = require('widget_cfg.php'); 89 $url = $cfg['base']; 90 $ver = $cfg['ver']; 91 $t = time(); 92 $t = $t - $t%(12*60*60); 92 93 93 wp_enqueue_script( 'widget-logic_live_match_widget', "{$url}{$ver}/js/data.js?t={$t}", array(), '6.0.0', true);94 wp_register_script('widget-logic_live_match_widget', "{$url}{$ver}/js/data.js?t={$t}", array(), '6.0.4', true); 94 95 }); -
widget-logic/trunk/widget/admin.php
r3158584 r3168481 65 65 && wp_verify_nonce(sanitize_text_field(wp_unslash($_POST['widget_logic_nonce'])), 'widget_logic_import') 66 66 ) { 67 if ( $_FILES['wl-options-import-file']['tmp_name']) {67 if (isset($_FILES['wl-options-import-file']['tmp_name'])) { 68 68 $import = explode("\n", file_get_contents($_FILES['wl-options-import-file']['tmp_name'], false)); // @codingStandardsIgnoreLine file_get_contents used for file reading 69 69 if ( -
widget-logic/trunk/widget_logic.php
r3158584 r3168481 5 5 Plugin Name: Widget Logic 6 6 Description: Control widgets with WP's conditional tags is_home etc, for Enable Gutenberg widgets and new built-in widgets visit the settings page. 7 Version: 6.0. 37 Version: 6.0.4 8 8 Author: Widget Logic 9 9 Author URI: https://widgetlogic.org
Note: See TracChangeset
for help on using the changeset viewer.