Make WordPress Core

Changeset 9661


Ignore:
Timestamp:
11/13/2008 07:54:27 AM (16 years ago)
Author:
markjaquith
Message:

Cast image sizes to ints. Explain that sizes are in pixels. fixes #8160

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/options-media.php

    r9480 r9661  
    5050
    5151<h3><?php _e('Image sizes') ?></h3>
    52 <p><?php _e('The sizes listed below determine the maximum dimensions to use when inserting an image into the body of a post.'); ?></p>
     52<p><?php _e('The sizes listed below determine the maximum dimensions in pixels to use when inserting an image into the body of a post.'); ?></p>
    5353
    5454<table class="form-table">
  • trunk/wp-includes/formatting.php

    r9302 r9661  
    18211821            break;
    18221822
     1823        case 'thumbnail_size_w':
     1824        case 'thumbnail_size_h':
     1825        case 'medium_size_w':
     1826        case 'medium_size_h':
     1827        case 'large_size_w':
     1828        case 'large_size_h':
    18231829        case 'default_post_edit_rows':
    18241830        case 'mailserver_port':
Note: See TracChangeset for help on using the changeset viewer.