Making WordPress.org


Ignore:
Timestamp:
04/30/2024 04:01:46 AM (10 months ago)
Author:
dufresnesteven
Message:

plugin-directory: Update sidebar buttons to be links.

See: https://github.com/WordPress/wordpress.org/issues/263
Props: alh0319

File:
1 edited

Legend:

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

    r9654 r13617  
    7979        <?php if ( is_user_logged_in() ) : ?>
    8080            <div class="user-rating">
    81                 <a class="button button-secondary" href="<?php echo esc_url( 'https://wordpress.org/support/plugin/' . $post->post_name . '/reviews/#new-post' ); ?>"><?php _e( 'Add my review', 'wporg-plugins' ); ?></a>
     81                <a href="<?php echo esc_url( 'https://wordpress.org/support/plugin/' . $post->post_name . '/reviews/#new-post' ); ?>"><?php _e( 'Add my review', 'wporg-plugins' ); ?></a>
    8282            </div>
    8383        <?php else: ?>
Note: See TracChangeset for help on using the changeset viewer.