WordPress.org

Make WordPress Core

Changeset 5476


Ignore:
Timestamp:
05/14/2007 11:30:17 PM (11 years ago)
Author:
ryan
Message:

Theme screenshot fix from mdawaffe. fixes #4266 for 2.3.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/theme.php

    r5447 r5476  
    181181        $stylesheet  = dirname($theme_file);
    182182
     183        $screenshot = false;
    183184        foreach ( array('png', 'gif', 'jpg', 'jpeg') as $ext ) {
    184185            if (file_exists("$theme_root/$stylesheet/screenshot.$ext")) {
Note: See TracChangeset for help on using the changeset viewer.