Making WordPress.org


Ignore:
Timestamp:
03/26/2015 12:43:29 AM (11 years ago)
Author:
obenland
Message:

WP.org Themes: Don't create a /preview/ URL for previews.

The default has always been wp-themes.com. Let's keep it that way and handle
the integrated preview in JS only.

Also provides a better fix for #901. If themes are advanced in preview, the
modal keeps up with that now.

Fixes #895.

File:
1 edited

Legend:

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

    r1374 r1453  
    1212                                <span class="theme-by"><?php printf( __( 'By %s' ), '{{ data.author.display_name }}' ); ?></span>
    1313
    14                                 <img class="theme-screenshot" src="{{ data.screenshot_url }}" alt="" />
     14                                <img class="theme-screenshot" src="{{ data.screenshot_url }}?w=520&strip=all" alt="" />
    1515
    1616                                <div class="theme-details">
Note: See TracChangeset for help on using the changeset viewer.