[wp-trac] Re: [WordPress Trac] #7969: filter tiny_mce_before_init +
$initArray + JS objects
WordPress Trac
wp-trac at lists.automattic.com
Sun Oct 26 17:37:30 GMT 2008
#7969: filter tiny_mce_before_init + $initArray + JS objects
-------------------------------------------+--------------------------------
Reporter: oncletom | Owner: anonymous
Type: defect | Status: closed
Priority: normal | Milestone: 2.8
Component: TinyMCE | Version:
Severity: normal | Resolution: wontfix
Keywords: tinymce, $initArray, settings |
-------------------------------------------+--------------------------------
Changes (by azaozz):
* status: new => closed
* resolution: => wontfix
Comment:
The TinyMCE init object is build as a php array first and this filter is
applied to that array, so any php array function can be performed on it.
The only requirement is that the returned array is flat (not multi-
dimensional).
As there are only a few settings in TinyMCE that accept comma separated
values, it is very easy to join (implode) them before passing them to the
filter. That makes the whole process easier to use for the next plugin
that manipulates the array (all filters in WordPress can be used multiple
times by different plugins).
--
Ticket URL: <http://trac.wordpress.org/ticket/7969#comment:1>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list