• I’ve recently upgraded to WP 4.7 and it broke some things, mainly on my bootstrap carousel and some empty <span> tags that were there to show icons via CSS.

    I have a bootstrap carousel that has the carousel indicators (bullets).

    The code I have for showing the indicators is:

    <li data-target="#myCarousel" data-slide-to="<?php echo $i; ?>" <?php echo $activo; ?>></li>

    It should output this:

    <li data-target="#myCarousel" data-slide-to="1" class="active"></li>

    But since updating to 4.7 it’s outputting:

    <li></li>

    Any ideas?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Moderator t-p

    (@t-p)

    Have you tried:
    – Flushing any caching plugins you might be running, as well as server and/or browser caches. Not just your browser, but any op cache or content network cache as well such as Cloudflare. If your host provider has a “Purge Varnish” option or if you can ask your provider to flush memcache on your server.
    – If that does not resolve the issue, try deactivating ALL (yes all) plugins temporarily to see if this resolves the problem (plugin functions can interfere). If this works, re-activate them individually (one-by-one) to find the problematic plugin(s).
    – If that does not resolve the issue try resetting the plugins folder by FTP. Sometimes, an apparently inactive plugin can still cause problems. Also remember to deactivate any plugins in the mu-plugins folder (if you have created such folder). The easiest way is to rename that folder to mu-plugins-old.
    – If that does not resolve the issue, keep all plugins deactivated and try switching to the unedited default Theme (Twenty Sixteen, etc.) for a moment using the WP dashboard to rule out any theme-specific issue (theme functions can interfere like plugins).

    try the plug-in “preserved editor markup” it will prevent WordPress from modifying your code

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘WordPress 4.7 update removing tags and atrributes. Breaking a Bootstrap Carousel’ is closed to new replies.