WordPress.org

Make WordPress Core

Ticket #23164: update-core.diff

File update-core.diff, 1.1 KB (added by cochran, 2 years ago)

increases screenshot width to 85px wide to keep with aspect ratio of theme screenshots.

  • trunk/wp-admin/update-core.php

     
    289289                echo " 
    290290        <tr class='active'> 
    291291                <th scope='row' class='check-column'><input type='checkbox' name='checked[]' value='" . esc_attr( $stylesheet ) . "' /></th> 
    292                 <td class='plugin-title'><img src='" . esc_url( $theme->get_screenshot() ) . "' width='64' height='64' style='float:left; padding: 0 5px 5px' /><strong>" . $theme->display('Name') . '</strong> ' . sprintf( __( 'You have version %1$s installed. Update to %2$s.' ), $theme->display('Version'), $theme->update['new_version'] ) . "</td> 
     292                <td class='plugin-title'><img src='" . esc_url( $theme->get_screenshot() ) . "' width='85' height='64' style='float:left; padding: 0 5px 5px' /><strong>" . $theme->display('Name') . '</strong> ' . sprintf( __( 'You have version %1$s installed. Update to %2$s.' ), $theme->display('Version'), $theme->update['new_version'] ) . "</td> 
    293293        </tr>"; 
    294294        } 
    295295?>