Changeset 3410616
- Timestamp:
- 12/04/2025 09:00:43 AM (10 days ago)
- Location:
- rate-my-post/trunk
- Files:
-
- 7 edited
-
changelog.txt (modified) (1 diff)
-
languages/rate-my-post.pot (modified) (2 diffs)
-
public/templates/structured-data.php (modified) (1 diff)
-
rate-my-post.php (modified) (2 diffs)
-
readme.txt (modified) (2 diffs)
-
vendor/composer/installed.php (modified) (2 diffs)
-
vendor/composer/platform_check.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
rate-my-post/trunk/changelog.txt
r3331497 r3410616 1 1 == Changelog == 2 3 = 4.4.4 = 4 * Switched to array data type for schema representation. 2 5 3 6 = 4.4.3 = -
rate-my-post/trunk/languages/rate-my-post.pot
r3331497 r3410616 3 3 msgid "" 4 4 msgstr "" 5 "Project-Id-Version: FeedbackWP - Rate My Post - WP Rating System 4.4. 3\n"5 "Project-Id-Version: FeedbackWP - Rate My Post - WP Rating System 4.4.4\n" 6 6 "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/rate-my-post\n" 7 7 "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" … … 10 10 "Content-Type: text/plain; charset=UTF-8\n" 11 11 "Content-Transfer-Encoding: 8bit\n" 12 "POT-Creation-Date: 2025- 07-21T11:13:10+00:00\n"12 "POT-Creation-Date: 2025-12-04T08:19:51+00:00\n" 13 13 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" 14 14 "X-Generator: WP-CLI 2.8.1\n" -
rate-my-post/trunk/public/templates/structured-data.php
r3099461 r3410616 10 10 * @subpackage Rate_My_Post/public/partials 11 11 */ 12 13 $average_rating = Rate_My_Post_Common::get_average_rating($post_id); 14 $vote_count = Rate_My_Post_Common::get_vote_count($post_id); 15 $schema_type = $this->schema_type(); 16 $max_rating = Rate_My_Post_Common::max_rating(); 17 $image = $this->schema_image($post_id); 18 $name = wp_strip_all_tags(get_the_title($post_id)); 19 $description = $name; 20 21 $schema_array = apply_filters('rmp_raw_structured_data', [ 22 '@context' => 'http://schema.org', 23 '@type' => $schema_type, 24 'aggregateRating' => [ 25 '@type' => 'AggregateRating', 26 'bestRating' => strval($max_rating), 27 'ratingCount' => strval(absint($vote_count)), 28 'ratingValue' => strval($average_rating) 29 ], 30 'image' => $image, 31 'name' => $name, 32 'description' => $description 33 ], $post_id, $average_rating, $vote_count, $schema_type, $max_rating, $image, $name); 34 35 // Convert to JSON 36 $json = json_encode($schema_array, JSON_UNESCAPED_SLASHES); 12 37 ?> 13 38 14 <?php 15 $average_rating = Rate_My_Post_Common::get_average_rating( $post_id ); 16 $vote_count = Rate_My_Post_Common::get_vote_count( $post_id ); 17 $schema_type = $this->schema_type(); 18 $max_rating = Rate_My_Post_Common::max_rating(); 19 $image = $this->schema_image( $post_id ); 20 $name = wp_strip_all_tags( get_the_title( $post_id ) ); 21 $description = $name; 22 ?> 23 24 <script type="application/ld+json"> 25 { 26 "@context": "http://schema.org", 27 "@type": "<?php echo $schema_type; ?>", 28 "aggregateRating": { 29 "@type": "AggregateRating", 30 "bestRating": "<?php echo $max_rating; ?>", 31 "ratingCount": "<?php echo absint( $vote_count ); ?>", 32 "ratingValue": "<?php echo $average_rating; ?>" 33 }, 34 "image": "<?php echo $image; ?>", 35 "name": "<?php echo $name; ?>", 36 "description": "<?php echo $description; ?>" 37 } 38 </script> 39 <script type="application/ld+json"><?php echo $json; ?></script> -
rate-my-post/trunk/rate-my-post.php
r3331497 r3410616 5 5 * Plugin URI: https://feedbackwp.com 6 6 * Description: Allows you to easily add rating functionality to your WordPress website. 7 * Version: 4.4. 37 * Version: 4.4.4 8 8 * Author: FeedbackWP 9 9 * Author URI: https://feedbackwp.com/ … … 36 36 37 37 // Plugin version 38 define('RATE_MY_POST_VERSION', '4.4. 3');38 define('RATE_MY_POST_VERSION', '4.4.4'); 39 39 define('RATE_MY_POST_SYSTEM_FILE_PATH', __FILE__); 40 40 -
rate-my-post/trunk/readme.txt
r3331497 r3410616 4 4 Tags: rating system, rate post, rate page, star rating, post rating 5 5 Requires at least: 6.0 6 Tested up to: 6. 87 Stable tag: 4.4. 36 Tested up to: 6.9 7 Stable tag: 4.4.4 8 8 Requires PHP: 7.4 9 9 License: GPLv3 … … 224 224 == Changelog == 225 225 226 = 4.4.4 = 227 * Switched to array data type for schema representation. 228 226 229 = 4.4.3 = 227 230 * Fixed migration where kk star CPT reviews did not import. -
rate-my-post/trunk/vendor/composer/installed.php
r3331497 r3410616 4 4 'pretty_version' => 'dev-main', 5 5 'version' => 'dev-main', 6 'reference' => ' 1ad90cbc1ad59a51b4dc2c894869c29ee9470e76',6 'reference' => '5d4f8367e98c6502e6774dbf39427704f0047f12', 7 7 'type' => 'library', 8 8 'install_path' => __DIR__ . '/../../', … … 14 14 'pretty_version' => 'dev-main', 15 15 'version' => 'dev-main', 16 'reference' => ' 1ad90cbc1ad59a51b4dc2c894869c29ee9470e76',16 'reference' => '5d4f8367e98c6502e6774dbf39427704f0047f12', 17 17 'type' => 'library', 18 18 'install_path' => __DIR__ . '/../../', -
rate-my-post/trunk/vendor/composer/platform_check.php
r3298084 r3410616 20 20 } 21 21 } 22 trigger_error( 23 'Composer detected issues in your platform: ' . implode(' ', $issues), 24 E_USER_ERROR 22 throw new \RuntimeException( 23 'Composer detected issues in your platform: ' . implode(' ', $issues) 25 24 ); 26 25 }
Note: See TracChangeset
for help on using the changeset viewer.