WordPress.org

Make WordPress Core

Changeset 27916


Ignore:
Timestamp:
04/03/2014 03:09:59 AM (4 years ago)
Author:
nacin
Message:

Remove old links_recently_updated_* DB options that never had a UI.

fixes #27649.

Location:
trunk/src
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/includes/schema.php

    r27359 r27916  
    393393    /* translators: links last updated date format, see http://php.net/date */
    394394    'links_updated_date_format' => __('F j, Y g:i a'),
    395     'links_recently_updated_prepend' => '<em>',
    396     'links_recently_updated_append' => '</em>',
    397     'links_recently_updated_time' => 120,
    398395    'comment_moderation' => 0,
    399396    'moderation_notify' => 1,
     
    538535        'links_rating_image2', 'links_rating_image3', 'links_rating_image4', 'links_rating_image5',
    539536        'links_rating_image6', 'links_rating_image7', 'links_rating_image8', 'links_rating_image9',
     537        'links_recently_updated_time', 'links_recently_updated_prepend', 'links_recently_updated_append',
    540538        'weblogs_cacheminutes', 'comment_allowed_tags', 'search_engine_friendly_urls', 'default_geourl_lat',
    541539        'default_geourl_lon', 'use_default_geourl', 'weblogs_xml_url', 'new_users_can_blog', '_wpnonce',
  • trunk/src/wp-includes/bookmark-template.php

    r26980 r27916  
    6666        $output .= $before;
    6767        if ( $show_updated && $bookmark->recently_updated )
    68             $output .= get_option('links_recently_updated_prepend');
     68            $output .= '<em>';
    6969
    7070        $the_link = '#';
     
    117117
    118118        if ( $show_updated && $bookmark->recently_updated )
    119             $output .= get_option('links_recently_updated_append');
     119            $output .= '</em>';
    120120
    121121        if ( $show_description && '' != $desc )
  • trunk/src/wp-includes/bookmark.php

    r26046 r27916  
    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 = '';
  • trunk/src/wp-includes/version.php

    r27897 r27916  
    1212 * @global int $wp_db_version
    1313 */
    14 $wp_db_version = 26691;
     14$wp_db_version = 27916;
    1515
    1616/**
Note: See TracChangeset for help on using the changeset viewer.