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

Post a reply


This question is a means of preventing automated form submissions by spambots.
Smilies
:D :) ;) :( :o :shock: :? 8-) :lol: :x :P :oops: :cry: :evil: :twisted: :roll: :!: :?: :idea: :arrow: :| :mrgreen: :geek: :ugeek:

BBCode is ON
[img] is ON
[url] is ON
Smilies are ON

Topic review
   

If you wish to attach one or more files enter the details below.

Maximum filesize per attachment: 1 MiB.

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

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

by axew3 » Fri Mar 16, 2018 8:26 am

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

Top