Eggplant 301 Redirects - Version 2.2.2

Version Description

Download this release

Release Info

Developer shawn@eggplantstudios.ca
Plugin Icon 128x128 Eggplant 301 Redirects
Version 2.2.2
Comparing to
See all releases

Code changes from version 2.2.1 to 2.2.2

Files changed (3) hide show
  1. .idea/workspace.xml +41 -29
  2. eps-301-redirects.php +17 -3
  3. readme.txt +1 -1
.idea/workspace.xml CHANGED
@@ -33,15 +33,16 @@
33
  <option name="changedFiles">
34
  <list>
35
  <option value="$PROJECT_DIR$/libs/eps-plugin-options.php" />
36
- <option value="$PROJECT_DIR$/eps-301-redirects.php" />
37
  <option value="$PROJECT_DIR$/plugin.php" />
 
 
38
  </list>
39
  </option>
40
  </component>
41
  <component name="PhpWorkspaceProjectConfiguration" backward_compatibility_performed="true" />
42
  <component name="ProjectFrameBounds">
43
- <option name="x" value="167" />
44
- <option name="y" value="41" />
45
  <option name="width" value="1970" />
46
  <option name="height" value="1265" />
47
  </component>
@@ -133,7 +134,7 @@
133
  <servers />
134
  </component>
135
  <component name="ToolWindowManager">
136
- <frame x="167" y="41" width="1970" height="1265" extended-state="0" />
137
  <editor active="false" />
138
  <layout>
139
  <window_info id="Changes" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="7" side_tool="false" content_ui="tabs" />
@@ -141,7 +142,7 @@
141
  <window_info id="TODO" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="6" side_tool="false" content_ui="tabs" />
142
  <window_info id="Database" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="3" side_tool="false" content_ui="tabs" />
143
  <window_info id="Structure" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.25" sideWeight="0.5" order="1" side_tool="false" content_ui="tabs" />
144
- <window_info id="Project" active="true" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" weight="0.25518674" sideWeight="0.5" order="0" side_tool="false" content_ui="combo" />
145
  <window_info id="Debug" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.4" sideWeight="0.5" order="3" side_tool="false" content_ui="tabs" />
146
  <window_info id="Favorites" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="2" side_tool="true" content_ui="tabs" />
147
  <window_info id="Event Log" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="7" side_tool="true" content_ui="tabs" />
@@ -173,60 +174,71 @@
173
  <breakpoint-manager />
174
  </component>
175
  <component name="editorHistoryManager">
176
- <entry file="file://$PROJECT_DIR$/libs/eps-plugin-options.php">
177
  <provider selected="true" editor-type-id="text-editor">
178
- <state line="194" column="7" selection-start="4530" selection-end="4530" vertical-scroll-proportion="0.0" vertical-offset="4268" max-vertical-offset="6974">
179
- <folding />
 
 
 
 
180
  </state>
181
  </provider>
182
  </entry>
183
  <entry file="file://$PROJECT_DIR$/libs/eps-plugin-options.php">
184
  <provider selected="true" editor-type-id="text-editor">
185
- <state line="170" column="5" selection-start="3901" selection-end="3901" vertical-scroll-proportion="0.0" vertical-offset="3740" max-vertical-offset="6974">
186
- <folding />
187
- </state>
188
  </provider>
189
  </entry>
190
- <entry file="file://$PROJECT_DIR$/eps-301-redirects.php">
191
  <provider selected="true" editor-type-id="text-editor">
192
- <state line="33" column="37" selection-start="876" selection-end="876" vertical-scroll-proportion="0.64648265" vertical-offset="0" max-vertical-offset="12518">
193
- <folding>
194
- <element signature="e#6#533#0" expanded="true" />
195
- <marker date="1430662755000" expanded="true" signature="-1:-1" placeholder="SELECT * FRO..$table_name ORDER..." />
196
- <marker date="1430662755000" expanded="true" signature="-1:-1" placeholder="UPDATE $tabl..." />
197
- </folding>
198
- </state>
199
  </provider>
