Make WordPress Core


Ignore:
Timestamp:
04/29/2013 01:26:31 PM (11 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-includes/class-wp-walker.php

    r23346 r24126  
    116116     * @return null Null on failure with no changes to parameters.
    117117     */
    118     function display_element( $element, &$children_elements, $max_depth, $depth=0, $args, &$output ) {
     118    function display_element( $element, &$children_elements, $max_depth, $depth, $args, &$output ) {
    119119
    120120        if ( !$element )
Note: See TracChangeset for help on using the changeset viewer.