WordPress.org

Making WordPress.org


Ignore:
Timestamp:
12/02/2014 11:03:33 PM (6 years ago)
Author:
obenland
Message:

WP.org Themes: First pass at improved single theme page.

  • Synchronizes content between modal and single view.
  • Displays a banner if the theme is outdated.
  • Removes unused inline CSS for easier code scanning.

See #745.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-themes/functions.php

    r1009 r1021  
    104104        $theme->version     = wp_kses( $theme->version,     $themes_allowedtags );
    105105        $theme->description = wp_kses( $theme->description, $themes_allowedtags );
    106         $theme->num_ratings = sprintf( _n( '(based on %s rating)', '(based on %s ratings)', $theme->num_ratings ), number_format_i18n( $theme->num_ratings ) );
     106        $theme->num_ratings = number_format_i18n( $theme->num_ratings );
    107107        $theme->preview_url = set_url_scheme( $theme->preview_url );
    108108    }
Note: See TracChangeset for help on using the changeset viewer.