4.0.0 Breaks Cryptx in Custom Shortcode Output
-
One of my sites uses a custom shortcode I wrote for a contact list. The DOM structure of this output is like:
<ul class="tgmpro-contacts-list" id="list-board"›
<li class="tgpmpro-contact-item" onclick="showContact("list-board", "list-board-1515")" style="background-image: ur l(ht
tps://rea.test/wp-content/uploads/membership_files/1515/pic/resized-mef_student_profile_the_rev_patricia_-bonilla_1000
×400-copy-200x200. png) ;">
<div class="tgpmpro-contact-name bottom-wrap">@</div>
<div class="tgpmpro-contact-role">Title</div>
<div class="tgpmpro-contact-card list-board-card" id="list-board-1515" style="display: none;"›
<div class="tgpmpro-contact-card-details">
<div class="tgpmpro-contact-card-corner">@</div>
<div class="tgpmpro-contact-card-name">Name</div>
<div class="tgpmpro-contact-card-occupation">Occupation</div>
<div class="tgpmpro-contact-card-institution">Company</div>
<div class="tgpmpro-contact-card-location">City</div>
<div class="tgpmpro-contact-card-email">name [at] gmail [dot] com</div>
</div>
</div>
</li>
</ul>CryptX in 3.x would have linked the email address, not just transformed it. But in 4.0.0 it is CryptX that is transforming the email, my code is only echoing the email address straight from the WP_User, but the address is not getting linked. This seems like a bug in the way CryptX 4.0.0 handles complex HTML differently.
Viewing 7 replies - 1 through 7 (of 7 total)
Viewing 7 replies - 1 through 7 (of 7 total)
The topic ‘4.0.0 Breaks Cryptx in Custom Shortcode Output’ is closed to new replies.