Make WordPress Core

Changeset 25152 for branches/3.6


Ignore:
Timestamp:
08/28/2013 05:27:31 AM (11 years ago)
Author:
SergeyBiryukov
Message:

Make sure $args is an array before treating it as such. fixes #25151 for 3.6.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/3.6/wp-includes/comment-template.php

    r24573 r25152  
    16071607    $user_identity = $user->exists() ? $user->display_name : '';
    16081608
     1609    $args = wp_parse_args( $args );
    16091610    if ( ! isset( $args['format'] ) )
    16101611        $args['format'] = current_theme_supports( 'html5', 'comment-form' ) ? 'html5' : 'xhtml';
Note: See TracChangeset for help on using the changeset viewer.