]> scripts.mit.edu Git - autoinstalls/wordpress.git/blobdiff - wp-includes/class-wp-ajax-response.php
Wordpress 3.3.1
[autoinstalls/wordpress.git] / wp-includes / class-wp-ajax-response.php
index cf64bfbc350e6b68ffe195ac70e37266c24f3cfa..9c225c116ab95ee3dc84c6fe7b741a1525a5b0ed 100644 (file)
@@ -16,7 +16,7 @@ class WP_Ajax_Response {
        var $responses = array();
 
        /**
-        * PHP4 Constructor - Passes args to {@link WP_Ajax_Response::add()}.
+        * Constructor - Passes args to {@link WP_Ajax_Response::add()}.
         *
         * @since 2.1.0
         * @see WP_Ajax_Response::add()
@@ -24,7 +24,7 @@ class WP_Ajax_Response {
         * @param string|array $args Optional. Will be passed to add() method.
         * @return WP_Ajax_Response
         */
-       function WP_Ajax_Response( $args = '' ) {
+       function __construct( $args = '' ) {
                if ( !empty($args) )
                        $this->add($args);
        }