Changeset 12598 for trunk/wp-includes/general-template.php
- Timestamp:
- 01/04/2010 05:23:29 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/general-template.php
r12590 r12598 122 122 } 123 123 124 $form = '<form role="search" method="get" id="searchform" action="' . get_option('home') . '/" >124 $form = '<form role="search" method="get" id="searchform" action="' . home_url() . '/" > 125 125 <div><label class="screen-reader-text" for="s">' . __('Search for:') . '</label> 126 126 <input type="text" value="' . esc_attr(apply_filters('the_search_query', get_search_query())) . '" name="s" id="s" /> … … 302 302 _deprecated_argument( __FUNCTION__, '2.2', sprintf( __('The \'%1$s\' option is deprecated for the family of bloginfo() functions. Use the \'%2$s\' option instead.'), $show, 'url' ) ); 303 303 case 'url' : 304 $output = get_option('home');304 $output = home_url(); 305 305 break; 306 306 case 'wpurl' : … … 887 887 $arc_week_start = date_i18n($archive_week_start_date_format, $arc_week['start']); 888 888 $arc_week_end = date_i18n($archive_week_end_date_format, $arc_week['end']); 889 $url = sprintf('%1$s/%2$s%3$sm%4$s%5$s%6$sw%7$s%8$d', get_option('home'), '', '?', '=', $arc_year, '&', '=', $arcresult->week);889 $url = sprintf('%1$s/%2$s%3$sm%4$s%5$s%6$sw%7$s%8$d', home_url(), '', '?', '=', $arc_year, '&', '=', $arcresult->week); 890 890 $text = $arc_week_start . $archive_week_separator . $arc_week_end; 891 891 if ($show_post_count)
Note: See TracChangeset
for help on using the changeset viewer.