Changeset 3321813
- Timestamp:
- 07/03/2025 01:26:49 PM (9 months ago)
- Location:
- eesy-id2wp-publish-indesign-html5
- Files:
-
- 35 added
- 4 edited
-
tags/1.0.3 (added)
-
tags/1.0.3/admin (added)
-
tags/1.0.3/admin/assets (added)
-
tags/1.0.3/admin/assets/eesy-icon_20x20_id.png (added)
-
tags/1.0.3/admin/assets/eesy-icon_32x32_id.png (added)
-
tags/1.0.3/admin/assets/eesy-logo.png (added)
-
tags/1.0.3/admin/assets/image.png (added)
-
tags/1.0.3/admin/class-id2wp-admin.php (added)
-
tags/1.0.3/admin/class-id2wp-help.php (added)
-
tags/1.0.3/admin/includes (added)
-
tags/1.0.3/admin/includes/admin.css (added)
-
tags/1.0.3/admin/includes/admin.js (added)
-
tags/1.0.3/admin/includes/colorpicker (added)
-
tags/1.0.3/admin/includes/colorpicker/colorpicker.min.css (added)
-
tags/1.0.3/admin/includes/colorpicker/colorpicker.min.js (added)
-
tags/1.0.3/admin/includes/help.js (added)
-
tags/1.0.3/eesy-id2wp-publish-indesign-html5.php (added)
-
tags/1.0.3/includes (added)
-
tags/1.0.3/includes/class-id2wp-access-controller.php (added)
-
tags/1.0.3/includes/class-id2wp-error.php (added)
-
tags/1.0.3/includes/class-id2wp-handler.php (added)
-
tags/1.0.3/includes/class-id2wp-image-optimizer.php (added)
-
tags/1.0.3/includes/class-id2wp-parser.php (added)
-
tags/1.0.3/includes/class-id2wp-post-type.php (added)
-
tags/1.0.3/includes/class-id2wp-rewrite-handler.php (added)
-
tags/1.0.3/includes/class-id2wp-tracking.php (added)
-
tags/1.0.3/includes/functions.php (added)
-
tags/1.0.3/includes/parser (added)
-
tags/1.0.3/includes/parser/favicon.png (added)
-
tags/1.0.3/includes/parser/id2wp-index.js (added)
-
tags/1.0.3/includes/parser/id2wp.css (added)
-
tags/1.0.3/includes/parser/id2wp.js (added)
-
tags/1.0.3/languages (added)
-
tags/1.0.3/languages/eesy-id2wp-publish-indesign-html5.pot (added)
-
tags/1.0.3/readme.txt (added)
-
trunk/admin/class-id2wp-admin.php (modified) (6 diffs)
-
trunk/eesy-id2wp-publish-indesign-html5.php (modified) (1 diff)
-
trunk/includes/class-id2wp-rewrite-handler.php (modified) (1 diff)
-
trunk/readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
eesy-id2wp-publish-indesign-html5/trunk/admin/class-id2wp-admin.php
r3296550 r3321813 28 28 add_action( 'admin_footer', array( $this, 'add_footer' ) ); 29 29 } 30 function update_option_id2wp_settings_applications_folder( $old_value, $new_value) {31 if ( $old_value !== $new_value) {30 function update_option_id2wp_settings_applications_folder( $old_value, $new_value ) { 31 if ( $old_value !== $new_value ) { 32 32 ID2WP_Rewrite_Handler::register_rewrite_rules(); 33 33 } … … 72 72 73 73 function add_footer() { 74 $screen = get_current_screen(); 75 if(!in_array($screen->id,array('id2wp-upload'))){ 76 return; 77 } 74 78 echo ID2WP_HELP::render(); 75 79 } … … 95 99 * 96 100 * @param string $column The name of the column to render. 97 * @param int $post_id The ID of the project.101 * @param int $post_id The ID of the project. 98 102 * @return void 99 103 */ … … 113 117 */ 114 118 function load_scripts() { 119 120 $screen = get_current_screen(); 121 if ( ! in_array( $screen->id, array( 'edit-id2wp-upload', 'id2wp-upload' ) ) ) { 122 return; 123 } 124 115 125 wp_enqueue_style( 'id2wp-admin-css', ID2WP_PLUGIN_URL . 'admin/includes/admin.css', array(), '1.0.0', 'all' ); 116 126 wp_enqueue_style( 'id2wp-color-picker', ID2WP_PLUGIN_URL . 'admin/includes/colorpicker/colorpicker.min.css', array(), '1.0.0', 'all' ); … … 121 131 122 132 /** 123 * Adds the admin pages. 133 * Adds the admin pages. 124 134 * 125 135 * This function adds a new menu page and submenu pages to the WordPress admin area. … … 143 153 144 154 $args = array( 145 'type' => 'string',155 'type' => 'string', 146 156 'sanitize_callback' => 'sanitize_text_field', 147 'default' => 'eesy-id2wp-light'148 );149 150 register_setting( 'id2wp_settings', 'id2wp_settings_applications_folder' ,$args);157 'default' => 'eesy-id2wp-light', 158 ); 159 160 register_setting( 'id2wp_settings', 'id2wp_settings_applications_folder', $args ); 151 161 152 162 add_settings_section( -
eesy-id2wp-publish-indesign-html5/trunk/eesy-id2wp-publish-indesign-html5.php
r3301582 r3321813 4 4 Plugin URI: https://eesy.com/eesy_id2wp/ 5 5 Description: A plugin for publishing InDesign HTML5 packages in WordPress. The HTML5 packages exported from InDesign are optimised during upload and can then be edited. 6 Version: 1.0. 26 Version: 1.0.3 7 7 Requires at least: 6.0 8 8 Requires PHP: 8.0 -
eesy-id2wp-publish-indesign-html5/trunk/includes/class-id2wp-rewrite-handler.php
r3301582 r3321813 113 113 $mime_type = wp_check_filetype($requested_file)['type']; 114 114 header('Content-Type: ' . $mime_type); 115 if (file_exists($requested_file)) { 116 header('Content-Length: ' . filesize($requested_file)); 117 } 118 119 115 120 116 121 // Initialize WP_Filesystem -
eesy-id2wp-publish-indesign-html5/trunk/readme.txt
r3301582 r3321813 5 5 Requires at least: 6.0 6 6 Tested up to: 6.8.1 7 Stable tag: 1.0. 27 Stable tag: 1.0.3 8 8 Requires PHP: 8.0 9 9 License: GPLv2 or later … … 140 140 * Improved password logic in Backend 141 141 * Fixed minor bugs 142 * Tested for newer Wordpress Version142 * Tested for newer Wordpress version 143 143 144 144 = 1.0.2 = 145 145 * Fix Rewrite Rules 146 147 = 1.0.3 = 148 * Fixed minor bugs (Missing Header)
Note: See TracChangeset
for help on using the changeset viewer.