Title: Missing visual editor &#8211; AfterTheDeadlinePlugin bug
Last modified: August 21, 2016

---

# Missing visual editor – AfterTheDeadlinePlugin bug

 *  Resolved [unclego](https://wordpress.org/support/users/unclego/)
 * (@unclego)
 * [12 years, 8 months ago](https://wordpress.org/support/topic/missing-visual-editor-afterthedeadlineplugin-bug/)
 * After changing ‘WP_CONTENT_DIR’, ‘WP_CONTENT_URL’, ‘WP_PLUGIN_DIR’, ‘WP_PLUGIN_URL’
   visual editor disapear. I do a short investigation nad find that AfterTheDeadlinePlugin
   has a bug. It tries to load
 * `http://<site>/wp-includes/js/tinymce/<plugins_url>/jetpack/modules/after-the-
   deadline/tinymce/editor_plugin.js?v=20120221`
 * and this should be
 * `http://<site>/<plugins_url>/jetpack/modules/after-the-deadline/tinymce/editor_plugin.
   js?v=20120221`
 * When i deactivate AfterTheDeadline module in jet pack every thing works fine.
 * [http://wordpress.org/plugins/jetpack/](http://wordpress.org/plugins/jetpack/)

Viewing 6 replies - 1 through 6 (of 6 total)

 *  Plugin Contributor [Richard Archambault](https://wordpress.org/support/users/richardmtl/)
 * (@richardmtl)
 * [12 years, 8 months ago](https://wordpress.org/support/topic/missing-visual-editor-afterthedeadlineplugin-bug/#post-4183798)
 * Hi! As you can see here:
 * [http://plugins.trac.wordpress.org/browser/jetpack/trunk/modules/after-the-deadline.php#L95](http://plugins.trac.wordpress.org/browser/jetpack/trunk/modules/after-the-deadline.php#L95)
 *     ```
       function add_AtD_tinymce_plugin( $plugin_array ) {
       	        $plugin_array['AtD'] = plugins_url( 'after-the-deadline/tinymce/editor_plugin.js?v=' . ATD_VERSION, __FILE__ );
       	        return $plugin_array;
       	}
       ```
   
 * we use the plugins_url() function. It may be that the use of __FILE__ may have
   caused the issue in your case. Can you try editing that file, and remove the ,
   and __FILE__ after the ATD_VERSION ? Let me know if that fixes it for you. Thanks!
 *  Thread Starter [unclego](https://wordpress.org/support/users/unclego/)
 * (@unclego)
 * [12 years, 8 months ago](https://wordpress.org/support/topic/missing-visual-editor-afterthedeadlineplugin-bug/#post-4183800)
 * Doesn’t work for me.
    Problem part still is /wp-includes/js/tinymce/ before <
   plugins_url>.
 * I have no time to dig where and how is $plugin_array used. But my guess is /wp-
   includes is added when $plugin_array is handled.
 *  Thread Starter [unclego](https://wordpress.org/support/users/unclego/)
 * (@unclego)
 * [12 years, 8 months ago](https://wordpress.org/support/topic/missing-visual-editor-afterthedeadlineplugin-bug/#post-4183801)
 * I also noticed another error
 * [http://<site>/](http://<site>/)**wp-admin**/<plugins_url>/jetpack/_inc/images/
   menuicon-sprite.png
 *  Plugin Contributor [Richard Archambault](https://wordpress.org/support/users/richardmtl/)
 * (@richardmtl)
 * [12 years, 8 months ago](https://wordpress.org/support/topic/missing-visual-editor-afterthedeadlineplugin-bug/#post-4183803)
 * Hi, I’ve created a Trac ticket for your issue here:
 * [http://plugins.trac.wordpress.org/ticket/1988#ticket](http://plugins.trac.wordpress.org/ticket/1988#ticket)
 * Feel free to add yourself to it to follow it’s progress, or to add more information.
 *  Thread Starter [unclego](https://wordpress.org/support/users/unclego/)
 * (@unclego)
 * [12 years, 7 months ago](https://wordpress.org/support/topic/missing-visual-editor-afterthedeadlineplugin-bug/#post-4183823)
 * Well my apology. I should better RTFM.
    I mis the **http://** part when use define(‘
   WP_PLUGIN_URL’, …) after i add it everything works fine.
 *  Plugin Contributor [Richard Archambault](https://wordpress.org/support/users/richardmtl/)
 * (@richardmtl)
 * [12 years, 7 months ago](https://wordpress.org/support/topic/missing-visual-editor-afterthedeadlineplugin-bug/#post-4183824)
 * Great, glad you fixed it; I closed the ticket. 🙂

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘Missing visual editor – AfterTheDeadlinePlugin bug’ is closed to new 
replies.

 * ![](https://ps.w.org/jetpack/assets/icon.svg?rev=2819237)
 * [Jetpack - WP Security, Backup, Speed, & Growth](https://wordpress.org/plugins/jetpack/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/jetpack/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/jetpack/)
 * [Active Topics](https://wordpress.org/support/plugin/jetpack/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/jetpack/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/jetpack/reviews/)

## Tags

 * [jetpack bug](https://wordpress.org/support/topic-tag/jetpack-bug/)
 * [visual editor](https://wordpress.org/support/topic-tag/visual-editor/)

 * 6 replies
 * 2 participants
 * Last reply from: [Richard Archambault](https://wordpress.org/support/users/richardmtl/)
 * Last activity: [12 years, 7 months ago](https://wordpress.org/support/topic/missing-visual-editor-afterthedeadlineplugin-bug/#post-4183824)
 * Status: resolved