200
  </entry>
201
  <entry file="file://$PROJECT_DIR$/libs/eps-plugin-options.php">
202
  <provider selected="true" editor-type-id="text-editor">
203
- <state line="219" column="48" selection-start="5361" selection-end="5361" vertical-scroll-proportion="0.29385576" vertical-offset="4268" max-vertical-offset="6974">
204
- <folding />
205
- </state>
206
  </provider>
207
  </entry>
208
  <entry file="file://$PROJECT_DIR$/eps-form-elements.php">
209
  <provider selected="true" editor-type-id="text-editor">
210
- <state line="0" column="0" selection-start="0" selection-end="0" vertical-scroll-proportion="0.0" vertical-offset="0" max-vertical-offset="3916">
211
- <folding>
212
- <marker date="1430628080000" expanded="false" signature="-1:-1" placeholder="..." />
213
- </folding>
 
 
 
214
  </state>
215
  </provider>
216
  </entry>
217
  <entry file="file://$PROJECT_DIR$/plugin.php">
218
  <provider selected="true" editor-type-id="text-editor">
219
- <state line="13" column="51" selection-start="263" selection-end="263" vertical-scroll-proportion="0.13873874" vertical-offset="0" max-vertical-offset="9438">
220
  <folding />
221
  </state>
222
  </provider>
223
  </entry>
224
- <entry file="file://$PROJECT_DIR$/class.drop-down-pages.php">
225
  <provider selected="true" editor-type-id="text-editor">
226
- <state line="0" column="0" selection-start="0" selection-end="0" vertical-scroll-proportion="0.0" vertical-offset="0" max-vertical-offset="1606">
227
  <folding />
228
  </state>
229
  </provider>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
230
  </entry>
231
  </component>
232
  </project>
33
  <option name="changedFiles">
34
  <list>
35
  <option value="$PROJECT_DIR$/libs/eps-plugin-options.php" />
 
36
  <option value="$PROJECT_DIR$/plugin.php" />
37
+ <option value="$PROJECT_DIR$/readme.txt" />
38
+ <option value="$PROJECT_DIR$/eps-301-redirects.php" />
39
  </list>
40
  </option>
41
  </component>
42
  <component name="PhpWorkspaceProjectConfiguration" backward_compatibility_performed="true" />
43
  <component name="ProjectFrameBounds">
44
+ <option name="x" value="111" />
45
+ <option name="y" value="43" />
46
  <option name="width" value="1970" />
47
  <option name="height" value="1265" />
48
  </component>
134
  <servers />
135
  </component>
136
  <component name="ToolWindowManager">
137
+ <frame x="111" y="43" width="1970" height="1265" extended-state="0" />
138
  <editor active="false" />
139
  <layout>
140
  <window_info id="Changes" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="7" side_tool="false" content_ui="tabs" />
142
  <window_info id="TODO" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="6" side_tool="false" content_ui="tabs" />
143
  <window_info id="Database" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="3" side_tool="false" content_ui="tabs" />
144
  <window_info id="Structure" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.25" sideWeight="0.5" order="1" side_tool="false" content_ui="tabs" />
145
+ <window_info id="Project" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.26037344" sideWeight="0.5" order="0" side_tool="false" content_ui="combo" />
146
  <window_info id="Debug" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.4" sideWeight="0.5" order="3" side_tool="false" content_ui="tabs" />
147
  <window_info id="Favorites" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="2" side_tool="true" content_ui="tabs" />
148
  <window_info id="Event Log" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="7" side_tool="true" content_ui="tabs" />
174
  <breakpoint-manager />
175
  </component>
176
  <component name="editorHistoryManager">
177
+ <entry file="file://$PROJECT_DIR$/eps-301-redirects.php">
178
  <provider selected="true" editor-type-id="text-editor">
