WordPress.org

Making WordPress.org


Ignore:
Timestamp:
08/15/2019 05:49:43 PM (8 months ago)
Author:
coreymckrill
Message:

Official WordPress Events: Add missing parameters to Meetup error handler

When modifying the API_Client class to enable error reporting for r9100, I added
new parameters to the error handler, but neglected to update the error handlers
in the two extending Meetup client classes to match.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.org/public_html/wp-content/plugins/official-wordpress-events/meetup/class-meetup-oauth2-client.php

    r9100 r9105  
    364364     * from the request payload.
    365365     *
    366      * @param array|WP_Error $response
     366     * @param array|WP_Error $response     The response or error generated from the request.
     367     * @param string         $request_url  Optional.
     368     * @param array          $request_args Optional.
    367369     *
    368370     * @return void
    369371     */
    370     public function handle_error_response( $response ) {
    371         if ( parent::handle_error_response( $response ) ) {
     372    public function handle_error_response( $response, $request_url = '', $request_args = array() ) {
     373        if ( parent::handle_error_response( $response, $request_url, $request_args ) ) {
    372374            return;
    373375        }
Note: See TracChangeset for help on using the changeset viewer.