WordPress.org

Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #22356, comment 11


Ignore:
Timestamp:
11/20/12 22:48:21 (17 months ago)
Author:
DH-Shredder
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #22356, comment 11

    initial v1  
    11Next step in [attachment:22356.3.diff 22356.3.diff​​]. 
    22 
    3 Simplifies parameters by using $args all around. 
    4 Returns WP_Error if no path is specified on get_instance. 
    5 Accepts string for 'path' on public functions, so that developers can both easily spawn an image editor and pass the same data to  supports() and get_instance(), if they want to do a pre-check. 
     3- Simplifies parameters by using $args all around. 
     4- Returns WP_Error if no path is specified on get_instance. 
     5- Accepts string for 'path' on public functions, so that developers can both easily spawn an image editor and pass the same data to  supports() and get_instance(), if they want to do a pre-check. 
    66 
    77