WordPress.org

Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #24067, comment 142


Ignore:
Timestamp:
03/25/2014 02:21:11 AM (8 years ago)
Author:
johnstonphilip
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #24067, comment 142

    initial v1  
    1515a) returning NULL to the tiny_mce_plugins filter
    1616b) set the $plugins var (line 342 of class-wp-editor.php) to be NULL
     17
     18UPDATE:
     19
     20Nevermind my previous comments here. My external plugin is now working fine because it was actually due to a problem with my code and an if statement I copied from the newly updated wpgallery plugin:
     21
     22
     23// 'wpview' handles the gallery shortcode when present
     24if ( ! editor.plugins.wpview ) {
     25
     26That was restricting my plugin from actually running its functions (Though I'm still not sure why returning NULL to the $plugins array fixed it).
     27
     28Anyway. Disregard and all appears to be working as it should. Thanks.