Make WordPress Core


Ignore:
Timestamp:
07/17/2014 09:13:53 AM (11 years ago)
Author:
DrewAPicture
Message:

Fix syntax for single- and multi-line comments in wp-admin-directory files.

See #28931.

File:
1 edited

Legend:

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

    r29165 r29206  
    309309                continue; // We want this to be caught by the next code block.
    310310
    311             // Working from /home/ to /user/ to /wordpress/ see if that file exists within the current folder,
    312             // If it's found, change into it and follow through looking for it.
    313             // If it cant find WordPress down that route, it'll continue onto the next folder level, and see if that matches, and so on.
    314             // If it reaches the end, and still cant find it, it'll return false for the entire function.
     311            /*
     312             * Working from /home/ to /user/ to /wordpress/ see if that file exists within
     313             * the current folder, If it's found, change into it and follow through looking
     314             * for it. If it cant find WordPress down that route, it'll continue onto the next
     315             * folder level, and see if that matches, and so on. If it reaches the end, and still
     316             * cant find it, it'll return false for the entire function.
     317             */
    315318            if ( isset($files[ $key ]) ){
     319
    316320                // Lets try that folder:
    317321                $newdir = trailingslashit(path_join($base, $key));
    318322                if ( $this->verbose )
    319323                    printf( "\n" . __('Changing to %s') . "<br/>\n", $newdir );
    320                 // only search for the remaining path tokens in the directory, not the full path again
     324
     325                // Only search for the remaining path tokens in the directory, not the full path again.
    321326                $newfolder = implode( '/', array_slice( $folder_parts, $index + 1 ) );
    322327                if ( $ret = $this->search_for_folder( $newfolder, $newdir, $loop) )
Note: See TracChangeset for help on using the changeset viewer.