Make WordPress Core


Ignore:
Timestamp:
12/28/2007 09:47:54 PM (17 years ago)
Author:
westi
Message:

Deprecate comments_rss and create_user.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/deprecated.php

    r6514 r6517  
    12351235}
    12361236
     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 */
     1247function 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 */
     1261function create_user($username, $password, $email) {
     1262    _deprecated_function( __FUNCTION__, '2.0', 'wp_create_user()' );
     1263    return wp_create_user($username, $password, $email);
     1264}
     1265
    12371266?>
Note: See TracChangeset for help on using the changeset viewer.