[wp-trac] [WordPress Trac] #16695: quicktags needs some refactoring

WordPress Trac wp-trac at lists.automattic.com
Thu Mar 24 17:51:39 UTC 2011


#16695: quicktags needs some refactoring
----------------------------------------------+----------------------------
 Reporter:  garyc40                           |       Owner:  scribu
     Type:  enhancement                       |      Status:  reviewing
 Priority:  normal                            |   Milestone:  Awaiting
Component:  Editor                            |  Review
 Severity:  normal                            |     Version:  3.1
 Keywords:  has-patch dev-feedback 3.2-early  |  Resolution:
----------------------------------------------+----------------------------

Comment (by scribu):

 Would you still be able to manipulate the button list array (remove, re-
 order)?

 Having two methods of doing the exact same thing is not a good idea.

 I think a better approach would be to wrap everything in a closure and
 just expose edButtons and edButton.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/16695#comment:11>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list