Make WordPress Core

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


Ignore:
Timestamp:
11/20/2012 10:48:21 PM (11 years ago)
Author:
mikeschroder
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