Make WordPress Core

Changeset 24126 for trunk/wp-signup.php


Ignore:
Timestamp:
04/29/2013 01:26:31 PM (12 years ago)
Author:
nacin
Message:

Required arguments can't follow optional arguments.

Make required arguments optional in confirm_blog_signup().

Mark arguments as required in _future_post_hook(), the walker method display_element(), get_author_link() (deprecated), and the WP_Widget constructor.

props rlerdorf.
see #24210.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-signup.php

    r24058 r24126  
    491491 * @param string $meta Any additional meta from the 'add_signup_meta' filter in validate_blog_signup()
    492492 */
    493 function confirm_blog_signup($domain, $path, $blog_title, $user_name = '', $user_email = '', $meta) {
     493function confirm_blog_signup( $domain, $path, $blog_title, $user_name = '', $user_email = '', $meta = array() ) {
    494494    ?>
    495495    <h2><?php printf( __( 'Congratulations! Your new site, %s, is almost ready.' ), "<a href='http://{$domain}{$path}'>{$blog_title}</a>" ) ?></h2>
Note: See TracChangeset for help on using the changeset viewer.