Eggplant 301 Redirects - Version 2.2.1

Version Description

Download this release

Release Info

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

Code changes from version 2.2.0 to 2.2.1

.idea/.name ADDED
@@ -0,0 +1 @@
 
1
+ eps-301-redirects (trunk)
.idea/encodings.xml ADDED
@@ -0,0 +1,5 @@
 
 
 
 
 
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <project version="4">
3
+ <component name="Encoding" useUTFGuessing="true" native2AsciiForPropertiesFiles="false" />
4
+ </project>
5
+
.idea/eps-301-redirects (trunk).iml ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <module type="WEB_MODULE" version="4">
3
+ <component name="NewModuleRootManager">
4
+ <content url="file://$MODULE_DIR$" />
5
+ <orderEntry type="inheritedJdk" />
6
+ <orderEntry type="sourceFolder" forTests="false" />
7
+ </component>
8
+ </module>
9
+
.idea/misc.xml ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <project version="4">
3
+ <component name="ProjectRootManager" version="2" />
4
+ <component name="SvnBranchConfigurationManager">
5
+ <option name="mySupportsUserInfoFilter" value="true" />
6
+ </component>
7
+ </project>
8
+
.idea/modules.xml ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <project version="4">
3
+ <component name="ProjectModuleManager">
4
+ <modules>
5
+ <module fileurl="file://$PROJECT_DIR$/.idea/eps-301-redirects (trunk).iml" filepath="$PROJECT_DIR$/.idea/eps-301-redirects (trunk).iml" />
6
+ </modules>
7
+ </component>
8
+ </project>
9
+
.idea/scopes/scope_settings.xml ADDED
@@ -0,0 +1,5 @@
 
 
 
 
 
