Make WordPress Core


Ignore:
Timestamp:
08/30/2006 09:46:31 PM (18 years ago)
Author:
ryan
Message:

Use get_option instead of get_settings. Just 'cause.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/bookmark-template.php

    r4108 r4144  
    9494        $output .= $before;
    9595        if ( $show_updated && $row->recently_updated )
    96             $output .= get_settings('links_recently_updated_prepend');
     96            $output .= get_option('links_recently_updated_prepend');
    9797        $the_link = '#';
    9898        if ( !empty($row->link_url) )
     
    108108        if ( $show_updated )
    109109            if (substr($row->link_updated_f, 0, 2) != '00')
    110                 $title .= ' (Last updated ' . date(get_settings('links_updated_date_format'), $row->link_updated_f + (get_settings('gmt_offset') * 3600)) . ')';
     110                $title .= ' (Last updated ' . date(get_option('links_updated_date_format'), $row->link_updated_f + (get_option('gmt_offset') * 3600)) . ')';
    111111
    112112        if ( '' != $title )
     
    125125                $output .= "<img src=\"$row->link_image\" $alt $title />";
    126126            else // If it's a relative path
    127                 $output .= "<img src=\"" . get_settings('siteurl') . "$row->link_image\" $alt $title />";
     127                $output .= "<img src=\"" . get_option('siteurl') . "$row->link_image\" $alt $title />";
    128128        } else {
    129129            $output .= $name;
     
    133133
    134134        if ( $show_updated && $row->recently_updated )
    135             $output .= get_settings('links_recently_updated_append');
     135            $output .= get_option('links_recently_updated_append');
    136136
    137137        if ( $show_description && '' != $desc )
     
    257257        $output .= $before;
    258258        if ( $show_updated && $bookmark->recently_updated )
    259             $output .= get_settings('links_recently_updated_prepend');
     259            $output .= get_option('links_recently_updated_prepend');
    260260
    261261        $the_link = '#';
     
    273273        if ( $show_updated )
    274274            if ( '00' != substr($bookmark->link_updated_f, 0, 2) )
    275                 $title .= ' (Last updated ' . date(get_settings('links_updated_date_format'), $bookmark->link_updated_f + (get_settings('gmt_offset') * 3600)) . ')';
     275                $title .= ' (Last updated ' . date(get_option('links_updated_date_format'), $bookmark->link_updated_f + (get_option('gmt_offset') * 3600)) . ')';
    276276
    277277        if ( '' != $title )
     
    290290                $output .= "<img src=\"$bookmark->link_image\" $alt $title />";
    291291            else // If it's a relative path
    292                 $output .= "<img src=\"" . get_settings('siteurl') . "$bookmark->link_image\" $alt $title />";
     292                $output .= "<img src=\"" . get_option('siteurl') . "$bookmark->link_image\" $alt $title />";
    293293        } else {
    294294            $output .= $name;
     
    298298
    299299        if ( $show_updated && $bookmark->recently_updated )
    300             $output .= get_settings('links_recently_updated_append');
     300            $output .= get_option('links_recently_updated_append');
    301301
    302302        if ( $show_description && '' != $desc )
Note: See TracChangeset for help on using the changeset viewer.