Making WordPress.org


Ignore:
Timestamp:
01/05/2015 11:16:57 PM (10 years ago)
Author:
obenland
Message:

WP.org Themes: Let's keep debug code out of production.

See r1087.
See #745.

File:
1 edited

Legend:

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

    r1087 r1088  
    5454                    <span><?php printf( __( '%s out of 5 stars.', 'wporg-themes' ), '{{ (data.rating/20).toFixed(1) }}' ); ?></span>
    5555
    56                     <# console.log(data); if ( data.ratings ) { #>
     56                    <# if ( data.ratings ) { #>
    5757                        <div class="counter-container">
    5858                            <a href="//wordpress.org/support/view/theme-reviews/{{ data.id }}?filter=5" title="<?php printf( __( 'Click to see reviews that provided a rating of %d stars', 'wporg-themes' ), 5 ); ?>">
Note: See TracChangeset for help on using the changeset viewer.