Plugin Directory

Changeset 3410616


Ignore:
Timestamp:
12/04/2025 09:00:43 AM (10 days ago)
Author:
Collizo4sky
Message:

Bumped to 4.4.4

Location:
rate-my-post/trunk
Files:
7 edited

Legend:

Unmodified
Added
Removed
  • rate-my-post/trunk/changelog.txt

    r3331497 r3410616  
    11== Changelog ==
     2
     3= 4.4.4 =
     4* Switched to array data type for schema representation.
    25
    36= 4.4.3 =
  • rate-my-post/trunk/languages/rate-my-post.pot

    r3331497 r3410616  
    33msgid ""
    44msgstr ""
    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"
    66"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/rate-my-post\n"
    77"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
     
    1010"Content-Type: text/plain; charset=UTF-8\n"
    1111"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"
    1313"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
    1414"X-Generator: WP-CLI 2.8.1\n"
  • rate-my-post/trunk/public/templates/structured-data.php

    r3099461 r3410616  
    1010 * @subpackage Rate_My_Post/public/partials
    1111 */
     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);
    1237?>
    1338
    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  
    55 * Plugin URI:        https://feedbackwp.com
    66 * Description:       Allows you to easily add rating functionality to your WordPress website.
    7  * Version:           4.4.3
     7 * Version:           4.4.4
    88 * Author:            FeedbackWP
    99 * Author URI:        https://feedbackwp.com/
     
    3636
    3737// Plugin version
    38 define('RATE_MY_POST_VERSION', '4.4.3');
     38define('RATE_MY_POST_VERSION', '4.4.4');
    3939define('RATE_MY_POST_SYSTEM_FILE_PATH', __FILE__);
    4040
  • rate-my-post/trunk/readme.txt

    r3331497 r3410616  
    44Tags: rating system, rate post, rate page, star rating, post rating
    55Requires at least: 6.0
    6 Tested up to: 6.8
    7 Stable tag: 4.4.3
     6Tested up to: 6.9
     7Stable tag: 4.4.4
    88Requires PHP: 7.4
    99License: GPLv3
     
    224224== Changelog ==
    225225
     226= 4.4.4 =
     227* Switched to array data type for schema representation.
     228
    226229= 4.4.3 =
    227230* Fixed migration where kk star CPT reviews did not import.
  • rate-my-post/trunk/vendor/composer/installed.php

    r3331497 r3410616  
    44        'pretty_version' => 'dev-main',
    55        'version' => 'dev-main',
    6         'reference' => '1ad90cbc1ad59a51b4dc2c894869c29ee9470e76',
     6        'reference' => '5d4f8367e98c6502e6774dbf39427704f0047f12',
    77        'type' => 'library',
    88        'install_path' => __DIR__ . '/../../',
     
    1414            'pretty_version' => 'dev-main',
    1515            'version' => 'dev-main',
    16             'reference' => '1ad90cbc1ad59a51b4dc2c894869c29ee9470e76',
     16            'reference' => '5d4f8367e98c6502e6774dbf39427704f0047f12',
    1717            'type' => 'library',
    1818            'install_path' => __DIR__ . '/../../',
  • rate-my-post/trunk/vendor/composer/platform_check.php

    r3298084 r3410616  
    2020        }
    2121    }
    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)
    2524    );
    2625}
Note: See TracChangeset for help on using the changeset viewer.