Changeset 6517
- Timestamp:
- 12/28/2007 09:47:54 PM (17 years ago)
- Location:
- trunk/wp-includes
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/deprecated.php
r6514 r6517 1235 1235 } 1236 1236 1237 /** 1238 * comments_rss() - Return link to the post RSS feed 1239 * 1240 * @since 1.5 1241 * @deprecated Use get_post_comments_feed_link() 1242 * @see get_post_comments_feed_link() 1243 * 1244 * @param string $deprecated Not used 1245 * @return string 1246 */ 1247 function comments_rss($deprecated = '') { 1248 _deprecated_function(__FUNCTION__, '2.2', 'get_post_comments_feed_link()'); 1249 return get_post_comments_feed_link(); 1250 } 1251 1252 /** 1253 * create_user() - An alias of wp_create_user(). 1254 * @param string $username The user's username. 1255 * @param string $password The user's password. 1256 * @param string $email The user's email (optional). 1257 * @return int The new user's ID. 1258 * @deprecated Use wp_create_user() 1259 * @see wp_create_user() 1260 */ 1261 function create_user($username, $password, $email) { 1262 _deprecated_function( __FUNCTION__, '2.0', 'wp_create_user()' ); 1263 return wp_create_user($username, $password, $email); 1264 } 1265 1237 1266 ?> -
trunk/wp-includes/feed-rss2.php
r6493 r6517 49 49 <?php endif; ?> 50 50 <?php endif; ?> 51 <wfw:commentRss><?php echo comments_rss(); ?></wfw:commentRss>51 <wfw:commentRss><?php echo get_post_comments_feed_link(); ?></wfw:commentRss> 52 52 <?php rss_enclosure(); ?> 53 53 <?php do_action('rss2_item'); ?> -
trunk/wp-includes/feed.php
r6516 r6517 98 98 } 99 99 100 function comments_rss($deprecated = '') {101 return get_post_comments_feed_link();102 }103 104 100 function get_the_category_rss($type = 'rss') { 105 101 $categories = get_the_category(); -
trunk/wp-includes/registration.php
r6387 r6517 178 178 /** 179 179 * A simpler way of inserting an user into the database. 180 * See also:wp_insert_user().180 * @see wp_insert_user(). 181 181 * @global object $wpdb WordPress database layer. 182 182 * @param string $username The user's username. … … 196 196 } 197 197 198 /**199 * An alias of wp_create_user().200 * @param string $username The user's username.201 * @param string $password The user's password.202 * @param string $email The user's email (optional).203 * @return int The new user's ID.204 * @deprecated205 */206 function create_user($username, $password, $email) {207 return wp_create_user($username, $password, $email);208 }209 210 198 ?>
Note: See TracChangeset
for help on using the changeset viewer.