HTML Syntax errors in Admin Tools Page
-
Hi, just a heads-up..
The “Rate Us” section in the sidebar of your Admin Page contains invalid html resulting in a broken image (among other things).
This is the existing code:
<div class="sidebar_section" style="padding:0 !important;border:none !important;background:none !important;"> <a href="https://codection.com/how-to-transfer-your-website-to-inmotion-hosting/" target="_blank"> <img src="https://example.com/wp-content/plugins/import-users-from-csv-with-meta/assets/codection-inmotion.png </a> </div> <div class=" sidebar_section"="" id="vote_us"> <h3>Rate Us</h3> </a><ul><a href="https://codection.com/how-to-transfer-your-website-to-inmotion-hosting/" target="_blank"> </a><li><a href="https://codection.com/how-to-transfer-your-website-to-inmotion-hosting/" target="_blank"><label>If you like it, </label></a><a href="https://www.ads-software.com/support/plugin/import-users-from-csv-with-meta/reviews/">Please vote and support us</a>.</li> </ul> </div>
This would be valid code:
<div class="sidebar_section" style="padding:0 !important;border:none !important;background:none !important;"> <a href="https://codection.com/how-to-transfer-your-website-to-inmotion-hosting/" target="_blank" rel="noopener"> <img src="/wp-content/plugins/import-users-from-csv-with-meta/assets/codection-inmotion.png" alt=""> </a> <div class=" sidebar_section" id="vote_us"> <h3>Rate Us</h3> <ul> <li>If you like it <a href="https://www.ads-software.com/support/plugin/import-users-from-csv-with-meta/reviews/" target="_blank" rel="noopener">please vote and support us</a></li> </ul> </div> </div>
Note that I have also included
target="_blank" rel="noopener"
. You should always use rel=”noopener” when using a _blank target to avoid the tabnabbing security vulnerability.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘HTML Syntax errors in Admin Tools Page’ is closed to new replies.