Make WordPress Core


Ignore:
Timestamp:
09/05/2011 07:08:15 PM (14 years ago)
Author:
duck_
Message:

Fix typos in documentation (wp-includes/[i-z]). See #18560.

File:
1 edited

Legend:

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

    r18605 r18639  
    261261
    262262/**
    263  * Calculates the new dimentions for a downsampled image.
     263 * Calculates the new dimensions for a downsampled image.
    264264 *
    265265 * If either width or height are empty, no constraint is applied on
     
    306306
    307307    // Sometimes, due to rounding, we'll end up with a result like this: 465x700 in a 177x177 box is 117x176... a pixel short
    308     // We also have issues with recursive calls resulting in an ever-changing result. Contraining to the result of a constraint should yield the original result.
     308    // We also have issues with recursive calls resulting in an ever-changing result. Constraining to the result of a constraint should yield the original result.
    309309    // Thus we look for dimensions that are one pixel shy of the max value and bump them up
    310310    if ( $did_width && $w == $max_width - 1 )
     
    11451145     *
    11461146     * @param array $attr Shortcode attributes.
    1147      * @param string $url The URL attempting to be embeded.
     1147     * @param string $url The URL attempting to be embedded.
    11481148     * @return string The embed HTML on success, otherwise the original URL.
    11491149     */
     
    13731373 * @uses WP_oEmbed::get_html()
    13741374 *
    1375  * @param string $url The URL that should be embeded.
     1375 * @param string $url The URL that should be embedded.
    13761376 * @param array $args Addtional arguments and parameters.
    13771377 * @return string The original URL on failure or the embed HTML on success.
Note: See TracChangeset for help on using the changeset viewer.