WordPress.org

Make WordPress Core

Changeset 5475


Ignore:
Timestamp:
05/14/07 23:30:05 (8 years ago)
Author:
ryan
Message:

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.2/wp-includes/theme.php

    r5289 r5475  
    164164        $stylesheet  = dirname($theme_file); 
    165165 
     166        $screenshot = false; 
    166167        foreach ( array('png', 'gif', 'jpg', 'jpeg') as $ext ) { 
    167168            if (file_exists("$theme_root/$stylesheet/screenshot.$ext")) { 
Note: See TracChangeset for help on using the changeset viewer.