summaryrefslogtreecommitdiffstats
path: root/wp-includes/bookmark.php
diff options
context:
space:
mode:
Diffstat (limited to 'wp-includes/bookmark.php')
-rw-r--r--wp-includes/bookmark.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/wp-includes/bookmark.php b/wp-includes/bookmark.php
index 350d91e..306a33f 100644
--- a/wp-includes/bookmark.php
+++ b/wp-includes/bookmark.php
@@ -91,8 +91,8 @@ function get_bookmarks($args = '') {
$join = " LEFT JOIN $wpdb->link2cat ON ($wpdb->links.link_id = $wpdb->link2cat.link_id) ";
}
- if (get_settings('links_recently_updated_time')) {
- $recently_updated_test = ", IF (DATE_ADD(link_updated, INTERVAL " . get_settings('links_recently_updated_time') . " MINUTE) >= NOW(), 1,0) as recently_updated ";
+ if (get_option('links_recently_updated_time')) {
+ $recently_updated_test = ", IF (DATE_ADD(link_updated, INTERVAL " . get_option('links_recently_updated_time') . " MINUTE) >= NOW(), 1,0) as recently_updated ";
} else {
$recently_updated_test = '';
}
@@ -131,4 +131,4 @@ function get_bookmarks($args = '') {
return apply_filters('get_bookmarks', $results, $r);
}
-?> \ No newline at end of file
+?>