Changeset 3359038
- Timestamp:
- 09/10/2025 08:41:08 AM (7 months ago)
- Location:
- editorheadlinejump/trunk
- Files:
-
- 6 added
- 6 deleted
- 3 edited
-
js/5.6/mch_ehj.js (deleted)
-
js/5.6/mch_ehj.min.js (added)
-
js/5.6/mch_ehj_com.js (deleted)
-
js/5.6/mch_ehj_com.min.js (added)
-
js/5.6/mch_ehj_gg.js (deleted)
-
js/mch_ehj.js (deleted)
-
js/mch_ehj_com.js (deleted)
-
js/mch_ehj_gg.js (deleted)
-
js/old (added)
-
js/old/mch_ehj.min.js (added)
-
js/old/mch_ehj_com.min.js (added)
-
js/old/mch_ehj_gg.min.js (added)
-
mch-editor-headline-jump.php (modified) (2 diffs)
-
mch_ehj_main.php (modified) (7 diffs)
-
readme.txt (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
editorheadlinejump/trunk/mch-editor-headline-jump.php
r2472803 r3359038 4 4 Description: Add a heading list to the post edit screen. Click on the heading to move to the edit position. 5 5 Author: macha795 6 Version: 0.0. 66 Version: 0.0.7 7 7 */ 8 8 … … 22 22 if ( function_exists( 'add_action' ) && class_exists('Mch_Editor_Headline_Jump') ) { 23 23 add_action( 'plugins_loaded', array('Mch_Editor_Headline_Jump', 'get_object' ) ); 24 add_action( 'plugins_loaded', ['Mch_Editor_Headline_Jump', 'myplugin_load_textdomain']);24 add_action( 'plugins_loaded', array('Mch_Editor_Headline_Jump', 'myplugin_load_textdomain') ); 25 25 } 26 26 -
editorheadlinejump/trunk/mch_ehj_main.php
r2472784 r3359038 42 42 public static function get_object() { 43 43 static $instance = null; 44 if ( NULL=== $instance ) {44 if ( null === $instance ) { 45 45 $instance = new self(); 46 46 } … … 110 110 111 111 112 private $_test = '';113 114 112 function my_admin_print_styles() { 115 113 if( !$this->isEditorPage() ){ … … 134 132 foreach ($strList as $key => $str){ 135 133 ?> 136 _mchEhjStr['<?php echo $key ?>'] = '<?php echo $str?>';134 _mchEhjStr['<?php echo esc_js($key) ?>'] = '<?php echo esc_js($str) ?>'; 137 135 <?php 138 136 } … … 156 154 wp_enqueue_script( 157 155 'my-admin-script_com', 158 plugin_dir_url( __FILE__ ). '/js/'.$wpVerDir."/{$miniStr}mch_ehj_com. js"156 plugin_dir_url( __FILE__ ). '/js/'.$wpVerDir."/{$miniStr}mch_ehj_com.min.js" 159 157 , array( 'jquery') 160 158 , null … … 162 160 wp_enqueue_script( 163 161 'my-admin-script', 164 plugin_dir_url( __FILE__ ). '/js/'.$wpVerDir."/{$miniStr}mch_ehj. js"162 plugin_dir_url( __FILE__ ). '/js/'.$wpVerDir."/{$miniStr}mch_ehj.min.js" 165 163 , array( 'jquery') 166 164 , null … … 171 169 'my-admin-script_com', 172 170 // plugin_dir_url( __FILE__ ). '/js/mch_ehj_com'.$miniStr.'.js' 173 plugin_dir_url( __FILE__ ). '/js/ mch_ehj_com.js'171 plugin_dir_url( __FILE__ ). '/js/old/mch_ehj_com.min.js' 174 172 , array( 'jquery') 175 173 , null … … 178 176 'my-admin-script', 179 177 // plugin_dir_url( __FILE__ ). '/js/mch_ehj'.$miniStr.'.js' 180 plugin_dir_url( __FILE__ ). '/js/ mch_ehj.js'178 plugin_dir_url( __FILE__ ). '/js/old/mch_ehj.min.js' 181 179 , array( 'jquery') 182 180 , null -
editorheadlinejump/trunk/readme.txt
r2472803 r3359038 3 3 Tags: editor, headline, ClassicEditor, editor headline, jump 4 4 Requires at least: 4.9 5 Tested up to: 5.66 Stable tag: 0.0. 65 Tested up to: 6.8 6 Stable tag: 0.0.7 7 7 License: GPLv2 or later 8 8 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 19 19 20 20 Only ClassicEditor is supported. Gutenberg is not supported yet. 21 22 21 23 22 … … 49 48 == Changelog == 50 49 50 51 = 0.0.7 = 52 * WordPress 6.8 compatibility 53 * Updated compatibility information 54 51 55 = 0.0.5 = 52 56 bug fix
Note: See TracChangeset
for help on using the changeset viewer.