Commit Graph

65 Commits

Author SHA1 Message Date
Claudio Sanches 9e41552342 Removed all "@return void" 2015-07-16 16:55:48 -03:00
Justin Sainton 4d5d018a34 Deprecate PHP4 constructor usage in widgets. This is deprecated in upcoming PHP versions. 2015-06-29 11:46:03 -07:00
Nicola Mustone d2af01df5b scrutinizer suggested tweaks 2015-03-27 16:15:40 +01:00
Claudio Sanches b4cc3cfcd5 Improved the widget title 2015-01-02 11:05:06 -02:00
claudiosmweb 24e17e36d3 Preventing errors when adding a widget using the WP Customize
Fixed coding standards and used methods from WC_Widget for start and end the widget
2014-11-14 23:12:59 -02:00
Mike Jolley 69ca69ce52 Split up the product widget methods 2014-10-29 11:07:06 +00:00
Mike Jolley c4ef86d44e scrutinizer patches 2014-09-08 00:37:55 +01:00
Mike Jolley 1d13f767b3 Merge pull request #6157 from tamarazuk/coding-standards
Coding standards Part 1
2014-09-03 17:05:42 +01:00
claudiosmweb 78c7fefe3e fixed some docblocks 2014-09-02 16:50:19 -03:00
Tamara Zuk 9c7826319c Coding Standards: Abstract classes
* 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 01:49:58 -04:00
Tsz Ming WONG 35159c50c8 Add filter to allow override the cache widget id 2014-06-07 00:34:12 +08:00
Mike Jolley fbfdc0ea95 Fix saving of checkboxes (off state) in widgets API 2014-02-12 09:29:47 +00:00
Coen Jacobs faaebab2ff Always require braces (since yesterday ;) )
In order to comply to the new coding standards:
http://make.wordpress.org/core/2013/11/13/proposed-coding-standards-change-always-require-braces/
2013-11-14 20:31:08 +01:00
Scott Basgaard c36369010d When adding new widget instance, use isset() to make sure setting key exists and avoid notices/warnings. 2013-11-13 21:03:46 -05:00
Mike Jolley c75ea04c1c classes -> includes 2013-06-11 14:25:30 +01:00