Making WordPress.org


Ignore:
Timestamp:
06/06/2018 04:18:07 AM (7 years ago)
Author:
dd32
Message:

Theme Directory: Add a 'Report this theme' button.

Fixes #3626

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-themes/view-templates/theme-single.php

    r6347 r7272  
    114114                </div><!-- .theme-support -->
    115115
     116                <div class="theme-report">
     117                        <h4><?php _e( 'Report', 'wporg-themes' ); ?></h4>
     118                        <p><?php _e( 'Does this theme have major issues?', 'wporg-themes' ); ?></p>
     119                        <a rel="nofollow" href="https://make.wordpress.org/themes/report-theme/?rep-name={{ data.current_user }}&rep-theme={{ data.homepage }}&rep-subject=Reported+Theme:+{{ data.name }}" class="button button-secondary"><?php _e( 'Report this theme', 'wporg-themes' ); ?></a>
     120                </div><!-- .theme-report -->
     121
    116122                <div class="theme-translations">
    117123                    <h4><?php _e( 'Translations', 'wporg-themes' ); ?></h4>
Note: See TracChangeset for help on using the changeset viewer.