[wp-trac] [WordPress Trac] #22538: 'wp_image_editor_class' vs. 'wp_image_editors'

WordPress Trac noreply at wordpress.org
Thu Nov 22 14:16:08 UTC 2012


#22538: 'wp_image_editor_class' vs. 'wp_image_editors'
--------------------------+--------------------------
 Reporter:  scribu        |       Type:  defect (bug)
   Status:  new           |   Priority:  normal
Milestone:  3.5           |  Component:  Media
  Version:                |   Severity:  normal
 Keywords:  dev-feedback  |
--------------------------+--------------------------
 I don't think there's a clear explanation anywhere for why we have two
 similar hooks related to the image editor classes.

 We have 'wp_image_editors', which passes an array of editor classes.

 And then we also have 'wp_image_editor_class', which passes the final
 class, chosen for a particular set of arguments.

 In #6821 it was suggested that we pass $args to 'wp_image_editor_class'.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/22538>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list