1
+ <component name="DependencyValidationManager">
2
+ <state>
3
+ <option name="SKIP_IMPORT_STATEMENTS" value="false" />
4
+ </state>
5
+ </component>
.idea/vcs.xml ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <project version="4">
3
+ <component name="VcsDirectoryMappings">
4
+ <mapping directory="$PROJECT_DIR$" vcs="svn" />
5
+ </component>
6
+ </project>
7
+
.idea/workspace.xml ADDED
@@ -0,0 +1,233 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <project version="4">
3
+ <component name="ChangeListManager">
4
+ <list default="true" readonly="true" id="8269d8a3-d716-4d22-abc3-a8011cfbd296" name="Default" comment="" />
5
+ <ignored path="eps-301-redirects (trunk).iws" />
6
+ <ignored path=".idea/workspace.xml" />
7
+ <option name="TRACKING_ENABLED" value="true" />
8
+ <option name="SHOW_DIALOG" value="false" />
9
+ <option name="HIGHLIGHT_CONFLICTS" value="true" />
10
+ <option name="HIGHLIGHT_NON_ACTIVE_CHANGELIST" value="false" />
11
+ <option name="LAST_RESOLUTION" value="IGNORE" />
12
+ </component>
13
+ <component name="ChangesViewManager" flattened_view="true" show_ignored="false" />
14
+ <component name="CreatePatchCommitExecutor">
15
+ <option name="PATCH_PATH" value="" />
16
+ </component>
17
+ <component name="DaemonCodeAnalyzer">
18
+ <disable_hints />
19
+ </component>
20
+ <component name="ExecutionTargetManager" SELECTED_TARGET="default_target" />
21
+ <component name="FavoritesManager">
22
+ <favorites_list name="eps-301-redirects (trunk)" />
23
+ </component>
24
+ <component name="FileEditorManager">
25
+ <leaf />
26
+ </component>
27
+ <component name="FindManager">
28
+ <FindUsagesManager>
29
+ <setting name="OPEN_NEW_TAB" value="false" />
30
+ </FindUsagesManager>
31
+ </component>
32
+ <component name="IdeDocumentHistory">
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>
48
+ <component name="ProjectLevelVcsManager" settingsEditedManually="false">
49
+ <OptionsSetting value="true" id="Add" />
50
+ <OptionsSetting value="true" id="Remove" />
51
+ <OptionsSetting value="true" id="Checkout" />
52
+ <OptionsSetting value="true" id="Update" />
53
+ <OptionsSetting value="true" id="Status" />
54
+ <OptionsSetting value="true" id="Edit" />
55
+ <ConfirmationsSetting value="0" id="Add" />
56
+ <ConfirmationsSetting value="0" id="Remove" />
57
+ </component>
58
+ <component name="ProjectReloadState">
59
+ <option name="STATE" value="0" />
60
+ </component>
61
+ <component name="ProjectView">
62
+ <navigator currentView="ProjectPane" proportions="" version="1" splitterProportion="0.5">
63
+ <flattenPackages />
64
+ <showMembers />
65
+ <showModules />
66
+ <showLibraryContents />
67
+ <hideEmptyPackages />
68
+ <abbreviatePackageNames />
69
+ <autoscrollToSource />
70
+ <autoscrollFromSource />
71
+ <sortByType />
72
+ </navigator>
73
+ <panes>
74
+ <pane id="Scope" />
75
+ <pane id="ProjectPane">
76
+ <subPane>
77
+ <PATH>
78
+ <PATH_ELEMENT>
79
+ <option name="myItemId" value="eps-301-redirects (trunk)" />
80
+ <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
81
+ </PATH_ELEMENT>
82
+ </PATH>
83
+ <PATH>
84
+ <PATH_ELEMENT>
85
+ <option name="myItemId" value="eps-301-redirects (trunk)" />
86
+ <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
87
+ </PATH_ELEMENT>
88
+ <PATH_ELEMENT>
89
+ <option name="myItemId" value="eps-301-redirects" />
90
+ <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
91
+ </PATH_ELEMENT>
92
+ </PATH>
93
+ </subPane>
94
+ </pane>
95
+ </panes>
96
+ </component>
97
+ <component name="PropertiesComponent">
98
+ <property name="options.lastSelected" value="preferences.sourceCode" />
99
+ <property name="options.splitter.main.proportions" value="0.3" />
100
+ <property name="options.splitter.details.proportions" value="0.2" />
101
+ <property name="options.searchVisible" value="true" />
102
+ <property name="WebServerToolWindowFactoryState" value="false" />
103
+ </component>
104
+ <component name="RunManager">
105
+ <list size="0" />
106
+ </component>
107
+ <component name="ShelveChangesManager" show_recycled="false" />
108
+ <component name="SvnConfiguration" maxAnnotateRevisions="500" myUseAcceleration="nothing" myAutoUpdateAfterCommit="false" cleanupOnStartRun="true" SSL_PROTOCOLS="sslv3">
109
+ <option name="USER" value="" />
110
+ <option name="PASSWORD" value="" />
111
+ <option name="mySSHConnectionTimeout" value="30000" />
112
+ <option name="mySSHReadTimeout" value="30000" />
113
+ <option name="LAST_MERGED_REVISION" />
114
+ <option name="MERGE_DRY_RUN" value="false" />
115
+ <option name="MERGE_DIFF_USE_ANCESTRY" value="true" />
116
+ <option name="UPDATE_LOCK_ON_DEMAND" value="false" />
117
+ <option name="IGNORE_SPACES_IN_MERGE" value="false" />
118
+ <option name="CHECK_NESTED_FOR_QUICK_MERGE" value="false" />
119
+ <option name="IGNORE_SPACES_IN_ANNOTATE" value="true" />
120
+ <option name="SHOW_MERGE_SOURCES_IN_ANNOTATE" value="true" />
121
+ <option name="FORCE_UPDATE" value="false" />
122
+ <option name="IGNORE_EXTERNALS" value="false" />
123
+ <configuration useDefault="false">$USER_HOME$/.subversion</configuration>
124
+ <myIsUseDefaultProxy>false</myIsUseDefaultProxy>
125
+ <supportedVersion>125</supportedVersion>
126
+ </component>
127
+ <component name="TaskManager">
128
+ <task active="true" id="Default" summary="Default task">
129
+ <changelist id="8269d8a3-d716-4d22-abc3-a8011cfbd296" name="Default" comment="" />
130
+ <created>1430661932982</created>
131
+ <updated>1430661932982</updated>
132
+ </task>
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" />
140
+ <window_info id="Terminal" 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
+ <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" />
148
+ <window_info id="Run" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="2" side_tool="false" content_ui="tabs" />
149
+ <window_info id="Version Control" 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" />
150
+ <window_info id="Cvs" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.25" sideWeight="0.5" order="4" side_tool="false" content_ui="tabs" />
151
+ <window_info id="Message" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="0" side_tool="false" content_ui="tabs" />
152
+ <window_info id="Find" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="1" side_tool="false" content_ui="tabs" />
153
+ <window_info id="Ant Build" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.25" sideWeight="0.5" order="1" side_tool="false" content_ui="tabs" />
154
+ <window_info id="Commander" active="false" anchor="right" auto_hide="false" internal_type="SLIDING" type="SLIDING" visible="false" weight="0.4" sideWeight="0.5" order="0" side_tool="false" content_ui="tabs" />
155
+ <window_info id="Inspection" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.4" sideWeight="0.5" order="5" side_tool="false" content_ui="tabs" />
156
+ <window_info id="Hierarchy" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.25" sideWeight="0.5" order="2" side_tool="false" content_ui="combo" />
157
+ </layout>
158
+ </component>
159
+ <component name="Vcs.Log.UiProperties">
160
+ <option name="RECENTLY_FILTERED_USER_GROUPS">
161
+ <collection />
162
+ </option>
163
+ </component>
164
+ <component name="VcsContentAnnotationSettings">
165
+ <option name="myLimit" value="2678400000" />
166
+ </component>
167
+ <component name="VcsManagerConfiguration">
168
+ <option name="myTodoPanelSettings">
169
+ <TodoPanelSettings />
170
+ </option>
171
+ </component>
172
+ <component name="XDebuggerManager">
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>
233
+
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.0
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.0
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.0');
41
  define ( 'EPS_REDIRECT_PRO', false);
