Make WordPress Core

Changeset 17926


Ignore:
Timestamp:
05/14/2011 09:56:59 AM (15 years ago)
Author:
westi
Message:

More phpdoc typo fixes. See #17414 props Utkarsh

Location:
trunk/wp-admin/includes
Files:
2 edited

Legend:

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

    r17579 r17926  
    2222        var $verbose = false;
    2323        /**
    24          * Cached list of local filepaths to maped remote filepaths.
     24         * Cached list of local filepaths to mapped remote filepaths.
    2525         *
    2626         * @since 2.7
    … …  
    216216                }
    217217
    218                 //Only check this as a last resort, to prevent locating the incorrect install. All above proceeedures will fail quickly if this is the right branch to take.
     218                //Only check this as a last resort, to prevent locating the incorrect install. All above procedures will fail quickly if this is the right branch to take.
    219219                if (isset( $files[ $last_path ] ) ) {
    220220                        if ( $this->verbose )
    … …  
    223223                }
    224224                if ( $loop )
    225                         return false; //Prevent tihs function looping again.
     225                        return false; //Prevent this function from looping again.
    226226                //As an extra last resort, Change back to / if the folder wasnt found. This comes into effect when the CWD is /home/user/ but WP is at /var/www/.... mainly dedicated setups.
    227227                return $this->search_for_folder($folder, '/', true);
  • trunk/wp-admin/includes/class-wp-filesystem-direct.php

    r17771 r17926  
    2020         * constructor
    2121         *
    22          * @param mixed $arg ingored argument
     22         * @param mixed $arg ignored argument
    2323         */
    2424        function __construct($arg) {
    … …  
    223223                if ( empty($file) ) //Some filesystems report this as /, which can cause non-expected recursive deletion of all files in the filesystem.
    224224                        return false;
    225                 $file = str_replace('\\', '/', $file); //for win32, occasional problems deleteing files otherwise
     225                $file = str_replace('\\', '/', $file); //for win32, occasional problems deleting files otherwise
    226226
    227227                if ( 'f' == $type || $this->is_file($file) )
Note: See TracChangeset for help on using the changeset viewer.