WordPress.org

Support

Support » Plugins and Hacks » [Resolved] [Plugin: Advanced Custom Fields] Upload/Inset/Featured Button stopped working for Post/Pages/Custom

[Resolved] [Plugin: Advanced Custom Fields] Upload/Inset/Featured Button stopped working for Post/Pages/Custom

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author elliotcondon

    @elliotcondon

    Hi sahimepani,

    I’m currently working through this bug. For now, please edit your core/fields/wysiwyg.php file and replace

    function admin_print_styles()
    	{
      		wp_enqueue_style(array(
      			'editor-buttons',
    		));
    	}

    with

    function admin_print_scripts()
    	{
    		wp_enqueue_script(array(
    
    			'jquery',
    			'jquery-ui-core',
    			'jquery-ui-tabs',
    
    			// wysiwyg
    			'editor',
    			'thickbox',
    			'media-upload',
    			'word-count',
    			'post',
    			'editor-functions',
    			'tiny_mce',
    
    		));
    	}
    
    	function admin_print_styles()
    	{
      		wp_enqueue_style(array(
      			'editor-buttons',
    			'thickbox',
    		));
    	}

    Hello elliotcondon,

    I tried what you suggested, But still no luck. Please help me

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Resolved] [Plugin: Advanced Custom Fields] Upload/Inset/Featured Button stopped working for Post/Pages/Custom’ is closed to new replies.