Make WordPress Core


Ignore:
Timestamp:
09/03/2011 02:18:10 PM (11 years ago)
Author:
duck_
Message:

Fix typos in documentation (wp-admin/). See #18560.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/includes/template.php

    r18607 r18632  
    898898            if ( empty($priority) ) {
    899899                $priority = $a_priority;
    900             // else if we're adding to the sorted priortiy, we don't know the title or callback. Glab them from the previously added context/priority.
     900            // else if we're adding to the sorted priority, we don't know the title or callback. Grab them from the previously added context/priority.
    901901            } elseif ( 'sorted' == $priority ) {
    902902                $title = $wp_meta_boxes[$page][$a_context][$a_priority][$id]['title'];
     
    11101110 *
    11111111 * The $callback argument should be the name of a function that echoes out the
    1112  * html input tags for this setting field. Use get_option() to retrive existing
     1112 * html input tags for this setting field. Use get_option() to retrieve existing
    11131113 * values to show.
    11141114 *
     
    11211121 * @param string $callback Function that fills the field with the desired form inputs. The function should echo its output.
    11221122 * @param string $page The slug-name of the settings page on which to show the section (general, reading, writing, ...).
    1123  * @param string $section The slug-name of the section of the settingss page in which to show the box (default, ...).
     1123 * @param string $section The slug-name of the section of the settings page in which to show the box (default, ...).
    11241124 * @param array $args Additional arguments
    11251125 */
     
    12751275
    12761276    // If settings were passed back from options.php then use them
    1277     // Ignore transients if $sanitize is true, we dont' want the old values anyway
     1277    // Ignore transients if $sanitize is true, we don't want the old values anyway
    12781278    if ( isset($_GET['settings-updated']) && $_GET['settings-updated'] && get_transient('settings_errors') ) {
    12791279        $settings_errors = get_transient('settings_errors');
     
    21602160 * @param array|string $other_attributes Other attributes that should be output with the button,
    21612161 *                     mapping attributes to their values, such as array( 'tabindex' => '1' ).
    2162  *                     These attributes will be ouput as attribute="value", such as tabindex="1".
     2162 *                     These attributes will be output as attribute="value", such as tabindex="1".
    21632163 *                     Defaults to no other attributes. Other attributes can also be provided as a
    21642164 *                     string such as 'tabindex="1"', though the array format is typically cleaner.
     
    21812181 * @param array|string $other_attributes Other attributes that should be output with the button,
    21822182 *                     mapping attributes to their values, such as array( 'tabindex' => '1' ).
    2183  *                     These attributes will be ouput as attribute="value", such as tabindex="1".
     2183 *                     These attributes will be output as attribute="value", such as tabindex="1".
    21842184 *                     Defaults to no other attributes. Other attributes can also be provided as a
    21852185 *                     string such as 'tabindex="1"', though the array format is typically cleaner.
Note: See TracChangeset for help on using the changeset viewer.