WordPress.org

Make WordPress Core

Changeset 27917


Ignore:
Timestamp:
04/03/2014 03:14:54 AM (6 years ago)
Author:
nacin
Message:

Remove links_recently_updated_time (hardening).

Merges some of [27916] to the 3.8 branch.

props Tom Adams.
see #27649.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/3.8/src/wp-includes/bookmark.php

    r26046 r27917  
    227227    }
    228228
    229     if ( $show_updated && get_option('links_recently_updated_time') ) {
    230         $recently_updated_test = ", IF (DATE_ADD(link_updated, INTERVAL " . get_option('links_recently_updated_time') . " MINUTE) >= NOW(), 1,0) as recently_updated ";
     229    if ( $show_updated ) {
     230        $recently_updated_test = ", IF (DATE_ADD(link_updated, INTERVAL 120 MINUTE) >= NOW(), 1,0) as recently_updated ";
    231231    } else {
    232232        $recently_updated_test = '';
Note: See TracChangeset for help on using the changeset viewer.