Skip to content

Commit

Permalink
Minor Fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
zekinah committed Jul 30, 2020
1 parent 4e5ec8e commit e4080ee
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 8 deletions.
7 changes: 3 additions & 4 deletions admin/view/tabs/tab-setup.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
* @package Zone_Redirect
* @subpackage Zone_Redirect/admin/partials
*/
$zn_form_nonce = wp_create_nonce('zn_form_nonce');
?>
<h3 class="zone-title-short">Setup</h3>
<div class="row">
Expand All @@ -33,12 +32,12 @@
</div>
<div class="form-group">
<label><strong>Select Starting Row:</strong></label>
<input id="zn_start_row" name="zn_start_row" type="number" min="0" value="1"/>
<br><?php _e( 'Defaults to row 1 (top row) of .csv file.'); ?>
<input id="zn_start_row" name="zn_start_row" type="number" min="2" value="2"/>
<br><?php _e( 'Defaults to row 2 (top row) of .csv file. To avoid the column title to be added.'); ?>
</div>
<div class="form-group">
<label><strong>Update exisiting data:</strong></label>
<input class="form-check-input zn_update_data" id="zn_update_data" data-nonce="<?= $zn_form_nonce ?>" type="checkbox" name="zn_update_data" data-toggle="toggle">
<input class="form-check-input zn_update_data" id="zn_update_data" type="checkbox" name="zn_update_data" data-toggle="toggle">
<br><?php _e( 'Will update exisiting database rows when a duplicated primary key is encountered. Defaults to all rows inserted as new rows.'); ?>
</div>
<?php
Expand Down
2 changes: 1 addition & 1 deletion includes/class-zone-redirect.php
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ public function __construct() {
if ( defined( 'ZONE_REDIRECT_VERSION' ) ) {
$this->version = ZONE_REDIRECT_VERSION;
} else {
$this->version = '1.0.4';
$this->version = '1.0.5';
}
$this->plugin_name = 'zone-redirect';

Expand Down
2 changes: 1 addition & 1 deletion model/Config.php
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ public function __construct() {
if ( defined( 'ZONE_REDIRECT_VERSION' ) ) {
$this->version = ZONE_REDIRECT_VERSION;
} else {
$this->version = '1.0.4';
$this->version = '1.0.5';
}
$this->plugin_name = 'zone-redirect';
$this->wpdb = $wpdb;
Expand Down
4 changes: 2 additions & 2 deletions zone-redirect.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
* Plugin Name: Zone - Redirect
* Plugin URI: https://github.com/zekinah/Zone-Redirect
* Description: This plugin helps you manage and create 301 & 302 redirects for your WordPress site to improve SEO and visitor experience. With a user-friendly interface, Zone Redirect is easy to install and configure.
* Version: 1.0.4
* Version: 1.0.5
* Author: Zekinah Lecaros
* Author URI: https://github.com/zekinah
* License: GPL-2.0+
Expand All @@ -35,7 +35,7 @@
* Start at version 1.0.0 and use SemVer - https://semver.org
* Rename this for your plugin and update it as you release new versions.
*/
define( 'ZONE_REDIRECT_VERSION', '1.0.4' );
define( 'ZONE_REDIRECT_VERSION', '1.0.5' );

/**
* The code that runs during plugin activation.
Expand Down

0 comments on commit e4080ee

Please sign in to comment.