42
 
43
  include(EPS_REDIRECT_PATH.'eps-form-elements.php');
15
  *
16
  * @package EPS 301 Redirects
17
  * @author Shawn Wernig ( shawn@eggplantstudios.ca )
18
+ * @version 2.2.1
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.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
 
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');
libs/eps-plugin-options.php CHANGED
@@ -147,6 +147,8 @@ class EPS_Plugin_Options {
147
 
148
  }
149
 
 
 
150
  /**
151
  *
152
  * Outputs the Sections intro HTML. A callback.
@@ -156,8 +158,16 @@ class EPS_Plugin_Options {
156
  * @param $args
157
  *
158
  */
159
- function section_callback( $args ) {
160
- $tab = ( isset( $_GET['tab'] ) ) ? $_GET['tab'] : array_keys( $this->settings )[0];
 
 
 
 
 
 
 
 
161
  echo $this->settings[$tab]['description'];
162
  }
163
 
147
 
148
  }
149
 
150
+
151
+
152
  /**
153
  *
154
  * Outputs the Sections intro HTML. A callback.
158
  * @param $args
159
  *
160
  */
161
+ function section_callback( $args ) {
162
+ if( isset( $_GET['tab'] ) )
163
+ {
164
+ $tab = $_GET['tab'];
165
+ }
166
+ else
167
+ {
168
+ $sections = array_keys( $this->settings );
169
+ $tab = $sections[0];
170
+ }
171
  echo $this->settings[$tab]['description'];
172
  }
173
 
plugin.php CHANGED
@@ -11,7 +11,7 @@
11
  class EPS_Redirects_Plugin extends EPS_Plugin {
12
 
13
  protected $config = array(
14
- 'version' => '2.2.0',
15
  'option_slug' => 'eps_redirects',
16
  'page_slug' => 'eps_redirects',
17
  'page_title' => 'EPS Redirects',
11
  class EPS_Redirects_Plugin extends EPS_Plugin {
12
 
13
  protected $config = array(
14
+ 'version' => EPS_REDIRECT_VERSION,
15
  'option_slug' => 'eps_redirects',
16
  'page_slug' => 'eps_redirects',
17
  'page_title' => 'EPS Redirects',
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.0
14
 
15
  License: GPLv2 or later
16
 
10
 
11
  Tested up to: 4.2.1
12
 
13
+ Stable tag: 2.2.1
14
 
15
  License: GPLv2 or later
16