Make WordPress Core

Changeset 13382


Ignore:
Timestamp:
02/24/2010 08:13:23 PM (13 years ago)
Author:
nacin
Message:

Spelling and grammar fun. Fixes #11875 props cnorris23

Location:
trunk
Files:
23 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/includes/class-wp-filesystem-base.php

    r12752 r13382  
    1414class WP_Filesystem_Base {
    1515    /**
    16      * Whether to display debug data for the connection or not.
     16     * Whether to display debug data for the connection.
    1717     *
    1818     * @since 2.5
  • trunk/wp-admin/includes/misc.php

    r13311 r13382  
    129129    $htaccess_file = $home_path.'.htaccess';
    130130
    131     // If the file doesn't already exists check for write access to the directory and whether of not we have some rules.
     131    // If the file doesn't already exists check for write access to the directory and whether we have some rules.
    132132    // else check for write access to the file.
    133133    if ((!file_exists($htaccess_file) && is_writable($home_path) && $wp_rewrite->using_mod_rewrite_permalinks()) || is_writable($htaccess_file)) {
     
    360360
    361361/**
    362  * Determine whether to use CodePress or not.
     362 * Determine whether to use CodePress.
    363363 *
    364364 * @since 2.8
  • trunk/wp-admin/includes/template.php

    r13359 r13382  
    181181 * @param any $checked One of the values to compare
    182182 * @param any $current (true) The other value to compare if not just true
    183  * @param bool $echo Whether or not to echo or just return the string
     183 * @param bool $echo Whether to echo or just return the string
    184184 */
    185185function checked( $checked, $current = true, $echo = true) {
     
    196196 * @param any selected One of the values to compare
    197197 * @param any $current (true) The other value to compare if not just true
    198  * @param bool $echo Whether or not to echo or just return the string
     198 * @param bool $echo Whether to echo or just return the string
    199199 */
    200200function selected( $selected, $current = true, $echo = true) {
     
    212212 * @param any $helper One of the values to compare
    213213 * @param any $current (true) The other value to compare if not just true
    214  * @param bool $echo Whether or not to echo or just return the string
     214 * @param bool $echo Whether to echo or just return the string
    215215 * @param string $type The type of checked|selected we are doing.
    216216 */
  • trunk/wp-content/themes/default/header.php

    r12598 r13382  
    1919
    2020<?php
    21 // Checks to see whether it needs a sidebar or not
     21// Checks to see whether it needs a sidebar
    2222if ( empty($withcomments) && !is_single() ) {
    2323?>
  • trunk/wp-includes/capabilities.php

    r13311 r13382  
    273273     *
    274274     * The list of capabilities, must have the key as the name of the capability
    275      * and the value a boolean of whether it is granted to the role or not.
     275     * and the value a boolean of whether it is granted to the role.
    276276     *
    277277     * @since 2.0.0
  • trunk/wp-includes/category.php

    r13074 r13382  
    101101 *
    102102 * @param string $category_path URL containing category slugs.
    103  * @param bool $full_match Optional. Whether should match full path or not.
     103 * @param bool $full_match Optional. Whether full path should be matched.
    104104 * @param string $output Optional. Constant OBJECT, ARRAY_A, or ARRAY_N
    105105 * @return null|object|array Null on failure. Type is based on $output value.
  • trunk/wp-includes/comment-template.php

    r13268 r13382  
    932932 * @since 0.71
    933933 * @global string $wpcommentspopupfile The URL to use for the popup window
    934  * @global int $wpcommentsjavascript Whether to use JavaScript or not. Set when function is called
     934 * @global int $wpcommentsjavascript Whether to use JavaScript. Set when function is called
    935935 *
    936936 * @param int $width Optional. The width of the popup window
  • trunk/wp-includes/comment.php

    r13353 r13382  
    527527
    528528/**
    529  * Validates whether this comment is allowed to be made or not.
     529 * Validates whether this comment is allowed to be made.
    530530 *
    531531 * @since 2.0.0
  • trunk/wp-includes/deprecated.php

    r13377 r13382  
    12561256 *
    12571257 * @param int $comment_ID The ID of the comment
    1258  * @param int $no_cache Whether to use the cache or not (casted to bool)
    1259  * @param bool $include_unapproved Whether to include unapproved comments or not
     1258 * @param int $no_cache Whether to use the cache (casted to bool)
     1259 * @param bool $include_unapproved Whether to include unapproved comments
    12601260 * @return array The comment data
    12611261 */
  • trunk/wp-includes/formatting.php

    r13358 r13382  
    288288 * @param mixed $quote_style Optional. Converts double quotes if set to ENT_COMPAT, both single and double if set to ENT_QUOTES or none if set to ENT_NOQUOTES. Also compatible with old values; converting single quotes if set to 'single', double if set to 'double' or both if otherwise set. Default is ENT_NOQUOTES.
    289289 * @param string $charset Optional. The character encoding of the string. Default is false.
    290  * @param boolean $double_encode Optional. Whether or not to encode existing html entities. Default is false.
     290 * @param boolean $double_encode Optional. Whether to encode existing html entities. Default is false.
    291291 * @return string The encoded text with HTML entities.
    292292 */
     
    11111111 *
    11121112 * @param string $content The text about to be edited.
    1113  * @param bool $richedit Whether or not the $content should pass through htmlspecialchars(). Default false.
     1113 * @param bool $richedit Whether the $content should pass through htmlspecialchars(). Default false.
    11141114 * @return string The text after the filter (and possibly htmlspecialchars()) has been run.
    11151115 */
  • trunk/wp-includes/functions.php

    r13349 r13382  
    18241824    $wpdb->suppress_errors( $suppress );
    18251825
    1826     $wp_tables = $wpdb->tables( 'all', true );
     1826    $wp_tables = $wpdb->tables( 'all' );
    18271827    // Loop over the WP tables.  If none exist, then scratch install is allowed.
    18281828    // If one or more exist, suggest table repair since we got here because the options
     
    19961996 *
    19971997 * @param string $target Full path to attempt to create.
    1998  * @return bool Whether the path was created or not. True if path already exists.
     1998 * @return bool Whether the path was created. True if path already exists.
    19991999 */
    20002000function wp_mkdir_p( $target ) {
     
    30293029 *
    30303030 * @param string $url
    3031  * @return bool Whether or not SSL access is available
     3031 * @return bool Whether SSL access is available
    30323032 */
    30333033function url_is_accessable_via_ssl($url)
  • trunk/wp-includes/general-template.php

    r13377 r13382  
    169169 *
    170170 * Displays a link, which allows the user to navigate to the Log In page to log in
    171  * or log out depending on whether or not they are currently logged in.
     171 * or log out depending on whether they are currently logged in.
    172172 *
    173173 * @since 1.5.0
     
    14371437 *
    14381438 * @param string $d Optional Either 'G', 'U', or php date format.
    1439  * @param bool $gmt Optional, default is false. Whether of not to return the gmt time.
     1439 * @param bool $gmt Optional, default is false. Whether to return the gmt time.
    14401440 * @param int|object $post Optional post ID or object. Default is global $post object.
    1441  * @param bool $translate Whether to translate the time string or not
     1441 * @param bool $translate Whether to translate the time string
    14421442 * @return string
    14431443 */
     
    14871487 *
    14881488 * @param string $d Optional, default is 'U'. Either 'G', 'U', or php date format.
    1489  * @param bool $gmt Optional, default is false. Whether of not to return the gmt time.
     1489 * @param bool $gmt Optional, default is false. Whether to return the gmt time.
    14901490 * @param int|object $post Optional, default is global post object. A post_id or post object
    1491  * @param bool $translate Optional, default is false. Whether to translate the result or not
     1491 * @param bool $translate Optional, default is false. Whether to translate the result
    14921492 * @return string Returns timestamp
    14931493 */
     
    17001700 * @since 2.1.0
    17011701 *
    1702  * @return bool Whether of not TinyMCE exists.
     1702 * @return bool Whether TinyMCE exists.
    17031703 */
    17041704function rich_edit_exists() {
     
    17101710
    17111711/**
    1712  * Whether or not the user should have a WYSIWIG editor.
     1712 * Whether the user should have a WYSIWIG editor.
    17131713 *
    17141714 * Checks that the user requires a WYSIWIG editor and that the editor is
  • trunk/wp-includes/kses.php

    r13363 r13382  
    740740 *
    741741 * @param string $value Attribute value
    742  * @param string $vless Whether the value is valueless or not. Use 'y' or 'n'
     742 * @param string $vless Whether the value is valueless. Use 'y' or 'n'
    743743 * @param string $checkname What $checkvalue is checking for.
    744744 * @param mixed $checkvalue What constraint the value should pass
    745  * @return bool Whether check passes (true) or not (false)
     745 * @return bool Whether check passes
    746746 */
    747747function wp_kses_check_attr_val($value, $vless, $checkname, $checkvalue) {
  • trunk/wp-includes/media.php

    r13377 r13382  
    13171317 * @param string $format The format of URL that this provider can handle. You can use asterisks as wildcards.
    13181318 * @param string $provider The URL to the oEmbed provider.
    1319  * @param boolean $regex Whether the $format parameter is in a regex format or not.
     1319 * @param boolean $regex Whether the $format parameter is in a regex format.
    13201320 */
    13211321function wp_oembed_add_provider( $format, $provider, $regex = false ) {
  • trunk/wp-includes/pluggable.php

    r13309 r13382  
    406406    $phpmailer->ContentType = $content_type;
    407407
    408     // Set whether it's plaintext or not, depending on $content_type
     408    // Set whether it's plaintext, depending on $content_type
    409409    if ( $content_type == 'text/html' ) {
    410410        $phpmailer->IsHTML( true );
     
    634634 *
    635635 * @param int $user_id User ID
    636  * @param bool $remember Whether to remember the user or not
     636 * @param bool $remember Whether to remember the user
    637637 */
    638638function wp_set_auth_cookie($user_id, $remember = false, $secure = '') {
  • trunk/wp-includes/post-template.php

    r13350 r13382  
    10061006 * Whether currently in a page template.
    10071007 *
    1008  * This template tag allows you to determine whether or not you are in a page
    1009  * template. You can optional provide a template name and then the check will be
     1008 * This template tag allows you to determine if you are in a page template.
     1009 * You can optional provide a template name and then the check will be
    10101010 * specific to that template.
    10111011 *
  • trunk/wp-includes/post-thumbnail-template.php

    r12733 r13382  
    1616 *
    1717 * @param int $post_id Optional. Post ID.
    18  * @return bool Whether post has an image attached (true) or not (false).
     18 * @return bool Whether post has an image attached.
    1919 */
    2020function has_post_thumbnail( $post_id = NULL ) {
  • trunk/wp-includes/post.php

    r13316 r13382  
    133133 *
    134134 * @param int $attachment_id Attachment ID.
    135  * @param bool $unfiltered Whether to apply filters or not.
     135 * @param bool $unfiltered Whether to apply filters.
    136136 * @return string The file path to the attached file.
    137137 */
     
    11991199 *
    12001200 * @param int $post_id Optional. Post ID.
    1201  * @return bool Whether post is sticky (true) or not sticky (false).
     1201 * @return bool Whether post is sticky.
    12021202 */
    12031203function is_sticky($post_id = null) {
  • trunk/wp-includes/registration.php

    r13311 r13382  
    8484 * 'last_name' - The user's last name.
    8585 * 'description' - A string containing content about the user.
    86  * 'rich_editing' - A string for whether to enable the rich editor or not. False
     86 * 'rich_editing' - A string for whether to enable the rich editor. False
    8787 *      if not empty.
    8888 * 'user_registered' - The date the user registered. Format is 'Y-m-d H:i:s'.
  • trunk/wp-includes/taxonomy.php

    r13321 r13382  
    129129 *
    130130 * @param string $taxonomy Name of taxonomy object
    131  * @return bool Whether the taxonomy exists or not.
     131 * @return bool Whether the taxonomy exists.
    132132 */
    133133function is_taxonomy( $taxonomy ) {
  • trunk/wp-includes/user.php

    r13311 r13382  
    261261 * @param string $option_name User option name.
    262262 * @param mixed $newvalue User option value.
    263  * @param bool $global Optional. Whether option name is blog specific or not.
     263 * @param bool $global Optional. Whether option name is blog specific.
    264264 * @return unknown
    265265 */
  • trunk/wp-includes/wp-db.php

    r13376 r13382  
    953953     * @see wpdb::show_errors()
    954954     *
    955      * @return bool Whether showing of errors was active or not
     955     * @return bool Whether showing of errors was active
    956956     */
    957957    function hide_errors() {
     
    14281428
    14291429    /**
    1430      * Whether or not MySQL database is at least the required minimum version.
     1430     * Whether MySQL database is at least the required minimum version.
    14311431     *
    14321432     * @since 2.5.0
     
    14441444
    14451445    /**
    1446      * Whether of not the database supports collation.
     1446     * Whether the database supports collation.
    14471447     *
    14481448     * Called when WordPress is generating the table scheme.
  • trunk/wp-trackback.php

    r12657 r13382  
    1414 * trackback_response() - Respond with error or success XML message
    1515 *
    16  * @param int|bool $error Whether there was an error or not
     16 * @param int|bool $error Whether there was an error
    1717 * @param string $error_message Error message if an error occurred
    1818 */
Note: See TracChangeset for help on using the changeset viewer.