Mike Jolley
fc3474f255
Stop message moving
...
Fixes #10400
2016-02-22 13:32:31 +00:00
Justin Shreve
608f651133
Fix hierarchy on settings screens.
2016-02-18 08:39:02 -08:00
Mike Jolley
1076854608
Merge branch 'master' into shipping-zones
...
# Conflicts:
# assets/css/admin.css
# includes/abstracts/abstract-wc-shipping-method.php
# includes/class-wc-shipping.php
# includes/shipping/flat-rate/class-wc-shipping-flat-rate.php
# includes/shipping/flat-rate/includes/class-wc-eval-math.php
# includes/shipping/free-shipping/class-wc-shipping-free-shipping.php
#
includes/shipping/legacy-international-delivery/class-wc-shipping-legacy
-international-delivery.php
#
includes/shipping/legacy-local-delivery/class-wc-shipping-legacy-local-d
elivery.php
2016-01-11 11:48:18 +00:00
Fredrik Forsmo
005be911b5
Improve docblock comments in WC_Admin_Settings class
...
* Added comments to properties that don’t have any.
2016-01-05 16:37:28 +01:00
Mike Jolley
97d47fb576
Move zones to main settings
2016-01-05 11:23:15 +00:00
Claudio Sanches
84ac454c3e
Fixed settings messages location in WP 4.4, closes #9575
2015-11-11 12:18:31 -02:00
Shiva Poudel
d9e8057df3
Tweak the dockblocks and periodic-ending fix
2015-11-04 00:05:08 +05:45
Claudio Sanches
5893875b0c
Removed period for file headers
2015-11-03 11:53:50 -02:00
Claudio Sanches
efa19f799d
Fixed some coding standards for docblocks
2015-11-03 10:28:01 -02:00
Claudio Sanches
b85ae9056c
Rename wc_add_help_tip() function to wc_help_tip()
2015-10-23 13:09:08 -02:00
Claudio Sanches
2e95a68357
Use new "question" mark icon font
...
Created wc_add_help_tip() function to generate the icons
Replaced all .help_tip elements and [?]
We'll keep the old image and styles in order to maintain backwards
compatibility
Closes #9381
2015-10-23 01:40:52 -02:00
Mike Jolley
3c7290a765
During updates, only recreate .htaccess if not using redirect download method.
...
Fixes #8923
2015-08-24 13:50:14 +01:00
Lucas Stark
00be9b1324
Update class-wc-admin-settings.php
...
Reset the $value to array when processing image_width. Strange bug if the value is a string and the array is not explicitly created.
2015-08-19 13:39:38 -04:00
George Stephanis
c938fa24da
More missing esc_attr calls, :(
2015-08-05 15:17:52 -04:00
George Stephanis
95e6b84fbb
Make sure we esc_attr translation results
...
Part 2 of … 2, I think.
2015-08-05 14:15:00 -04:00
Mike Jolley
763c7dde35
Fix product image size saving
...
Fixes #8695
2015-07-31 11:29:04 +01:00
Mike Jolley
9b21c1c7a1
Add deprecation notices for woocommerce_update_option_X and keep this action working.
...
Before this change, options would be overwritten by the new filters.
2015-07-14 10:10:07 +01:00
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