Changeset 2293057
- Timestamp:
- 04/27/2020 09:55:01 PM (6 years ago)
- Location:
- mdt-reviews
- Files:
-
- 8 added
- 3 edited
-
tags/1.0.2 (added)
-
tags/1.0.2/README.md (added)
-
tags/1.0.2/class-mdt-reviews-admin.php (added)
-
tags/1.0.2/class-mdt-reviews-api.php (added)
-
tags/1.0.2/class-mdt-reviews-schema.php (added)
-
tags/1.0.2/composer.json (added)
-
tags/1.0.2/mdt-reviews.php (added)
-
tags/1.0.2/readme.txt (added)
-
trunk/class-mdt-reviews-api.php (modified) (1 diff)
-
trunk/mdt-reviews.php (modified) (1 diff)
-
trunk/readme.txt (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
mdt-reviews/trunk/class-mdt-reviews-api.php
r2243975 r2293057 62 62 global $post; 63 63 $review_json = \MDT\Reviews\Schema::get_structured_data($post); 64 $json_ld[0]['@graph'][] = $review_json; 64 if (!empty($review_json) && !empty($review_json['name'])) { 65 $json_ld[0]['@graph'][] = $review_json; 66 } 65 67 return $json_ld; 66 68 } -
mdt-reviews/trunk/mdt-reviews.php
r2255234 r2293057 4 4 * Plugin URI: https://github.com/wpcomvip/metro/ 5 5 * Description: Generate Review Structured Data 6 * Version: 1.0. 16 * Version: 1.0.2 7 7 * Author: Metro.co.uk 8 8 * Author URI: https://github.com/wpcomvip/metro/graphs/contributors -
mdt-reviews/trunk/readme.txt
r2255234 r2293057 17 17 == Upgrade Notice == 18 18 19 = 1.0.2 = 20 * Yoast compatibility. 21 19 22 = 1.0.1 = 20 23 * Apply filters to the schema output.
Note: See TracChangeset
for help on using the changeset viewer.