[wp-trac] [WordPress Trac] #19320: wp_tiny_mce() cannot call wp_editor(), and other issues
WordPress Trac
wp-trac at lists.automattic.com
Mon Nov 21 23:25:14 UTC 2011
#19320: wp_tiny_mce() cannot call wp_editor(), and other issues
-----------------------------+------------------
Reporter: nacin | Owner:
Type: defect (bug) | Status: new
Priority: highest omg bbq | Milestone: 3.3
Component: Editor | Version:
Severity: blocker | Resolution:
Keywords: |
-----------------------------+------------------
Comment (by nacin):
A better design pattern brings along things like proper encapsulation,
visibility, and inheritance, and allows us to mirror multiple JS instances
in PHP. There is no reason, given all of the PHP code that goes into this,
that multiple instances should be limited to JS. We have a class we tell
people not to touch because it has moving bits, but on the other hand, we
tell them it can be extended and used directly. This makes no sense, and
will kill us when we want to do anything in the future.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/19320#comment:5>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list