[wp-trac] [WordPress Trac] #22538: 'wp_image_editor_class' vs. 'wp_image_editors'
WordPress Trac
noreply at wordpress.org
Sat Nov 24 00:28:01 UTC 2012
#22538: 'wp_image_editor_class' vs. 'wp_image_editors'
-------------------------+--------------------
Reporter: scribu | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: 3.5
Component: Media | Version: trunk
Severity: normal | Resolution:
Keywords: has-patch |
-------------------------+--------------------
Comment (by scribu):
> image_editor_class should be on the class name — I don't really see the
reason for it to be on the object. If anything, we should fire an *action*
with the instantiated object to allow triggers to happen then.
An action wouldn't allow to wrap the instance in a decorator. I explained
the use case for that earlier.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/22538#comment:27>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list