PluginProbe
Woody Code Snippets – Insert PHP, CSS, JS, and Header/Footer Scripts / 2.2.7
Woody Code Snippets – Insert PHP, CSS, JS, and Header/Footer Scripts v2.2.7
2.7.7 2.7.6 2.7.5 2.7.4 trunk 1.3 2.0.4 2.0.6 2.1.91 2.2.4 2.2.7 2.2.9 2.3.1 2.3.10 2.4.10 2.4.2 2.4.4 2.4.5 2.4.6 2.4.7 2.4.8 2.4.9 2.6.0 2.6.1 2.7.0 All 28 releases
← All changes | admin/pages/import.php +4 -4 2.3.102.2.7 View file →
@@ -18,11 +18,11 @@
18 18 */
19 19 class WINP_ImportPage extends WINP_Page {
20 20
21 21 /**
22 - * @param Wbcr_Factory432_Plugin $plugin
22 + * @param Wbcr_Factory419_Plugin $plugin
23 23 */
24 - public function __construct( Wbcr_Factory432_Plugin $plugin ) {
24 + public function __construct( Wbcr_Factory419_Plugin $plugin ) {
25 25 $this->menu_post_type = WINP_SNIPPETS_POST_TYPE;
26 26
27 27 $this->id = "import";
28 28 $this->menu_title = __( 'Import/Export', 'insert-php' );
@@ -77,9 +77,9 @@
77 77 <span class="dashicons dashicons-info"></span><?php echo sprintf( __( 'To import more then one snippet at a time, you need to purchase <a href="%s">Woody snippets PRO</a>', 'insert-php' ), WINP_Plugin::app()->get_support()->get_site_url( true, 'import-page' ) ); ?>
78 78 </p>
79 79 </div>
80 80 <?php
81 - } else if ( isset( $_POST['wbcr_inp_import_form_action'] ) ) { ?>
81 + } else if ( isset( $_POST['wbcr_inp_import_form_saved'] ) ) { ?>
82 82 <div id="message" class="alert alert-warning">
83 83 <p><?php _e( 'No files selected!', 'insert-php' ) ?></p>
84 84 </div>
85 85 <?php }
@@ -162,9 +162,9 @@
162 162 </fieldset>
163 163 <div class="form-group form-horizontal">
164 164 <div class="control-group controls col-sm-12">
165 165 <?php wp_nonce_field( 'wbcr_inp_import_form', 'wbcr_inp_import_form_nonce_field' ); ?>
166 - <input name="<?php echo 'wbcr_inp_import_form_action' ?>" class="btn btn-primary" type="submit" value="<?php _e( 'Upload files and import', 'insert-php' ) ?>"/>
166 + <input name="<?php echo 'wbcr_inp_import_form_saved' ?>" class="btn btn-primary" type="submit" value="<?php _e( 'Upload files and import', 'insert-php' ) ?>"/>
167 167 </div>
168 168 </div>
169 169 </div>
170 170 <?php else: ?>