Changeset 2318
- Timestamp:
- 02/14/2005 04:17:12 AM (21 years ago)
- Location:
- trunk
- Files:
-
- 4 edited
-
wp-admin/upgrade-schema.php (modified) (1 diff)
-
wp-atom.php (modified) (1 diff)
-
wp-rss.php (modified) (1 diff)
-
wp-rss2.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/upgrade-schema.php
r2314 r2318 214 214 add_option('comment_registration', 0); 215 215 add_option('open_proxy_check', 1); 216 add_option('rss_language', 'en'); 216 217 217 218 // Delete unused options 218 $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', ' rss_language', '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');219 $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'); 219 220 foreach ($unusedoptions as $option) : 220 221 delete_option($option); -
trunk/wp-atom.php
r2284 r2318 15 15 <feed version="0.3" 16 16 xmlns="http://purl.org/atom/ns#" 17 xmlns:dc="http://purl.org/dc/elements/1.1/"> 17 xmlns:dc="http://purl.org/dc/elements/1.1/" 18 xml:lang="<?php echo get_option('rss_language'); ?>" 19 > 18 20 <title><?php bloginfo_rss('name') ?></title> 19 21 <link rel="alternate" type="text/html" href="<?php bloginfo_rss('home') ?>" /> -
trunk/wp-rss.php
r2272 r2318 15 15 <!-- generator="wordpress/<?php echo $wp_version ?>" --> 16 16 <rss version="0.92"> 17 <channel>18 <title><?php bloginfo_rss('name') ?></title>19 <link><?php bloginfo_rss('url') ?></link>20 <description><?php bloginfo_rss('description') ?></description>17 <channel> 18 <title><?php bloginfo_rss('name') ?></title> 19 <link><?php bloginfo_rss('url') ?></link> 20 <description><?php bloginfo_rss('description') ?></description> 21 21 <lastBuildDate><?php echo mysql2date('D, d M Y H:i:s +0000', get_lastpostmodified('GMT'), 0); ?></lastBuildDate> 22 <docs>http://backend.userland.com/rss092</docs> 22 <docs>http://backend.userland.com/rss092</docs> 23 <language><?php echo get_option('rss_language'); ?></language> 23 24 24 25 <?php $items_count = 0; if ($posts) { foreach ($posts as $post) { start_wp(); ?> 25 <item> 26 <title><?php the_title_rss() ?></title> 27 <?php 28 if (get_settings('rss_use_excerpt')) { 29 ?> 30 <description><![CDATA[<?php the_excerpt_rss() ?>]]></description> 31 <?php 32 } else { // use content 33 ?> 34 <description><?php the_content_rss('', 0, '', get_settings('rss_excerpt_length')) ?></description> 35 <?php 36 } // end else use content 37 ?> 38 <link><?php permalink_single_rss() ?></link> 39 </item> 26 <item> 27 <title><?php the_title_rss() ?></title> 28 <?php if (get_settings('rss_use_excerpt')) { ?> 29 <description><![CDATA[<?php the_excerpt_rss() ?>]]></description> 30 <?php } else { // use content ?> 31 <description><?php the_content_rss('', 0, '', get_settings('rss_excerpt_length')) ?></description> 32 <?php } ?> 33 <link><?php permalink_single_rss() ?></link> 34 </item> 40 35 <?php $items_count++; if (($items_count == get_settings('posts_per_rss')) && empty($m)) { break; } } } ?> 41 </channel>36 </channel> 42 37 </rss> -
trunk/wp-rss2.php
r2272 r2318 27 27 <pubDate><?php echo mysql2date('D, d M Y H:i:s +0000', get_lastpostmodified('GMT'), 0); ?></pubDate> 28 28 <generator>http://wordpress.org/?v=<?php bloginfo_rss('version'); ?></generator> 29 <language><?php echo get_option('rss_language'); ?></language> 29 30 30 31 <?php $items_count = 0; if ($posts) { foreach ($posts as $post) { start_wp(); ?>
Note: See TracChangeset
for help on using the changeset viewer.