Support

Account

Home Forums Bug Reports WP 3.9 breaks wysiwyg editor Reply To: WP 3.9 breaks wysiwyg editor

  • Oh my. At first I thought 3.9 was creating issues, but when I updated to RC1 the problem was solved for a moment. Then I added a small snippet to functions.php to parse scripts. That made the same fault, so I assumed it was ACF having a problem, as the fault was similar to the “old” fail. Then I forgot about the snippet. Now I have deleted it, and everything works again. Sorry for fuzzing about that one.

    I can report all a-okay after RC2 and ACF 4.3.8. Thanks.

    PS: Bad snippet:

    function defer_parsing_of_js ( $url ) {
    if ( FALSE === strpos( $url, '.js' ) ) return $url;
    if ( strpos( $url, 'jquery.js' ) ) return $url;
    return "$url' defer ";
    }
    add_filter( 'clean_url', 'defer_parsing_of_js', 11, 1 );