179
+ <state line="552" column="21" selection-start="0" selection-end="16892" vertical-scroll-proportion="0.0" vertical-offset="11705" max-vertical-offset="12826">
180
+ <folding>
181
+ <element signature="e#6#533#0" expanded="true" />
182
+ <marker date="1430664107000" expanded="true" signature="-1:-1" placeholder="SELECT * FRO..$table_name ORDER..." />
183
+ <marker date="1430664107000" expanded="true" signature="-1:-1" placeholder="UPDATE $tabl..." />
184
+ </folding>
185
  </state>
186
  </provider>
187
  </entry>
188
  <entry file="file://$PROJECT_DIR$/libs/eps-plugin-options.php">
189
  <provider selected="true" editor-type-id="text-editor">
190
+ <state line="194" column="7" selection-start="4530" selection-end="4530" vertical-scroll-proportion="0.0" vertical-offset="4268" max-vertical-offset="6974" />
 
 
191
  </provider>
192
  </entry>
193
+ <entry file="file://$PROJECT_DIR$/libs/eps-plugin-options.php">
194
  <provider selected="true" editor-type-id="text-editor">
195
+ <state line="170" column="5" selection-start="3901" selection-end="3901" vertical-scroll-proportion="0.0" vertical-offset="3740" max-vertical-offset="6974" />
 
 
 
 
 
 
196
  </provider>
197
  </entry>
198
  <entry file="file://$PROJECT_DIR$/libs/eps-plugin-options.php">
199
  <provider selected="true" editor-type-id="text-editor">
200
+ <state line="219" column="48" selection-start="5361" selection-end="5361" vertical-scroll-proportion="0.29385576" vertical-offset="4268" max-vertical-offset="6974" />
 
 
201
  </provider>
202
  </entry>
203
  <entry file="file://$PROJECT_DIR$/eps-form-elements.php">
204
  <provider selected="true" editor-type-id="text-editor">
205
+ <state line="0" column="0" selection-start="0" selection-end="0" vertical-scroll-proportion="0.0" vertical-offset="0" max-vertical-offset="3916" />
206
+ </provider>
207
+ </entry>
208
+ <entry file="file://$PROJECT_DIR$/class.drop-down-pages.php">
209
+ <provider selected="true" editor-type-id="text-editor">
210
+ <state line="0" column="0" selection-start="0" selection-end="0" vertical-scroll-proportion="0.0" vertical-offset="0" max-vertical-offset="1606">
211
+ <folding />
212
  </state>
213
  </provider>
214
  </entry>
215
  <entry file="file://$PROJECT_DIR$/plugin.php">
216
  <provider selected="true" editor-type-id="text-editor">
217
+ <state line="13" column="51" selection-start="263" selection-end="263" vertical-scroll-proportion="0.13898917" vertical-offset="0" max-vertical-offset="9438">
218
  <folding />
219
  </state>
220
  </provider>
221
  </entry>
222
+ <entry file="file://$PROJECT_DIR$/readme.txt">
223
  <provider selected="true" editor-type-id="text-editor">
224
+ <state line="12" column="17" selection-start="174" selection-end="174" vertical-scroll-proportion="0.23891403" vertical-offset="0" max-vertical-offset="4686">
225
  <folding />
226
  </state>
227
  </provider>
228
+ <provider editor-type-id="com.intellij.persistence.database.editor.CsvTableFileEditorProvider">
229
+ <state />
230
+ </provider>
231
+ </entry>
232
+ <entry file="file://$PROJECT_DIR$/eps-301-redirects.php">
233
+ <provider selected="true" editor-type-id="text-editor">
234
+ <state line="116" column="9" selection-start="3428" selection-end="3428" vertical-scroll-proportion="0.43175736" vertical-offset="2068" max-vertical-offset="12826">
235
+ <folding>
236
+ <element signature="e#6#533#0" expanded="true" />
237
+ <marker date="1430664107000" expanded="true" signature="-1:-1" placeholder="SELECT * FRO..$table_name ORDER..." />
238
+ <marker date="1430664107000" expanded="true" signature="-1:-1" placeholder="UPDATE $tabl..." />
239
+ </folding>
240
+ </state>
241
+ </provider>
242
  </entry>
