Changeset 12587
- Timestamp:
- 12/30/2009 05:05:02 PM (15 years ago)
- Location:
- trunk
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-app.php
r12584 r12587 372 372 $this->auth_required( __( 'Sorry, you do not have the right to access this blog.' ) ); 373 373 374 $home = esc_attr(get_bloginfo_rss(' home'));374 $home = esc_attr(get_bloginfo_rss('url')); 375 375 376 376 $categories = ""; -
trunk/wp-includes/feed-atom-comments.php
r11323 r12587 37 37 <id><?php echo get_search_comments_feed_link('', 'atom'); ?></id> 38 38 <?php } else { ?> 39 <link rel="alternate" type="<?php bloginfo_rss('html_type'); ?>" href="<?php bloginfo_rss(' home'); ?>" />39 <link rel="alternate" type="<?php bloginfo_rss('html_type'); ?>" href="<?php bloginfo_rss('url'); ?>" /> 40 40 <link rel="self" type="application/atom+xml" href="<?php bloginfo_rss('comments_atom_url'); ?>" /> 41 41 <id><?php bloginfo_rss('comments_atom_url'); ?></id> -
trunk/wp-includes/feed-atom.php
r11980 r12587 14 14 xmlns:thr="http://purl.org/syndication/thread/1.0" 15 15 xml:lang="<?php echo get_option('rss_language'); ?>" 16 xml:base="<?php bloginfo_rss(' home') ?>/wp-atom.php"16 xml:base="<?php bloginfo_rss('url') ?>/wp-atom.php" 17 17 <?php do_action('atom_ns'); ?> 18 18 > … … 23 23 <?php the_generator( 'atom' ); ?> 24 24 25 <link rel="alternate" type="text/html" href="<?php bloginfo_rss(' home') ?>" />25 <link rel="alternate" type="text/html" href="<?php bloginfo_rss('url') ?>" /> 26 26 <id><?php bloginfo('atom_url'); ?></id> 27 27 <link rel="self" type="application/atom+xml" href="<?php self_link(); ?>" /> -
trunk/wp-includes/general-template.php
r12514 r12587 274 274 * 275 275 * Some show parameter values are deprecated and will be removed in future 276 * versions. Care should be taken to check the function contents and know what 277 * the deprecated blog info options are. Options without "// DEPRECATED" are 278 * the preferred and recommended ways to get the information. 276 * versions. These options will trigger the _deprecated_argument() function. 277 * The deprecated blog info options are listed in the function contents. 279 278 * 280 279 * The possible values for the 'show' parameter are listed below. … … 290 289 * feed) or 'comments_rss2_url' (RSS 2.0 comment feed). 291 290 * 292 * There are many other options and you should check the function contents:293 * {@source 32 37}294 *295 291 * @since 0.71 296 292 * … … 299 295 * @return string Mostly string values, might be empty. 300 296 */ 301 function get_bloginfo($show = '', $filter = 'raw') { 302 303 switch($show) { 304 case 'url' : 297 function get_bloginfo( $show = '', $filter = 'raw' ) { 298 299 switch( $show ) { 305 300 case 'home' : // DEPRECATED 306 301 case 'siteurl' : // DEPRECATED 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 case 'url' : 307 304 $output = get_option('home'); 308 305 break; -
trunk/wp-includes/link-template.php
r12584 r12587 1305 1305 1306 1306 if ( !$wp_rewrite->using_permalinks() || is_admin() ) { 1307 $base = trailingslashit( get_bloginfo( ' home' ) );1307 $base = trailingslashit( get_bloginfo( 'url' ) ); 1308 1308 1309 1309 if ( $pagenum > 1 ) {
Note: See TracChangeset
for help on using the changeset viewer.