Making WordPress.org


Ignore:
Timestamp:
05/01/2017 09:23:28 PM (9 years ago)
Author:
ocean90
Message:

Plugin Directory: Add markup information (JSON+LD) for front page and plugin pages.

See #2661.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.org/public_html/wp-content/plugins/plugin-directory/widgets/class-ratings.php

    r5001 r5457  
    3737                echo $args['before_title'] . $title . $args['after_title'];
    3838                ?>
    39                 <meta itemprop="ratingCount" content="<?php echo esc_attr( $num_ratings ) ?>"/>
    4039
    4140                <?php if ( $rating ) : ?>
     
    4443                        <div class="rating">
    4544                                <?php echo Template::dashicons_stars( $rating ); ?>
    46                                 <meta itemprop="ratingValue" content="<?php echo esc_attr( $rating ) ?>">
    4745                        </div>
    4846
Note: See TracChangeset for help on using the changeset viewer.