WordPress.org

Make WordPress Core

Changeset 27919


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

Remove links_recently_updated_time (hardening).

Merges [27917] from the 3.8 branch to 3.7 branch.

see #27649.

Location:
branches/3.7
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/3.7

  • branches/3.7/src/wp-includes/bookmark.php

    r24875 r27919  
    209209    }
    210210
    211     if ( $show_updated && get_option('links_recently_updated_time') ) {
    212         $recently_updated_test = ", IF (DATE_ADD(link_updated, INTERVAL " . get_option('links_recently_updated_time') . " MINUTE) >= NOW(), 1,0) as recently_updated ";
     211    if ( $show_updated ) {
     212        $recently_updated_test = ", IF (DATE_ADD(link_updated, INTERVAL 120 MINUTE) >= NOW(), 1,0) as recently_updated ";
    213213    } else {
    214214        $recently_updated_test = '';
Note: See TracChangeset for help on using the changeset viewer.