Commit Graph

23 Commits

Author SHA1 Message Date
Nikhil Chaudhary 951c57ada1
Update class-wc-meta-box-product-images.php
Added escaping function where required.
2019-09-14 09:13:48 +05:30
Iulia Cazan f49cec5108 Coding standard updates 2019-05-23 08:58:13 +03:00
Iulia Cazan 051277d26e Rename the hook 2019-05-21 09:20:46 +03:00
Iulia Cazan 1187563c93 Transform the filter into action, rewrite the piece of code to pass the coding standards, remove markup restriction. 2019-05-21 09:18:15 +03:00
Iulia Cazan a1ac64aa30 Implement a new filter that allows for custom info or extra actions to be exposed for each of the attachments selected in the Product gallery 2019-05-17 12:03:40 +03:00
Rodrigo Primo 23b69eba53 Use phpcbf to fix coding standard violations in includes/admin
After using phpcbf to fix the coding standard violations, I did some manual adjustments to the changes, especially in poorly indented files.
2018-03-05 16:21:35 -03:00
Caleb Burks bee4a57403 Fix array to string conversion error 2018-02-07 20:30:37 -05:00
Gerhard Potgieter f48985095b Update image galery to use CRUD and not directly meta_data calls 2018-01-18 11:10:26 +02:00
Mike Jolley e1a82a4127 Add nonce to both panels. Closes #18333 2018-01-03 10:37:07 +00:00
Jaydeep Rami 3522857d23 Fix typo in WooCommerce plugin (#16135)
* Fixed typo

* Fixed more typo

* Fixed more typo

* Fix tyop

* Fix more typo

* Fix more typo

* Fix typo

* Fix typo

* Fix typo

* Fix typo datatime object

* Fix short name of compat

* Fix typo: update short name

* Fix typo "deactive" to "deactivate" and short BW - Compat

* Fix typo "Backwards compat"

* Fix typo 'parameters'

* Fix more typo 'pararmeters'

* Fix typo 'compund'

* FIx typo order

* Fix typo

* Fix typo 'incorrecly'

* Fix typo 'genarate'

* Fix typo 'reletive'

* Fix typo 'Handly'

* Fix typo 'rotatated'

* Fix typo

* Fix typo 'additonal'

* Fix typos
2017-07-17 11:10:52 +01:00
Claudio Sanches 657c312cae Fix strings case (#12069)
* Fixed case for all _e, esc_attr_e and esc_html_e strings

* Fixed case for all _n_noop strings

* Fixed case for all _x strings

* Fixed case for all __, esc_html__ and esc_attr__ strings

* Fixed a few more strings

* Fixed strings in unit tests

* Fix PayPal Standard case.

* Save Order text
2016-10-12 11:16:30 +01:00
Mike Jolley f8d483fd30 $updated_gallery_ids was not set 2016-04-05 07:42:03 -05:00
Fredrik Forsmo da2e0ac950 Add missing phpdoc param tags to all WC_Meta_Box_* classes 2016-01-04 22:31:36 +01:00
roykho aa7d583656 Fix lingering product gallery attachment ids when delete from media fixes #9681 2015-11-23 22:01:30 -08:00
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
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
Nicola Mustone 85fd634861 fix scrutinizer issues 2015-04-01 15:33:56 +02:00
splashingpixels 13ad1100c5 undefined index when product image gallery side meta box is removed fixes 6855 2014-11-27 20:42:58 -08:00
shivapoudel ae3bc4051f Absolute path, Indentation & docblocks fix for includes/admin/meta-boxes/*.php :) 2014-09-21 01:50:06 +05:45
Tamara Zuk fc0e7adacb Coding Standards: Admin - Meta boxes
* 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`
* improved readability

@see http://make.wordpress.org/core/handbook/coding-standards/php/
2014-08-31 03:18:21 -04:00
Mike Jolley ded4b7404d Admin changes for #5046
- Removed post type classes. Since they were always loaded, there was
no benefit having them split up. Combined meaning less hooked in
methods.
- Stopped loading some function files and sessions in the admin area.
They are not needed there.
- Made a few admin page classes static as they are stateless
2014-06-04 11:16:19 +01:00