[wpmu-trac] Re: [WordPress MU Trac] #243: r869 WYSIWYG editor not working (Warning missing function _mce_config_url)

WordPress MU Trac wpmu-trac at lists.automattic.com
Sun Jan 28 12:03:35 GMT 2007


#243: r869 WYSIWYG editor not working (Warning missing function _mce_config_url)
----------------------------+-----------------------------------------------
 Reporter:  skcsknathan001  |        Owner:  somebody
     Type:  defect          |       Status:  new     
 Priority:  normal          |    Milestone:  WPMU 2.0
Component:  component1      |      Version:  2.0     
 Severity:  major           |   Resolution:          
 Keywords:  r867            |  
----------------------------+-----------------------------------------------
Changes (by mrball):

  * severity:  normal => major
  * summary:  Warning after upgrading to r868 => r869 WYSIWYG editor not
              working (Warning missing function
              _mce_config_url)

Comment:

 This results in the WYSIWYG editor not functioning.

 Seems to be fixed by adding the function to wp-include/functions.php:

 function _mce_config_url($url) {
        global $wp_locale;

        if ( 'rtl' == $wp_locale->text_direction )
                $url = add_query_arg('mce_text_direction', 'rtl', $url);

        return $url;
 }



 this function was in the previous revision, but I can't seem to find it
 anywhere in the wordpress (non-mu) repo...

-- 
Ticket URL: <http://trac.mu.wordpress.org/ticket/243#comment:1>
WordPress MU Trac <http://mu.wordpress.org/>
WordPress Multiuser


More information about the wpmu-trac mailing list