WordPress.org

Ready to get started?Download WordPress

Forums

Advanced Custom Fields
Deprecated function call to wp_tiny_mce creates WYSIWYG in head (7 posts)

  1. Ben Balter
    Member
    Posted 2 years ago #

    The call to the deprecated function wp_tiny_mce() on line 328 of acf.php creates an extra WYSIWYG editor at admin_head.

    Commented out to resolve (it calles the_editor), but would hate to see if come back after upgrading.

    Thanks for a great plugin!

    - Ben

    http://wordpress.org/extend/plugins/advanced-custom-fields/

  2. alandbh
    Member
    Posted 2 years ago #

    Man, you're a genious!!
    All buttons in the TinyMce had their texts changed to "{#...".
    But, with your help, I could finaly fix this.

    Thank you very much!

  3. Yasp0
    Member
    Posted 2 years ago #

    With the new ACF update the {#..." fields are back...and wp_tiny_mce() is gone in acf.php so don't know how to fix it. Anyone?

  4. Xtremefaith
    Member
    Posted 2 years ago #

    Same problem, using ACF 3.3 and don't see a wp_tiny_mce() call anywhere. If I deactivate plugin the error goes away so I'm pretty sure ACF is the problem child

  5. wplj
    Member
    Posted 2 years ago #

    wp_tiny_mce() is called in core/fields/wsywig.php line 67

    function add_tiny_mce()
       	{
       		global $post;
    
       		if($post && post_type_supports($post->post_type, 'editor'))
       		{
       			// do nothing, wysiwyg will render correctly!
       		}
       		else
       		{
       			wp_tiny_mce();
       		}
    
    	}
  6. elliotcondon
    Member
    Plugin Author

    Posted 2 years ago #

    Hey guys,

    I'm confident that I've tracked it down to being chrome specific. I'll find a fix for the next version

    Cheers
    E

  7. LasseClaes
    Member
    Posted 2 years ago #

    subscribing

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic