[wp-trac] [WordPress Trac] #45217: Allow falling back to classic editor via meta box registration.

WordPress Trac noreply at wordpress.org
Fri Nov 23 05:58:11 UTC 2018


#45217: Allow falling back to classic editor via meta box registration.
---------------------------------------+---------------------
 Reporter:  peterwilsoncc              |       Owner:  (none)
     Type:  enhancement                |      Status:  new
 Priority:  normal                     |   Milestone:  5.0
Component:  Editor                     |     Version:
 Severity:  normal                     |  Resolution:
 Keywords:  has-patch has-screenshots  |     Focuses:
---------------------------------------+---------------------

Comment (by dd32):

 In [attachment:"45217.6.diff"] I suspect we'll need a
 `wp_normalize_path()` or similar call around the `WP_PLUGIN_DIR` and/or
 $filename statements:
 {{{
  if ( strpos( $filename, WP_PLUGIN_DIR ) === 0 ) {
     $filename = str_replace( WP_PLUGIN_DIR, '', $filename );
 }}}
 It'll probably be more likely to be needed on a windows platform.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/45217#comment:24>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list