Changeset 2606762
- Timestamp:
- 09/29/2021 12:49:10 PM (4 years ago)
- Location:
- mediamatic/trunk
- Files:
-
- 3 edited
-
inc/sidebar.php (modified) (3 diffs)
-
mediamatic.php (modified) (2 diffs)
-
readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
mediamatic/trunk/inc/sidebar.php
r2466937 r2606762 103 103 $attachmentTerms = preg_replace( array( "/<select([^>]*)>/", "/<\/select>/" ), "", $attachmentTerms ); 104 104 105 $script = ''; 106 $script .= '<script type="text/javascript">'; 107 $script .= '/* <![CDATA[ */'; 108 $script .= 'var mediamaticFolders = [{"folderID":"all","folderName":"'. $allFilesText .'"}, {"folderID":"-1","folderName":"'. $uncategorizedText .'"},' . substr($attachmentTerms, 2) . '];'; 109 $script .= '/* ]]> */'; 110 $script .= '</script>'; 111 112 echo $script; 105 wp_register_script( 'inline-script-handle-header', '' ); 106 wp_enqueue_script( 'inline-script-handle-header' ); 107 wp_add_inline_script( 'inline-script-handle-header', '/* <![CDATA[ */ var mediamaticFolders = [{"folderID":"all","folderName":"'. esc_html($allFilesText) .'"}, {"folderID":"-1","folderName":"'. esc_html($uncategorizedText) .'"},' . wp_kses_post(substr($attachmentTerms, 2)) . ']; /* ]]> */' ); 113 108 114 109 … … 248 243 249 244 250 echo $output;245 echo wp_kses_post($output); 251 246 } 252 247 … … 289 284 290 285 // echo result 291 echo $output;286 echo wp_kses_post($output); 292 287 } 293 288 -
mediamatic/trunk/mediamatic.php
r2465964 r2606762 4 4 * Plugin URI: https://mediamatic.frenify.com/1/ 5 5 * Description: Get organized with thousands of images. Organize media into folders. 6 * Version: 2. 56 * Version: 2.6 7 7 * Author: plugincraft 8 8 * Author URI: https://mediamatic.frenify.com/1/ … … 18 18 define( 'MEDIAMATIC__FILE__', __FILE__ ); 19 19 define( 'MEDIAMATIC_FOLDER', 'mediamatic_wpfolder' ); 20 define( 'MEDIAMATIC_VERSION', '2. 5' );20 define( 'MEDIAMATIC_VERSION', '2.6' ); 21 21 define( 'MEDIAMATIC_PATH', plugin_dir_path( MEDIAMATIC__FILE__ ) ); 22 22 define( 'MEDIAMATIC_URL', plugins_url( '/', MEDIAMATIC__FILE__ ) ); -
mediamatic/trunk/readme.txt
r2478070 r2606762 6 6 Tags: media library folders, media library categories, media library folder, media library category, media folders, media category, subfolders, file manager, directories, folder, folders, organize 7 7 Requires at least: 4.0.0 8 Tested up to: 5. 68 Tested up to: 5.8 9 9 10 10 Organize thousands of WordPress media files into folders/categories easily using drag&drop interface. … … 87 87 == Changelog == 88 88 89 = 2.6 - September 29, 2021 = 90 - Fixed: All inputs/outputs are sanitized and escaped properly. 91 92 = 2.5 - February 02, 2021 = 93 - Changed: Limit is removed from folders count 94 89 95 = 2.4 - October 04, 2020 = 90 96 - Fixed: Compability issues with wordpress 5.5.1
Note: See TracChangeset
for help on using the changeset viewer.