Web Hosting
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

WordPress fix 4.9 deleting span with data-* attributes?

Discussion in 'Misc WordPress Requests' started by cviudez, Nov 24, 2017.

  1. cviudez


    4.9 deleting span with data-* attributes?, by cviudez

    Hi all,
    We are developping an EpsilonWriter plugin for WordPress, see:
    EpsilonWriter plugin page
    The page is running well with WordPress 4.8.3. We tested the same code with 4.9 and it broke our equation editing. We use span tags and data-* attributes to mark the equations in our content.
    We were wondering if such a new behaviour si linked to any change of the following function in 4.9
    remove_filter(‘the_content’, ‘wpautop’); remove_filter(‘the_excerpt’, ‘wpautop’);
    $role -> add_cap( ‘unfiltered_html’ );
    But we did not find information about changes on such functions with 4.9

    So any idea that could help us to determine if it is a 4.9 issue or if it is due to a 4.9 change we need to adapt to would be very appreciated.

    4.9 deleting span with data-* attributes?

Share This Page

Web Hosting