Changeset 2810046
- Timestamp:
- 11/02/2022 03:03:28 PM (3 years ago)
- Location:
- theme-demo-import/trunk
- Files:
-
- 3 edited
-
inc/class-tdi-main.php (modified) (3 diffs)
-
readme.txt (modified) (3 diffs)
-
theme-demo-import.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
theme-demo-import/trunk/inc/class-tdi-main.php
r2600749 r2810046 126 126 127 127 <p class="about-description"> 128 <?php esc_html_e( 'Import the livedemo content for your new theme which includes posts, pages, images, widgets, menus and settings. This will provide you with a basic layout to build your website and speed up the development process. NOTE: Your existing content will NOT be deleted or modified.', 'theme-demo-import' ); ?>128 <?php esc_html_e( 'Import the demo content for your new theme which includes posts, pages, images, widgets, menus and settings. This will provide you with a basic layout to build your website and speed up the development process. NOTE: Your existing content will NOT be deleted or modified.', 'theme-demo-import' ); ?> 129 129 </p> 130 130 … … 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" name="content-file-upload">155 <input id="TDI__content-file-upload" type="file" accept=".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" name="widget-file-upload">160 <input id="TDI__widget-file-upload" type="file" accept=".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" name="customizer-file-upload">165 <input id="TDI__customizer-file-upload" type="file" accept=".dat" name="customizer-file-upload"> 166 166 </div> 167 167 … … 223 223 224 224 <p class="TDI__button-container"> 225 <button class="TDI__button button button-hero button-primaryjs-tdi-import-data" style="width: 100%;"><?php esc_html_e( 'Import Demo Content', 'theme-demo-import' ); ?></button>225 <button class="TDI__button button button-hero button-primary js-tdi-import-data" style="width: 100%;"><?php esc_html_e( 'Import Demo Content', 'theme-demo-import' ); ?></button> 226 226 </p> 227 227 228 <p class="TDI__ajax-loader js-tdi-ajax-loader">228 <p class="TDI__ajax-loader js-tdi-ajax-loader"> 229 229 <span class="spinner"></span> <?php esc_html_e( 'Importing, please wait!', 'theme-demo-import' ); ?> 230 230 </p> 231 231 232 <div class="TDI__response js-tdi-ajax-response"></div>232 <div class="TDI__response js-tdi-ajax-response"></div> 233 233 234 234 </div> -
theme-demo-import/trunk/readme.txt
r2600749 r2810046 1 1 === Theme Demo Importer === 2 2 Contributors: themely 3 Tags: import, content, demo, data, widgets, settings 3 Tags: import, content, demo, data, widgets, settings, theme 4 4 Requires at least: 4.7 5 Tested up to: 5.86 Stable tag: 1. 0.85 Tested up to: 6.1 6 Stable tag: 1.1.1 7 7 License: GPLv3 or later 8 8 … … 11 11 == Description == 12 12 13 Quickly import theme live demo content, widgets and settings. This provides a basic layout to build your website and speed up the development process.13 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. 14 14 15 15 This plugin will create a page in **APPEARANCE > Import Demo Content**. … … 253 253 254 254 255 == Screenshots ==256 257 1. screenshot1.png258 259 260 255 == Changelog == 261 256 262 **1.0.5 - March 29, 2019 ** 257 **1.1.1 - November 2nd, 2022** 258 259 - SECURITY FIX: Prevent uploading PHP files 260 261 262 **1.0.5 - March 29, 2019** 263 263 264 264 - Removed extra $ on line 72 of class-tdi-helpers.php which was triggering a PHP 7.0+ error -
theme-demo-import/trunk/theme-demo-import.php
r2600749 r2810046 4 4 Plugin Name: Theme Demo Importer 5 5 Plugin URI: https://wordpress.org/plugins/theme-demo-import/ 6 Description: Quickly import theme live demo content, widgets and settings. This provides a basic layout to build your website and speed up the development process.7 Version: 1.1. 06 Description: Quickly import live 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.1 8 8 Author: Themely 9 9 Author URI: https://www.themely.com … … 11 11 License URI: http://www.gnu.org/licenses/gpl.html 12 12 Text Domain: theme-demo-import 13 Tested up to: 5.813 Tested up to: 6.1 14 14 Requires PHP: 5.6 15 15 */
Note: See TracChangeset
for help on using the changeset viewer.