Make WordPress Core


Ignore:
Timestamp:
12/30/2009 04:23:39 PM (14 years ago)
Author:
westi
Message:

Updates and improvements to _depreceated_argument. See #11386 props nacin.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/includes/upgrade.php

    r12560 r12584  
    3434 * @return array Array keys 'url', 'user_id', 'password', 'password_message'.
    3535 */
    36 function wp_install($blog_title, $user_name, $user_email, $public, $deprecated='') {
     36function wp_install( $blog_title, $user_name, $user_email, $public, $deprecated = '' ) {
    3737    global $wp_rewrite;
     38
     39    if ( !empty( $deprecated ) )
     40        _deprecated_argument( __FUNCTION__, '2.6' );
    3841
    3942    wp_check_mysql_version();
Note: See TracChangeset for help on using the changeset viewer.