Make WordPress Core


Ignore:
Timestamp:
09/16/2015 12:45:51 PM (6 years ago)
Author:
DrewAPicture
Message:

Docs: Put "it's" in its place (again).

Props kitchin.
Fixes #33894.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/includes/image-edit.php

    r32964 r34234  
    615615            if ( defined('IMAGE_EDIT_OVERWRITE') && IMAGE_EDIT_OVERWRITE ) {
    616616
    617                 // Delete only if it's edited image.
     617                // Delete only if it's an edited image.
    618618                if ( preg_match('/-e[0-9]{13}\./', $parts['basename']) ) {
    619619                    wp_delete_file( $file );
     
    638638                if ( defined('IMAGE_EDIT_OVERWRITE') && IMAGE_EDIT_OVERWRITE ) {
    639639
    640                     // Delete only if it's edited image
     640                    // Delete only if it's an edited image.
    641641                    if ( preg_match('/-e[0-9]{13}-/', $meta['sizes'][$default_size]['file']) ) {
    642642                        $delete_file = path_join( $parts['dirname'], $meta['sizes'][$default_size]['file'] );
Note: See TracChangeset for help on using the changeset viewer.