Version Description
- Update: Style headers to look nice in WordPress 4.4
Download this release
Release Info
Developer | downstairsdev |
Plugin | Options Framework |
Version | 1.8.5 |
Comparing to | |
See all releases |
Code changes from version 1.8.4 to 1.8.5
- css/optionsframework.css +2 -0
- includes/class-options-framework-admin.php +1 -1
- includes/class-options-framework.php +2 -2
- includes/class-options-interface.php +1 -1
- includes/class-options-media-uploader.php +1 -1
- includes/class-options-sanitization.php +1 -1
- options-framework.php +3 -3
- readme.txt +22 -18
css/optionsframework.css
CHANGED
@@ -8,6 +8,8 @@
|
|
8 |
cursor: default;
|
9 |
background-color: #f1f1f1;
|
10 |
border-bottom: 1px solid #ddd;
|
|
|
|
|
11 |
}
|
12 |
#optionsframework p {
|
13 |
margin-bottom:0;
|
8 |
cursor: default;
|
9 |
background-color: #f1f1f1;
|
10 |
border-bottom: 1px solid #ddd;
|
11 |
+
padding: 12px 10px;
|
12 |
+
margin: 0;
|
13 |
}
|
14 |
#optionsframework p {
|
15 |
margin-bottom:0;
|
includes/class-options-framework-admin.php
CHANGED
@@ -4,7 +4,7 @@
|
|
4 |
* @author Devin Price <devin@wptheming.com>
|
5 |
* @license GPL-2.0+
|
6 |
* @link http://wptheming.com
|
7 |
-
* @copyright 2010-
|
8 |
*/
|
9 |
|
10 |
class Options_Framework_Admin {
|
4 |
* @author Devin Price <devin@wptheming.com>
|
5 |
* @license GPL-2.0+
|
6 |
* @link http://wptheming.com
|
7 |
+
* @copyright 2010-2016 WP Theming
|
8 |
*/
|
9 |
|
10 |
class Options_Framework_Admin {
|
includes/class-options-framework.php
CHANGED
@@ -4,7 +4,7 @@
|
|
4 |
* @author Devin Price <devin@wptheming.com>
|
5 |
* @license GPL-2.0+
|
6 |
* @link http://wptheming.com
|
7 |
-
* @copyright 2010-
|
8 |
*/
|
9 |
|
10 |
class Options_Framework {
|
@@ -15,7 +15,7 @@ class Options_Framework {
|
|
15 |
* @since 1.7.0
|
16 |
* @type string
|
17 |
*/
|
18 |
-
const VERSION = '1.8.
|
19 |
|
20 |
/**
|
21 |
* Initialize the plugin.
|
4 |
* @author Devin Price <devin@wptheming.com>
|
5 |
* @license GPL-2.0+
|
6 |
* @link http://wptheming.com
|
7 |
+
* @copyright 2010-2016 WP Theming
|
8 |
*/
|
9 |
|
10 |
class Options_Framework {
|
15 |
* @since 1.7.0
|
16 |
* @type string
|
17 |
*/
|
18 |
+
const VERSION = '1.8.5';
|
19 |
|
20 |
/**
|
21 |
* Initialize the plugin.
|
includes/class-options-interface.php
CHANGED
@@ -4,7 +4,7 @@
|
|
4 |
* @author Devin Price <devin@wptheming.com>
|
5 |
* @license GPL-2.0+
|
6 |
* @link http://wptheming.com
|
7 |
-
* @copyright 2010-
|
8 |
*/
|
9 |
|
10 |
class Options_Framework_Interface {
|
4 |
* @author Devin Price <devin@wptheming.com>
|
5 |
* @license GPL-2.0+
|
6 |
* @link http://wptheming.com
|
7 |
+
* @copyright 2010-2016 WP Theming
|
8 |
*/
|
9 |
|
10 |
class Options_Framework_Interface {
|
includes/class-options-media-uploader.php
CHANGED
@@ -4,7 +4,7 @@
|
|
4 |
* @author Devin Price <devin@wptheming.com>
|
5 |
* @license GPL-2.0+
|
6 |
* @link http://wptheming.com
|
7 |
-
* @copyright 2010-
|
8 |
*/
|
9 |
|
10 |
class Options_Framework_Media_Uploader {
|
4 |
* @author Devin Price <devin@wptheming.com>
|
5 |
* @license GPL-2.0+
|
6 |
* @link http://wptheming.com
|
7 |
+
* @copyright 2010-2016 WP Theming
|
8 |
*/
|
9 |
|
10 |
class Options_Framework_Media_Uploader {
|
includes/class-options-sanitization.php
CHANGED
@@ -4,7 +4,7 @@
|
|
4 |
* @author Devin Price <devin@wptheming.com>
|
5 |
* @license GPL-2.0+
|
6 |
* @link http://wptheming.com
|
7 |
-
* @copyright 2010-
|
8 |
*/
|
9 |
|
10 |
/**
|
4 |
* @author Devin Price <devin@wptheming.com>
|
5 |
* @license GPL-2.0+
|
6 |
* @link http://wptheming.com
|
7 |
+
* @copyright 2010-2016 WP Theming
|
8 |
*/
|
9 |
|
10 |
/**
|
options-framework.php
CHANGED
@@ -6,18 +6,18 @@
|
|
6 |
* @author Devin Price <devin@wptheming.com>
|
7 |
* @license GPL-2.0+
|
8 |
* @link http://wptheming.com
|
9 |
-
* @copyright 2010-
|
10 |
*
|
11 |
* @wordpress-plugin
|
12 |
* Plugin Name: Options Framework
|
13 |
* Plugin URI: http://wptheming.com
|
14 |
* Description: A framework for building theme options.
|
15 |
-
* Version: 1.8.
|
16 |
* Author: Devin Price
|
17 |
* Author URI: http://wptheming.com
|
18 |
* License: GPL-2.0+
|
19 |
* License URI: http://www.gnu.org/licenses/gpl-2.0.txt
|
20 |
-
* Text Domain:
|
21 |
* Domain Path: /languages
|
22 |
*/
|
23 |
|
6 |
* @author Devin Price <devin@wptheming.com>
|
7 |
* @license GPL-2.0+
|
8 |
* @link http://wptheming.com
|
9 |
+
* @copyright 2010-2016 WP Theming
|
10 |
*
|
11 |
* @wordpress-plugin
|
12 |
* Plugin Name: Options Framework
|
13 |
* Plugin URI: http://wptheming.com
|
14 |
* Description: A framework for building theme options.
|
15 |
+
* Version: 1.8.5
|
16 |
* Author: Devin Price
|
17 |
* Author URI: http://wptheming.com
|
18 |
* License: GPL-2.0+
|
19 |
* License URI: http://www.gnu.org/licenses/gpl-2.0.txt
|
20 |
+
* Text Domain: options-framework
|
21 |
* Domain Path: /languages
|
22 |
*/
|
23 |
|
readme.txt
CHANGED
@@ -4,8 +4,8 @@ Contributors: downstairsdev
|
|
4 |
Tags: options, theme options
|
5 |
Donate link: http://bit.ly/options-donate-2
|
6 |
Requires at least: 3.6
|
7 |
-
Tested up to: 4.3
|
8 |
-
Stable tag: 1.8.
|
9 |
License: GPLv2
|
10 |
|
11 |
== Description ==
|
@@ -68,6 +68,10 @@ You can also watch the video screencast I have at [http://wptheming.com/options-
|
|
68 |
|
69 |
== Changelog ==
|
70 |
|
|
|
|
|
|
|
|
|
71 |
= 1.8.4 =
|
72 |
|
73 |
* Update: Include link button in tinyMCE (props @rosswintle)
|
@@ -119,7 +123,7 @@ You can also watch the video screencast I have at [http://wptheming.com/options-
|
|
119 |
* Reuse media modal for uploads
|
120 |
* Portuguese translations (props @xipasduarte)
|
121 |
|
122 |
-
= 1.6 =
|
123 |
|
124 |
* Allow media buttons in the editor option
|
125 |
* JS/CSS should only load on options page
|
@@ -135,7 +139,7 @@ You can also watch the video screencast I have at [http://wptheming.com/options-
|
|
135 |
|
136 |
* Temporarily removed update routine
|
137 |
|
138 |
-
= 1.5 =
|
139 |
|
140 |
* Updated width of text input
|
141 |
* New media uploader
|
@@ -146,7 +150,7 @@ You can also watch the video screencast I have at [http://wptheming.com/options-
|
|
146 |
* Russian translations (verha.net)
|
147 |
* Swedish translations (kjeell.se)
|
148 |
|
149 |
-
= 1.4 =
|
150 |
|
151 |
* Add missing sanitization to typography color (@weplantmedia)
|
152 |
* New colorpicker (props @mattweibe for getting this in WordPress core)
|
@@ -155,14 +159,14 @@ You can also watch the video screencast I have at [http://wptheming.com/options-
|
|
155 |
* Allow ids to passed to tabs (props @themeblvd)
|
156 |
* Added optionsframework_after_validate hook (h/t @vanpop and @pryley)
|
157 |
|
158 |
-
= 1.3 =
|
159 |
|
160 |
* Allow options to save when set by theme customizer
|
161 |
* Save checkbox options to boolean false rather than "0"
|
162 |
* Added optionsframework_after hook
|
163 |
* Hungarian translations by kardiweb.org
|
164 |
|
165 |
-
= 1.2 =
|
166 |
|
167 |
* Fix for font_size santization
|
168 |
* Added internationalization support (@weslly)
|
@@ -171,7 +175,7 @@ You can also watch the video screencast I have at [http://wptheming.com/options-
|
|
171 |
* Make uploader post type non-public (@samargulies)
|
172 |
* ID can now be passed on info option for styling purposes
|
173 |
|
174 |
-
= 1.1 =
|
175 |
|
176 |
* Added support for wp_editor
|
177 |
* Updated textarea settings to allow rows parameter
|
@@ -179,13 +183,13 @@ You can also watch the video screencast I have at [http://wptheming.com/options-
|
|
179 |
* Filtering of typography options (@mattwiebe)
|
180 |
* Updated methods for typography options
|
181 |
|
182 |
-
= 1.0 =
|
183 |
|
184 |
* Added filters for entire options array (props @inxilpro)
|
185 |
* Added a filter for options.php location (props @mattwiebe)
|
186 |
* Option header (h4) will not display in panel if name !isset (props @alepee)
|
187 |
|
188 |
-
= 0.9 =
|
189 |
|
190 |
* Load thickbox using site_url() to allow for https (props @samargulies)
|
191 |
* Change santization to use $allowedposttags for textarea and info
|
@@ -195,20 +199,20 @@ You can also watch the video screencast I have at [http://wptheming.com/options-
|
|
195 |
* Allows dashes in the options id (props @mantone)
|
196 |
* Uses add_theme_page over add_submenu_page (props @enile8)
|
197 |
|
198 |
-
= 0.8 =
|
199 |
|
200 |
* Saves tab states using local storage
|
201 |
* Style updates WordPress 3.2 release
|
202 |
* Added sanitization filter for info (of_sanitize_allowedtags)
|
203 |
|
204 |
-
= 0.7 =
|
205 |
|
206 |
* Added filtering for recognized arrays (like Font Face)
|
207 |
* Using isset rather than !empty to return of_get_option
|
208 |
* Significant updates for setting and restoring defaults
|
209 |
* Background option outputs no-repeat rather than none
|
210 |
|
211 |
-
= 0.6 =
|
212 |
|
213 |
* Introduces validation filters (props @_mfields)
|
214 |
* Better data sanitization and escaping (props @_mfields)
|
@@ -217,28 +221,28 @@ You can also watch the video screencast I have at [http://wptheming.com/options-
|
|
217 |
* Stores typography, backgrounds and multichecks directly as arrays
|
218 |
* For full description, see: http://wptheming.com/2011/05/options-framework-0-6/
|
219 |
|
220 |
-
= 0.5 =
|
221 |
|
222 |
* Fixed errors when more than one multicheck options is used
|
223 |
* Updated optionsframework_setdefaults so defaults actually save on first run
|
224 |
* Require that all options have lowercase alphanumeric ids
|
225 |
* Added link to options from the WordPress admin bar
|
226 |
|
227 |
-
= 0.4 =
|
228 |
|
229 |
* Updated multicheck option to save keys rather than values
|
230 |
* Unset default array options after each output in optionsframework_setdefaults
|
231 |
|
232 |
-
= 0.3 =
|
233 |
|
234 |
* White listed options for increased security
|
235 |
* Fixed errors with checkbox and select boxes
|
236 |
* Improved the multicheck option and changed format
|
237 |
|
238 |
-
= 0.2 =
|
239 |
|
240 |
* Uploaded to the WordPress repository
|
241 |
|
242 |
-
= 0.1 =
|
243 |
|
244 |
* Initial release
|
4 |
Tags: options, theme options
|
5 |
Donate link: http://bit.ly/options-donate-2
|
6 |
Requires at least: 3.6
|
7 |
+
Tested up to: 4.8.3
|
8 |
+
Stable tag: 1.8.5
|
9 |
License: GPLv2
|
10 |
|
11 |
== Description ==
|
68 |
|
69 |
== Changelog ==
|
70 |
|
71 |
+
= 1.8.5 =
|
72 |
+
|
73 |
+
* Update: Style headers to look nice in WordPress 4.4
|
74 |
+
|
75 |
= 1.8.4 =
|
76 |
|
77 |
* Update: Include link button in tinyMCE (props @rosswintle)
|
123 |
* Reuse media modal for uploads
|
124 |
* Portuguese translations (props @xipasduarte)
|
125 |
|
126 |
+
= 1.6.0 =
|
127 |
|
128 |
* Allow media buttons in the editor option
|
129 |
* JS/CSS should only load on options page
|
139 |
|
140 |
* Temporarily removed update routine
|
141 |
|
142 |
+
= 1.5.0 =
|
143 |
|
144 |
* Updated width of text input
|
145 |
* New media uploader
|
150 |
* Russian translations (verha.net)
|
151 |
* Swedish translations (kjeell.se)
|
152 |
|
153 |
+
= 1.4.0 =
|
154 |
|
155 |
* Add missing sanitization to typography color (@weplantmedia)
|
156 |
* New colorpicker (props @mattweibe for getting this in WordPress core)
|
159 |
* Allow ids to passed to tabs (props @themeblvd)
|
160 |
* Added optionsframework_after_validate hook (h/t @vanpop and @pryley)
|
161 |
|
162 |
+
= 1.3.0 =
|
163 |
|
164 |
* Allow options to save when set by theme customizer
|
165 |
* Save checkbox options to boolean false rather than "0"
|
166 |
* Added optionsframework_after hook
|
167 |
* Hungarian translations by kardiweb.org
|
168 |
|
169 |
+
= 1.2.0 =
|
170 |
|
171 |
* Fix for font_size santization
|
172 |
* Added internationalization support (@weslly)
|
175 |
* Make uploader post type non-public (@samargulies)
|
176 |
* ID can now be passed on info option for styling purposes
|
177 |
|
178 |
+
= 1.1.0 =
|
179 |
|
180 |
* Added support for wp_editor
|
181 |
* Updated textarea settings to allow rows parameter
|
183 |
* Filtering of typography options (@mattwiebe)
|
184 |
* Updated methods for typography options
|
185 |
|
186 |
+
= 1.0.0 =
|
187 |
|
188 |
* Added filters for entire options array (props @inxilpro)
|
189 |
* Added a filter for options.php location (props @mattwiebe)
|
190 |
* Option header (h4) will not display in panel if name !isset (props @alepee)
|
191 |
|
192 |
+
= 0.9.0 =
|
193 |
|
194 |
* Load thickbox using site_url() to allow for https (props @samargulies)
|
195 |
* Change santization to use $allowedposttags for textarea and info
|
199 |
* Allows dashes in the options id (props @mantone)
|
200 |
* Uses add_theme_page over add_submenu_page (props @enile8)
|
201 |
|
202 |
+
= 0.8.0 =
|
203 |
|
204 |
* Saves tab states using local storage
|
205 |
* Style updates WordPress 3.2 release
|
206 |
* Added sanitization filter for info (of_sanitize_allowedtags)
|
207 |
|
208 |
+
= 0.7.0 =
|
209 |
|
210 |
* Added filtering for recognized arrays (like Font Face)
|
211 |
* Using isset rather than !empty to return of_get_option
|
212 |
* Significant updates for setting and restoring defaults
|
213 |
* Background option outputs no-repeat rather than none
|
214 |
|
215 |
+
= 0.6.0 =
|
216 |
|
217 |
* Introduces validation filters (props @_mfields)
|
218 |
* Better data sanitization and escaping (props @_mfields)
|
221 |
* Stores typography, backgrounds and multichecks directly as arrays
|
222 |
* For full description, see: http://wptheming.com/2011/05/options-framework-0-6/
|
223 |
|
224 |
+
= 0.5.0 =
|
225 |
|
226 |
* Fixed errors when more than one multicheck options is used
|
227 |
* Updated optionsframework_setdefaults so defaults actually save on first run
|
228 |
* Require that all options have lowercase alphanumeric ids
|
229 |
* Added link to options from the WordPress admin bar
|
230 |
|
231 |
+
= 0.4.0 =
|
232 |
|
233 |
* Updated multicheck option to save keys rather than values
|
234 |
* Unset default array options after each output in optionsframework_setdefaults
|
235 |
|
236 |
+
= 0.3.0 =
|
237 |
|
238 |
* White listed options for increased security
|
239 |
* Fixed errors with checkbox and select boxes
|
240 |
* Improved the multicheck option and changed format
|
241 |
|
242 |
+
= 0.2.0 =
|
243 |
|
244 |
* Uploaded to the WordPress repository
|
245 |
|
246 |
+
= 0.1.0 =
|
247 |
|
248 |
* Initial release
|