Version 18.1 messing up class lists
-
Prior to version 18.1 I could create a list of events on our website using (for example – this is a test to prove my point):
[vsel posts_per_page=”1″ event_cat=”races” class=”vsel-diary vsel-date-bold vsel-show-gp vsel-show-social” date_format=”jS F” no_events_text=”Events to be announced”]This produced an HTML output as follows (I have replace the HTML < with [ and > with ] so that that the HTML is visible:
[div id=”vsel” class=”vsel-shortcode vsel-shortcode-upcoming-events vsel-diary vsel-date-bold vsel-show-gp vsel-show-social”]
[div id=”event-7221″ class=”vsel-content grand-prix hrrl vsel-upcoming vsel-future”]
[div class=”vsel-meta” style=”width:100%; box-sizing:border-box;”]
[h3 class=”vsel-meta-title”][a href=”http://localhost/wordpress/event/hrrl-grand-prix-event/” rel=”bookmark” title=”HRRL grand prix event”]HRRL grand prix event[/a][/h3]
[div class=”vsel-meta-date vsel-meta-single-date”][span]31st May[/span][/div][div class=”vsel-meta-location”][span]Next to the Rural Life Museum, The Reeds Rd, Tilford, Farnham GU10 2DL[/span][/div]
[/div]In version 18.1 it now produces:
[h2]Test VSEL[/h2]
[div id=”vsel” class=”vsel-shortcode vsel-shortcode-upcoming-events vsel-diaryvsel-date-boldvsel-show-gpvsel-show-social”]
[div id=”event-7221″ class=”vsel-content grand-prix hrrl vsel-upcoming vsel-future”]
[div class=”vsel-meta” style=”width:100%; box-sizing:border-box;”]
[h3 class=”vsel-meta-title”][a href=”http://localhost/wordpress/event/hrrl-grand-prix-event/” rel=”bookmark” title=”HRRL grand prix event”]HRRL grand prix event[/a][/h3]
[div class=”vsel-meta-date vsel-meta-single-date”][span]31st May[/span][/div][div class=”vsel-meta-location”][span]Next to the Rural Life Museum, The Reeds Rd, Tilford, Farnham GU10 2DL[/span][/div]
[/div]As you can in the 18.0 version it generates
class=”vsel-shortcode vsel-shortcode-upcoming-events vsel-diary vsel-date-bold vsel-show-gp vsel-show-social”However in the 18.1 version it combines all the classes that I listed in the VSEL shortcode into one single class:
class=”vsel-shortcode vsel-shortcode-upcoming-events vsel-diaryvsel-date-boldvsel-show-gpvsel-show-social”This has caused real problems on the website that I manage. I have rolled back to v18.0 but I do not want to stick at that because I’ll miss future updates that may be important.
The topic ‘Version 18.1 messing up class lists’ is closed to new replies.