Title: Plugin uses deprecated function
Last modified: November 1, 2017

---

# Plugin uses deprecated function

 *  Resolved [Dave](https://wordpress.org/support/users/dvaer/)
 * (@dvaer)
 * [8 years, 7 months ago](https://wordpress.org/support/topic/plugin-uses-deprecated-function-2/)
 * Hi there,
 * There seems to be a deprecated function in your plugin. I scanned it with ‘[plugin inspector](https://wordpress.org/plugins/plugin-inspector/)‘,
   and that said there’s a deprecated function in /black-studio-tinymce-widget/includes/
   class-compatibility-wordpress.php
 *     ```
       wp_tiny_mce at line 95:
       wp_tiny_mce( false, array() ); 
       Deprecated 3.3.0 Use wp_editor()
       ```
   
 *     ```
       wp_tiny_mce at line 204:
       wp_tiny_mce( false, array() ); 
       Deprecated 3.3.0 Use wp_editor()
       ```
   
 *     ```
       wp_preload_dialogs at line 207:
       wp_preload_dialogs( array( 'plugins' => 'wpdialogs,wplink,wpfullscreen' ) ); 
       Deprecated 3.3.0 Use wp_editor()
       ```
   
 * I hope you can fix this in an upcoming version.
 * Thank you for a useful plugin

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

 *  Plugin Author [Marco Chiesi](https://wordpress.org/support/users/marcochiesi/)
 * (@marcochiesi)
 * [8 years, 7 months ago](https://wordpress.org/support/topic/plugin-uses-deprecated-function-2/#post-9640082)
 * Hi Dave,
    thanks for your report, but the code you referred is intentionally 
   left there to ensure compatibility with very old versions of WordPress (3.1 and
   3.2), and it’s executed only when those versions are detected. If you’re running
   a recent version of WordPress you shouldn’t worry about that code, as it won’t
   be executed and it won’t trigger any deprecation notice.
 * Note: in future versions of the plugin we’ll probably drop support for those 
   very old versions of WordPress and so that code will be definitely removed.
 *  Thread Starter [Dave](https://wordpress.org/support/users/dvaer/)
 * (@dvaer)
 * [8 years, 7 months ago](https://wordpress.org/support/topic/plugin-uses-deprecated-function-2/#post-9643097)
 * Hi Marco,
 * OK, that makes total sense. Thanks for letting me know, I appreciate it.

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

The topic ‘Plugin uses deprecated function’ is closed to new replies.

 * ![](https://ps.w.org/black-studio-tinymce-widget/assets/icon.svg?rev=2627604)
 * [Black Studio TinyMCE Widget](https://wordpress.org/plugins/black-studio-tinymce-widget/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/black-studio-tinymce-widget/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/black-studio-tinymce-widget/)
 * [Active Topics](https://wordpress.org/support/plugin/black-studio-tinymce-widget/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/black-studio-tinymce-widget/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/black-studio-tinymce-widget/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [Dave](https://wordpress.org/support/users/dvaer/)
 * Last activity: [8 years, 7 months ago](https://wordpress.org/support/topic/plugin-uses-deprecated-function-2/#post-9643097)
 * Status: resolved