Ticket #13440: 13440.diff
File 13440.diff, 7.7 KB (added by , 13 years ago) |
---|
-
wp-includes/feed-rss2.php
26 26 <link><?php bloginfo_rss('url') ?></link> 27 27 <description><?php bloginfo_rss("description") ?></description> 28 28 <lastBuildDate><?php echo mysql2date('D, d M Y H:i:s +0000', get_lastpostmodified('GMT'), false); ?></lastBuildDate> 29 <language><?php echo get_option('rss_language'); ?></language>29 <language><?php bloginfo_rss( 'language' ); ?></language> 30 30 <sy:updatePeriod><?php echo apply_filters( 'rss_update_period', 'hourly' ); ?></sy:updatePeriod> 31 31 <sy:updateFrequency><?php echo apply_filters( 'rss_update_frequency', '1' ); ?></sy:updateFrequency> 32 32 <?php do_action('rss2_head'); ?> -
wp-includes/feed-atom.php
12 12 <feed 13 13 xmlns="http://www.w3.org/2005/Atom" 14 14 xmlns:thr="http://purl.org/syndication/thread/1.0" 15 xml:lang="<?php echo get_option('rss_language'); ?>"15 xml:lang="<?php bloginfo_rss( 'language' ); ?>" 16 16 xml:base="<?php bloginfo_rss('url') ?>/wp-atom.php" 17 17 <?php do_action('atom_ns'); ?> 18 18 > -
wp-includes/feed-rss.php
16 16 <description><?php bloginfo_rss('description') ?></description> 17 17 <lastBuildDate><?php echo mysql2date('D, d M Y H:i:s +0000', get_lastpostmodified('GMT'), false); ?></lastBuildDate> 18 18 <docs>http://backend.userland.com/rss092</docs> 19 <language><?php echo get_option('rss_language'); ?></language>19 <language><?php bloginfo_rss( 'language' ); ?></language> 20 20 <?php do_action('rss_head'); ?> 21 21 22 22 <?php while (have_posts()) : the_post(); ?> -
wp-includes/feed-atom-comments.php
10 10 ?> 11 11 <feed 12 12 xmlns="http://www.w3.org/2005/Atom" 13 xml:lang="<?php echo get_option('rss_language'); ?>"13 xml:lang="<?php bloginfo_rss( 'language' ); ?>" 14 14 xmlns:thr="http://purl.org/syndication/thread/1.0" 15 15 <?php do_action('atom_ns'); do_action('atom_comments_ns'); ?> 16 16 > -
wp-app.php
1077 1077 $prev_page = ($page - 1) < 1 ? null : $page - 1; 1078 1078 $last_page = ((int)$last_page == 1 || (int)$last_page == 0) ? null : (int) $last_page; 1079 1079 $self_page = $page > 1 ? $page : null; 1080 ?><feed xmlns="<?php echo $this->ATOM_NS ?>" xmlns:app="<?php echo $this->ATOMPUB_NS ?>" xml:lang="<?php echo get_option('rss_language'); ?>" <?php do_action('app_ns'); ?> >1080 ?><feed xmlns="<?php echo $this->ATOM_NS ?>" xmlns:app="<?php echo $this->ATOMPUB_NS ?>" xml:lang="<?php bloginfo_rss( 'language' ); ?>" <?php do_action('app_ns'); ?> > 1081 1081 <id><?php $this->the_entries_url() ?></id> 1082 1082 <updated><?php echo mysql2date('Y-m-d\TH:i:s\Z', get_lastpostmodified('GMT'), false); ?></updated> 1083 1083 <title type="text"><?php bloginfo_rss('name') ?></title> … … 1150 1150 */ 1151 1151 function echo_entry() { ?> 1152 1152 <entry xmlns="<?php echo $this->ATOM_NS ?>" 1153 xmlns:app="<?php echo $this->ATOMPUB_NS ?>" xml:lang="<?php echo get_option('rss_language'); ?>">1153 xmlns:app="<?php echo $this->ATOMPUB_NS ?>" xml:lang="<?php bloginfo_rss( 'language' ); ?>"> 1154 1154 <id><?php the_guid( $GLOBALS['post']->ID ); ?></id> 1155 1155 <?php list($content_type, $content) = prep_atom_text_construct(get_the_title()); ?> 1156 1156 <title type="<?php echo $content_type ?>"><?php echo $content ?></title> -
wp-admin/includes/schema.php
409 409 'comment_whitelist' => 1, 410 410 'blacklist_keys' => '', 411 411 'comment_registration' => 0, 412 'rss_language' => 'en',413 412 'html_type' => 'text/html', 414 413 415 414 // 1.5.1 … … 524 523 if ( !__get_option('home') ) update_option('home', $guessurl); 525 524 526 525 // Delete unused options 527 $unusedoptions = array ('blodotgsping_url', 'bodyterminator', 'emailtestonly', 'phoneemail_separator', 'smilies_directory', 'subjectprefix', 'use_bbcode', 'use_blodotgsping', 'use_phoneemail', 'use_quicktags', 'use_weblogsping', 'weblogs_cache_file', 'use_preview', 'use_htmltrans', 'smilies_directory', 'fileupload_allowedusers', 'use_phoneemail', 'default_post_status', 'default_post_category', 'archive_mode', 'time_difference', 'links_minadminlevel', 'links_use_adminlevels', 'links_rating_type', 'links_rating_char', 'links_rating_ignore_zero', 'links_rating_single_image', 'links_rating_image0', 'links_rating_image1', 'links_rating_image2', 'links_rating_image3', 'links_rating_image4', 'links_rating_image5', 'links_rating_image6', 'links_rating_image7', 'links_rating_image8', 'links_rating_image9', 'weblogs_cacheminutes', 'comment_allowed_tags', 'search_engine_friendly_urls', 'default_geourl_lat', 'default_geourl_lon', 'use_default_geourl', 'weblogs_xml_url', 'new_users_can_blog', '_wpnonce', '_wp_http_referer', 'Update', 'action', 'rich_editing', 'autosave_interval', 'deactivated_plugins', 'can_compress_scripts', 'page_uris', 'update_core', 'update_plugins', 'update_themes', 'doing_cron', 'random_seed', 'rss_excerpt_length', 'secret', 'use_linksupdate', 'default_comment_status_page', 'wporg_popular_tags', 'what_to_show' );526 $unusedoptions = array ('blodotgsping_url', 'bodyterminator', 'emailtestonly', 'phoneemail_separator', 'smilies_directory', 'subjectprefix', 'use_bbcode', 'use_blodotgsping', 'use_phoneemail', 'use_quicktags', 'use_weblogsping', 'weblogs_cache_file', 'use_preview', 'use_htmltrans', 'smilies_directory', 'fileupload_allowedusers', 'use_phoneemail', 'default_post_status', 'default_post_category', 'archive_mode', 'time_difference', 'links_minadminlevel', 'links_use_adminlevels', 'links_rating_type', 'links_rating_char', 'links_rating_ignore_zero', 'links_rating_single_image', 'links_rating_image0', 'links_rating_image1', 'links_rating_image2', 'links_rating_image3', 'links_rating_image4', 'links_rating_image5', 'links_rating_image6', 'links_rating_image7', 'links_rating_image8', 'links_rating_image9', 'weblogs_cacheminutes', 'comment_allowed_tags', 'search_engine_friendly_urls', 'default_geourl_lat', 'default_geourl_lon', 'use_default_geourl', 'weblogs_xml_url', 'new_users_can_blog', '_wpnonce', '_wp_http_referer', 'Update', 'action', 'rich_editing', 'autosave_interval', 'deactivated_plugins', 'can_compress_scripts', 'page_uris', 'update_core', 'update_plugins', 'update_themes', 'doing_cron', 'random_seed', 'rss_excerpt_length', 'secret', 'use_linksupdate', 'default_comment_status_page', 'wporg_popular_tags', 'what_to_show', 'rss_language', 528 527 foreach ( $unusedoptions as $option ) 529 528 delete_option($option); 530 529 -
wp-admin/includes/export.php
331 331 <link><?php bloginfo_rss( 'url' ); ?></link> 332 332 <description><?php bloginfo_rss( 'description' ); ?></description> 333 333 <pubDate><?php echo date( 'D, d M Y H:i:s +0000' ); ?></pubDate> 334 <language><?php echo get_option( 'rss_language' ); ?></language>334 <language><?php bloginfo_rss( 'language' ); ?></language> 335 335 <wp:wxr_version><?php echo WXR_VERSION; ?></wp:wxr_version> 336 336 <wp:base_site_url><?php echo wxr_site_url(); ?></wp:base_site_url> 337 337 <wp:base_blog_url><?php bloginfo_rss( 'url' ); ?></wp:base_blog_url>