Make WordPress Core

Ticket #20657: 20657.minor-typo-fix.patch

File 20657.minor-typo-fix.patch, 860 bytes (added by SergeyBiryukov, 12 years ago)
  • wp-admin/includes/image.php

     
    403403}
    404404
    405405/**
    406  * Retrieve the path or url of an attachemnt's attached file.
     406 * Retrieve the path or url of an attachment's attached file.
    407407 *
    408408 * If the attached file is not present on the local filesystem (usually due to replication plugins),
    409409 * then the url of the file is returned if url fopen is supported.
     
    439439 * @return string|false New file path on success, false on failure.
    440440 */
    441441function _copy_image_file( $attachment_id ) {
    442         debug_log( 'copyin' );
    443442        $dst_file = $src_file = get_attached_file( $attachment_id );
    444443        if ( ! file_exists( $src_file ) )
    445444                $src_file = _load_image_to_edit_path( $attachment_id );