243
  </component>
244
  </project>
eps-301-redirects.php CHANGED
@@ -15,7 +15,7 @@
15
  *
16
  * @package EPS 301 Redirects
17
  * @author Shawn Wernig ( shawn@eggplantstudios.ca )
18
- * @version 2.2.1
19
  */
20
 
21
 
@@ -25,7 +25,7 @@
25
  Plugin Name: Eggplant 301 Redirects
26
  Plugin URI: http://www.eggplantstudios.ca
27
  Description: Create your own 301 redirects using this powerful plugin.
28
- Version: 2.2.1
29
  Author: Shawn Wernig http://www.eggplantstudios.ca
30
  License: GPLv2 or later
31
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
@@ -37,7 +37,7 @@ if( ! defined( 'EPS_REDIRECT_PRO' ) )
37
 
38
  define ( 'EPS_REDIRECT_PATH', plugin_dir_path(__FILE__) );
39
  define ( 'EPS_REDIRECT_URL', plugin_dir_url( __FILE__ ) );
40
- define ( 'EPS_REDIRECT_VERSION', '2.2.1');
41
  define ( 'EPS_REDIRECT_PRO', false);
42
 
43
  include(EPS_REDIRECT_PATH.'eps-form-elements.php');
@@ -560,5 +560,19 @@ function eps_view( $object ) {
560
  // Run the plugin.
561
  $EPS_Redirects = new EPS_Redirects();
562
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
563
  }
564
  ?>
15
  *
16
  * @package EPS 301 Redirects
17
  * @author Shawn Wernig ( shawn@eggplantstudios.ca )
18
+ * @version 2.2.2
19
  */
20
 
21
 
25
  Plugin Name: Eggplant 301 Redirects
26
  Plugin URI: http://www.eggplantstudios.ca
27
  Description: Create your own 301 redirects using this powerful plugin.
28
+ Version: 2.2.2
29
  Author: Shawn Wernig http://www.eggplantstudios.ca
30
  License: GPLv2 or later
31
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
37
 
38
  define ( 'EPS_REDIRECT_PATH', plugin_dir_path(__FILE__) );
39
  define ( 'EPS_REDIRECT_URL', plugin_dir_url( __FILE__ ) );
40
+ define ( 'EPS_REDIRECT_VERSION', '2.2.2');
41
  define ( 'EPS_REDIRECT_PRO', false);
42
 
43
  include(EPS_REDIRECT_PATH.'eps-form-elements.php');
560
  // Run the plugin.
561
  $EPS_Redirects = new EPS_Redirects();
562
 
563
+ }
564
+ else
565
+ {
566
+ if( EPS_REDIRECT_PRO === true )
567
+ {
568
+ add_action( 'admin_notices', 'eps_redirects_pro_conflict' );
569
+ function eps_redirects_pro_conflict()
570
+ {
571
+ printf('<div class="%s"><p>%s</p></div>',
572
+ "error",
573
+ "ERROR: Please de-activate the non-Pro version of EPS 301 Redirects First!"
574
+ );
575
+ }
576
+ }
577
  }
578
  ?>
readme.txt CHANGED
@@ -10,7 +10,7 @@ Requires at least: 3.0.1
10
 
11
  Tested up to: 4.2.1
12
 
13
- Stable tag: 2.2.1
14
 
15
  License: GPLv2 or later
16
 
10
 
11
  Tested up to: 4.2.1
12
 
13
+ Stable tag: 2.2.2
14
 
15
  License: GPLv2 or later
16