Make WordPress Core


Ignore:
Timestamp:
01/29/2020 12:43:23 AM (7 years ago)
Author:
SergeyBiryukov
Message:

Docs: Improve inline comments per the documentation standards.

Includes minor code layout fixes for better readability.

See #48303.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tests/phpunit/tests/functions/deprecated.php

    r46586 r47122  
    154154                }
    155155
    156                 // Call wp_save_image_file
     156                // Call wp_save_image_file().
    157157                include_once( ABSPATH . 'wp-admin/includes/image-edit.php' );
    158158                $file = wp_tempnam();
    … …  
    162162                unlink( $file );
    163163
    164                 // Check if the arg was deprecated
     164                // Check if the arg was deprecated.
    165165                $check = $this->was_deprecated( 'argument', 'wp_save_image_file' );
    166166                $this->assertNotEmpty( $check );
    … …  
    177177                }
    178178
    179                 // Call wp_save_image_file
     179                // Call wp_save_image_file().
    180180                include_once( ABSPATH . 'wp-admin/includes/image-edit.php' );
    181181                $file = wp_tempnam();
    … …  
    185185                unlink( $file );
    186186
    187                 // Check if the arg was deprecated
     187                // Check if the arg was deprecated.
    188188                $check = $this->was_deprecated( 'argument', 'wp_save_image_file' );
    189189                $this->assertFalse( $check );
Note: See TracChangeset for help on using the changeset viewer.