BUG: Twitter Link on author.php Incorrectly Using Relative Path

Posted in: Newspaper
Post count: 322

There was another thread about this opened in June, but that went nowhere, so I’m opening a new one. (https://forum.tagdiv.com/topic/twitter-link-error-in-author/)

The O.P. had it right. No link to view is necessary. The author.php author box loads the twitter user meta expecting a full link has been entered.

We could just enter the full link in our profiles but then the post author box and various plugins fail because they only want the username for twitter, not the full url.

It’s right on the post version of the author box. It’s wrong on the author.php version of the author box. Author.php author box should automatically prepend the https://twitter.com/ portion of that link. I’ve looked and can’t see how to do that myself with the way it is setup there. So we get a new bug report.

BTW – this is with v6.1 but I checked the code in 6.3 and it still has the same problem.

The foreach at line #47 in page-author-box.php is where the issue generates.

Thanks.

Post count: 1291

Hi,

You’re right, the solution is a bit complicated as we want to make sure it works for the users which already added the full url. I’ve added this issue on our list, thanks for reporting it.

Thank you!

Viewing 2 posts - 1 through 2 (of 2 total)
You must be logged in to reply to this topic.