WordPress.org

Make WordPress Core


Ignore:
Timestamp:
04/29/2011 08:05:12 PM (10 years ago)
Author:
ryan
Message:

Constructor cleanup. Props ocean90. fixes #16768

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/class-wp-ajax-response.php

    r16101 r17771  
    1717
    1818    /**
    19      * PHP4 Constructor - Passes args to {@link WP_Ajax_Response::add()}.
     19     * Constructor - Passes args to {@link WP_Ajax_Response::add()}.
    2020     *
    2121     * @since 2.1.0
     
    2525     * @return WP_Ajax_Response
    2626     */
    27     function WP_Ajax_Response( $args = '' ) {
     27    function __construct( $args = '' ) {
    2828        if ( !empty($args) )
    2929            $this->add($args);
Note: See TracChangeset for help on using the changeset viewer.