Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact us.

Post New Thread Reply

Register GFY Rules Calendar
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed.

 
Thread Tools
Old 05-31-2022, 08:11 AM   #1
Paul&John
Confirmed User
 
Paul&John's Avatar
 
Industry Role:
Join Date: Aug 2005
Location: YUROP
Posts: 8,601
Links - Wordpress sites using old themes

Hi!

Seems like the get_links() function got deprecated not so long ago and a parameter was added to it (don't know when):
Quote:
$show_updated
(int) (Optional) Whether to show last updated timestamp.
Default value: 1
The thing with this piece of parameter is (which is by default on) that it automatically inserts a text into the title part of the a href: (Last updated December 31, 1969 7:00 pm).. so it will look like this:

Quote:
<a href="https://www.domain.com" title=" (Last updated December 31, 1969 7:00 pm)">Domain</a>
Last time WP wasn't doing this, but today I updated some sites to WP6.0 then added some links and at first couldn't figure out while is that last updated part included.. I guess only old themes are affected, where that parameter isn't set to disabled and maybe the new themes are using the newer function called get_bookmarks()..

Anyway if you have some sites on older themes check if you aren't affected by the same issue. Also it can be fixed by editing get_links() in the sidebar.php file.. usually from:
Code:
<?php get_links(-1, '<li>', '</li>', ' - '); ?>
to this:
Code:
<?php get_links(-1, '<li>', '</li>', ' - ',true,'name',true,false,-1,0); ?>
__________________
Use coupon 'pauljohn' for a $1 discount at already super cheap NameSilo!
Anal Webcams | Kinky Trans Cams Live | Hotwife XXX Tube | Get your Proxies here
Paul&John is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 06-03-2022, 08:53 AM   #2
NatalieK
Natalie K
 
NatalieK's Avatar
 
Industry Role:
Join Date: Apr 2010
Location: Spain
Posts: 19,173
when you say "old" themes, like how old?

we´ve not had any problems like this with outs, not of what we´ve noticed, but thank you for the info anyway
__________________
My official site Semi exclusive custom clips My affiliate programFirst time girls
Skype: gspotproductions - "Converting traffic into income since 2005"
NatalieK is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 06-04-2022, 08:58 AM   #3
Paul&John
Confirmed User
 
Paul&John's Avatar
 
Industry Role:
Join Date: Aug 2005
Location: YUROP
Posts: 8,601
Like super old.. one of the themes was made for Wordpress 2.6 which was released back in 2008 lol
__________________
Use coupon 'pauljohn' for a $1 discount at already super cheap NameSilo!
Anal Webcams | Kinky Trans Cams Live | Hotwife XXX Tube | Get your Proxies here
Paul&John is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Post New Thread Reply
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >

Bookmarks

Tags
themes, updated, parameter, sites, affected, function, default, links, get_links, added, set, figure, wp6.0, included, guess, fixed, editing, file, sidebar.php, issue, called, get_bookmarks, check, disabled, href



Advertising inquiries - marketing at gfy dot com

Contact Admin - Advertise - GFY Rules - Top

©2000-, AI Media Network Inc



Powered by vBulletin
Copyright © 2000- Jelsoft Enterprises Limited.