Commit Graph

96 Commits

Author SHA1 Message Date
Claudio Sanches ecb0c46f7f Use get_data() at less one time 2016-10-13 19:48:02 -03:00
Claudio Sanches 9dce511dde Removed dead $limit_data param from generate_product_data() 2016-10-13 19:44:12 -03:00
Claudio Sanches fae8574619 Make methods less complex and more legible 2016-10-13 19:40:15 -03:00
Claudio Sanches f3275be8d2 Fixed undeclared array variables 2016-10-13 19:05:51 -03:00
Claudio Sanches 7dc74f6dfc Improved WC_Structured_Data::generate_* methods
- Less conditional code
- Better docblocks
- Fixed mixed variables
- Stop returning bool since it's only displaying
2016-10-13 18:51:20 -03:00
Claudio Sanches 48210fa39a No need to declare 0 or 1 params in add_action() 2016-10-13 18:21:12 -03:00
Claudio Sanches 5967762e01 Already obvious 2016-10-13 18:19:41 -03:00
Claudio Sanches b9dfdacad4 Removed confuse helper 2016-10-13 18:19:13 -03:00
opportus af26ab6f3d improved structured data - valids TCI checks 2016-09-21 16:37:54 +02:00
opportus eaa7def18a improved structured data - some little tweaks 2016-09-14 22:08:57 +02:00
opportus db8cb4cf15 improved structured data - fixes missused `@uses` docblock tags 2016-08-28 09:24:17 +02:00
opportus a25e296782 improved structured data - fixes the previous mistake 2016-08-26 18:52:31 +02:00
opportus e61c48272e improved structured data - a little revision 2016-08-26 18:37:19 +02:00
opportus fff204490c improved structured data - limits product structured data on archives and shop page 2016-08-26 16:57:49 +02:00
opportus 713adf2439 improved structured data - disable variable offers for looped products 2016-08-23 15:44:46 +02:00
opportus afa67364cd improved structured data - some code optimization - revision1 2016-08-18 20:57:11 +02:00
opportus 363ec85c91 improved structured data - some code optimization 2016-08-18 20:37:34 +02:00
opportus 7c9374f7f9 improved structured data - makes generators usable outside of template loop 2016-08-18 13:24:17 +02:00
opportus f5187d650a improved structured data - PHP<=5.4 compatibility fix plus few little tweaks 2016-08-18 02:31:13 +02:00
opportus 2189cc17e2 improved structured data - `get_structured_data()` method refactor for
PHP<=5.4 compatibility and code optimization reasons
2016-08-18 01:02:43 +02:00
opportus 88929a9d35 improved structured data - add `methhod_exists()` statement into
`generate_output_structured_data()` method
2016-08-17 21:14:59 +02:00
opportus 6f3974d0e2 improved structured data - fixes fatal error with grouped products, thanks @leewillis77 2016-08-15 22:05:06 +02:00
opportus 6c1990c3cf improved structured data - some final little tweaks 2016-08-15 14:10:14 +02:00
opportus 5535da6a5b improved structured data - added generate_output_structured_data() method
| modified some methods names | few other tweaks
2016-08-15 00:39:01 +02:00
opportus 017929dfdd improved structured data - class refactor - revision7 2016-08-12 23:53:37 +02:00
opportus f89408884b improved structured data - class refactor - revision6 2016-08-12 22:58:23 +02:00
opportus 7290e93a33 improved structured data - removed SoftwareApplication and MusicAlbum
which were inappropriately replacing the Product type
2016-08-12 18:13:11 +02:00
opportus ec3cce27ad improved structured data - class refactor - fixed bugs 2016-08-12 15:19:26 +02:00
opportus 8ea2842a39 improved structured data - class refactor - revision5 2016-08-12 11:01:02 +02:00
opportus 637e64a6b5 improved structured data - class refactor - revision4 2016-08-12 02:55:52 +02:00
opportus 1e52d903f0 improved structured data - class refactor - revision3 2016-08-12 01:29:35 +02:00
opportus 42637e85c7 improved structured data - class refactor - revision2 + coding standards tweaks 2016-08-11 14:58:05 +02:00
opportus 8176bc5282 improved structured data - class refactor - revision1 2016-08-11 12:04:12 +02:00
opportus 39dce5a450 improved structured data - tabulation fix 2016-08-11 11:17:14 +02:00
opportus b61aae01bf improved structured data - email order structured data integration +
WC_Structured_Data refactor + coding standards tweaks
2016-08-11 00:23:26 +02:00
opportus a918db0983 improved structured data - @leewillis77 feature - revision1 2016-08-06 19:20:51 +02:00
opportus 4d5e641f11 improved structured data - @leewillis77 feature 2016-08-06 00:32:32 +02:00
opportus bbfce08bb5 improved structured data - patch10 2016-07-30 13:59:38 +02:00
opportus 7f12356d6b improved structured data - patch9 2016-07-25 00:38:59 +02:00
opportus 11ff1d535a improved structured data - patch8 2016-07-24 23:46:30 +02:00
opportus 2a5439bb7c improved structured data - patch7 2016-07-24 18:53:20 +02:00
opportus 5fa01c749b improved structured data - patch6 2016-07-24 09:31:12 +02:00
opportus 913ddd6afc improved structured data - patch5 2016-07-23 19:30:34 +02:00
opportus 73be376235 improved structured data - patch4 2016-07-23 04:56:01 +02:00
opportus e177c61dfb improved structured data - patch3 2016-07-20 04:33:07 +02:00
opportus d89cbbec23 improved structured data - patch2 2016-07-19 21:36:52 +02:00