Changeset 8058 for trunk/wp-includes/widgets.php
- Timestamp:
- 06/06/2008 07:39:11 AM (18 years ago)
- File:
-
- 1 edited
-
trunk/wp-includes/widgets.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/widgets.php
r7968 r8058 1074 1074 $url = clean_url(strip_tags($url)); 1075 1075 if ( file_exists(dirname(__FILE__) . '/rss.png') ) 1076 $icon = str_replace(ABSPATH, get_option('siteurl').'/', dirname(__FILE__)) . '/rss.png';1076 $icon = str_replace(ABSPATH, site_url() . '/', dirname(__FILE__)) . '/rss.png'; 1077 1077 else 1078 $icon = get_option('siteurl').'/wp-includes/images/rss.png';1078 $icon = includes_url('images/rss.png'); 1079 1079 $title = "<a class='rsswidget' href='$url' title='" . attribute_escape(__('Syndicate this content')) ."'><img style='background:orange;color:white;border:none;' width='14' height='14' src='$icon' alt='RSS' /></a> <a class='rsswidget' href='$link' title='$desc'>$title</a>"; 1080 1080
Note: See TracChangeset
for help on using the changeset viewer.