Changeset 3106647
- Timestamp:
- 06/24/2024 12:11:31 PM (20 months ago)
- Location:
- theme-demo-import/trunk
- Files:
-
- 3 edited
-
inc/class-tdi-main.php (modified) (1 diff)
-
readme.txt (modified) (2 diffs)
-
theme-demo-import.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
theme-demo-import/trunk/inc/class-tdi-main.php
r2810046 r3106647 153 153 <div class="TDI__file-upload"> 154 154 <h3><label for="content-file-upload"><?php esc_html_e( 'Choose a XML file for content import:', 'theme-demo-import' ); ?></label></h3> 155 <input id="TDI__content-file-upload" type="file" accept=" .xml" name="content-file-upload">155 <input id="TDI__content-file-upload" type="file" accept="application/xml,.xml" pattern="^.*\.(xml)$" name="content-file-upload"> 156 156 </div> 157 157 158 158 <div class="TDI__file-upload"> 159 159 <h3><label for="widget-file-upload"><?php esc_html_e( 'Choose a WIE or JSON file for widget import:', 'theme-demo-import' ); ?></label> <span><?php esc_html_e( '(*optional)', 'theme-demo-import' ); ?></span></h3> 160 <input id="TDI__widget-file-upload" type="file" accept=".wie,.json " name="widget-file-upload">160 <input id="TDI__widget-file-upload" type="file" accept=".wie,.json,application/json" pattern="^.*\.(wie|json)$" name="widget-file-upload"> 161 161 </div> 162 162 163 163 <div class="TDI__file-upload"> 164 164 <h3><label for="customizer-file-upload"><?php esc_html_e( 'Choose a DAT file for customizer import:', 'theme-demo-import' ); ?></label> <span><?php esc_html_e( '(*optional)', 'theme-demo-import' ); ?></span></h3> 165 <input id="TDI__customizer-file-upload" type="file" accept=" .dat" name="customizer-file-upload">165 <input id="TDI__customizer-file-upload" type="file" accept="application/dat,.dat" pattern="^.*\.(dat)$" name="customizer-file-upload"> 166 166 </div> 167 167 -
theme-demo-import/trunk/readme.txt
r3081549 r3106647 4 4 Requires at least: 4.7 5 5 Tested up to: 6.1 6 Stable tag: 1.1. 16 Stable tag: 1.1.2 7 7 License: GPLv3 or later 8 8 … … 283 283 284 284 - INITIAL RELEASE 285 286 287 **1.1.2 - 06/24/2024** 288 289 - Added stricter accept attributes in file upload inputs in /inc/class-tdi-main.php (lines 155, 160 and 165) 290 - Added pattern attribute to file upload inputs in /inc/class-tdi-main.php (lines 155, 160 and 165) -
theme-demo-import/trunk/theme-demo-import.php
r2810206 r3106647 5 5 Plugin URI: https://wordpress.org/plugins/theme-demo-import/ 6 6 Description: Quickly import demo content, widgets and settings for your new theme. This provides a basic layout to build your website and speed up the development process. 7 Version: 1.1. 17 Version: 1.1.2 8 8 Author: Themely 9 9 Author URI: https://www.themely.com
Note: See TracChangeset
for help on using the changeset viewer.