Commit Graph

151 Commits

Author SHA1 Message Date
Vignesh 8a4e7e34ca Update class-wc-admin-settings.php 2015-07-08 20:42:04 +05:30
Vignesh 4eef4bf846 Class attribute added for Checkbox in settings
Noticed class attribute missed in checkbox of admin settings function, this class name will help for developer also, can you please consider this as my proposal?
2015-07-08 20:24:36 +05:30
Mike Jolley 439ce9eed2 Merge branch 'save-fields-refactor-8495'
Closes #8495
2015-07-06 15:31:43 +01:00
Justin Shreve 5f627cf850 Move the color preview to its own separate "preview box" rather then changing the color of the input div box. 2015-06-11 07:15:51 +00:00
Claudio Sanches e106d57947 Merged #8021 2015-05-18 16:53:04 -03:00
Claudio Sanches 0edbfeaa35 Created new Settings API tab and moved the old webhooks tab to API tab 2015-05-15 16:12:11 -03:00
Mike Jolley 7254e45edc Remove notice fade class Closes #8096 2015-05-05 13:28:08 +01:00
Nicola Mustone d2d2bf60b0 revert typecasting format 2015-04-01 17:28:51 +02:00
Nicola Mustone 85fd634861 fix scrutinizer issues 2015-04-01 15:33:56 +02:00
Mike Jolley ec6fe19db1 Allow name definition in woocommerce_wp_select 2015-03-17 14:44:02 +00:00
Mike Jolley 5b7d03271e Pass reference to extract 2015-01-15 16:32:13 +00:00
Claudio Sanches b55ecea6ba Used wp_unslash() instead of stripslashes_deep()
The WordPress documentation recommends:

"This should be used to remove slashes from data passed to core API that expects data to be unslashed. Use this instead of stripslashes_deep()."
2015-01-13 17:54:10 -02:00
Claudio Sanches 695b04be61 Fixed conflits 2015-01-12 16:02:46 -02:00
Mike Jolley f18b2c6c93 Added and enqueued select2 to admin 2015-01-09 16:39:10 +00:00
Claudio Sanches 3c038e613f Created initial webhooks table list in settings page 2015-01-06 17:24:32 -02:00
Tamara Zuk af442599b1 Code Standards: Finish up admin includes
* fixed indentation - swapped spaces for tabs at start of line, swapped
tabs for spaces min-line for alignment
* removed instances of `@return void` and `@access public`

@see http://make.wordpress.org/core/handbook/coding-standards/php/

@see part 1: #6157
2014-11-30 01:52:32 -05:00
claudiosmweb 74ba11c189 Removed some unused code 2014-11-19 21:36:47 -02:00
Bryce 295fed6467 Add placeholder attribute for settings API #6764 2014-11-16 14:49:43 +07:00
Bryce d717eed3ad Add script_debug $suffix for admin settings.js 2014-11-13 15:57:09 +07:00
Mike Jolley 20279831e7 Tweak to naming in #6375 2014-10-17 16:24:21 +01:00
Dominic a96c8fa836 Moved description and tip generation to function
This would allow plugins to easily generate the necessary HTML for the
tooltips and field descriptions when implementing their own custom
setting field types.
2014-09-23 15:27:15 -07:00
claudiosmweb a84021306e fixed some coding standards in includes/admin/class-wc-admin-settings.php 2014-09-11 21:40:30 -03:00
claudiosmweb ec9e08ba7d Fixed images crop option and wc_get_image_size() function
Reported in http://wordpress.org/support/topic/hard-crop

@mikejolley
2014-09-11 21:22:30 -03:00
Mike Jolley c4ef86d44e scrutinizer patches 2014-09-08 00:37:55 +01:00
Mike Jolley 5dcd19f5fa Better handling of serialised settings Closes #4584 2014-06-25 16:30:47 +01:00
Mike Jolley 3df6a71b96 Removed some transient clears where unnecessary 2014-06-19 12:25:10 +01:00
claudiosmweb 61c94f9e25 fixed some hard code strings 2014-06-11 17:12:23 -03:00
Coen Jacobs 3ad8935b20 Removed ununsed global variables in local scopes 2014-06-08 22:33:11 +02:00
Coen Jacobs cc7adb4819 Disable image size settings if filters are being used 2014-05-21 16:28:36 +02:00
Mike Jolley 94693ea81d Admin screen strings need to be sanitised to work with chinese chars Closes #4788 2014-02-14 10:57:48 +00:00
Mike Jolley b0755f695f Sections can be lowered using sanitize_title Closes #4700
@coenjacobs pick me
2014-02-11 10:30:37 +00:00
toddlahman 2725527d4a Removed urldecode from $_GET and $_REQUEST
The superglobals $_GET and $_REQUEST are already decoded. Using
urldecode() on an element in $_GET or $_REQUEST could have unexpected
and dangerous results.

See Notes:

http://us1.php.net/manual/en/function.urldecode.php
2014-01-26 01:19:17 -08:00
Mike Jolley 3958a40b06 No span for checkbox descriptions 2014-01-22 15:27:42 +00:00
Mike Jolley 986f612bf7 tidy up checkbox output 2014-01-22 15:22:58 +00:00
Kathy Darling f93abb7acb fix for #4547 2014-01-22 13:54:25 +01:00
Mike Jolley ddb755afd5 braces 2014-01-08 14:12:19 +00:00
Mike Jolley 7cafdb4bf8 Prevent settings loading twice 2014-01-03 14:13:18 +00:00
Gregory K cdbe5950f0 PhpDocs and TODO comments 2013-11-28 11:49:30 -05:00
Coen Jacobs dbb9b6fc68 Removed duplicate country_dropdown_options() echo. Closes #4228 2013-11-28 13:24:23 +01:00
Coen Jacobs c1a439eb99 Formatting functions woocommerce to wc refactor 2013-11-25 14:34:21 +01:00
Coen Jacobs aa4d9d5914 Better order for admin settings tabs 2013-11-25 12:06:42 +01:00
Scott Basgaard 922fa990a5 esc_attr() all the things. 2013-11-20 20:11:59 +01:00
Max Rice dcdca4d4d2 Remove API settings tab
Part of #4055
2013-11-19 03:01:14 -05:00
Max Rice 4daaf22304 Add REST API settings stub 2013-11-03 18:55:34 -05:00
Mike Jolley e3680ef670 Strict standards closes #3842 2013-09-26 16:39:10 +01:00
Mike Jolley 9472646609 Customisable query vars. #3708 2013-09-03 16:14:56 +01:00
Mike Jolley 3d078397b3 Merge branch 'Re-organise-settings'
Moves settings together. Fixes #3497
2013-08-22 11:58:03 +01:00
Mike Jolley 57157db9bf Function refactoring. 2013-08-09 17:11:21 +01:00
Mike Jolley d77bac9330 Removed hooks and functions from admin. 2013-08-06 16:56:15 +01:00
Mike Jolley 03af136986 Separate ship to options from sell to. Closes #3215. 2013-08-02 16:54:28 +01:00
Mike Jolley 9462dde581 Settings refactoring 2013-07-26 15:36:28 +01:00