Last Topics Widgets and Shortcode: there is no attribute title for the <a> element

User avatar
axew3
w3all User
w3all User
Posts: 2707
Joined: Fri Jan 22, 2016 5:15 pm
Location: Italy
Contact:

Last Topics Widgets and Shortcode: there is no attribute title for the <a> element

Post by axew3 »

Files:
/wp-content/plugins/wp-w3all-phpbb-integration/views/phpbb_last_topics_output_shortcode.php
and
/wp-content/plugins/wp-w3all-phpbb-integration/views/phpbb_last_topics.php

have been patched to remove the attribute title on outputted elements <a>.
It is a secondary not important fix, that buy the way was requested to be fixed.
There is no attribute title for an <a> element (so do not know why it were added)
https://developer.mozilla.org/en-US/doc ... /Element/a

download patched files here:
https://plugins.trac.wordpress.org/brow ... runk/views

if you use custom phpbb_last_topics_output_shortcode.php and phpbb_last_topics.php
and you want to patch yourself these two files to remove the not needed attribute title on <a> element, do it in this way:
just open these two files with text editor, search for

Code: Select all

 title=\"Last Post: $value->post_subject\"
remove from all lines where it is found on files.
OR
download patched files here:
https://plugins.trac.wordpress.org/brow ... runk/views