Support » Fixing WordPress » link library disappeared

Viewing 1 replies (of 1 total)
  • Here’s the fix:

    WordPress removed ( get_option(‘links_recently_updated_time’) ) for WP 3.9.

    Here’s the updated PHP code for Link Library:

    Old Code:
    $linkquery .= “IF (DATE_ADD(l.link_updated, INTERVAL ” . get_option(‘links_recently_updated_time’) . ” MINUTE) >= NOW(), 1,0) as recently_updated “;

    New Code:
    $linkquery .= “IF (DATE_ADD(l.link_updated, INTERVAL 120 MINUTE) >= NOW(), 1,0) as recently_updated “;

    All fixed.

Viewing 1 replies (of 1 total)
  • The topic ‘link library disappeared’ is closed to new replies.