Plugin Directory

Changeset 3055095


Ignore:
Timestamp:
03/20/2024 09:00:51 AM (2 years ago)
Author:
icdsoft
Message:

Release version 1.0.3

Location:
multimanager-wp/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • multimanager-wp/trunk/README.txt

    r3028661 r3055095  
    44Requires at least: 6.0
    55Tested up to: 6.4
    6 Stable tag: 1.0.2
     6Stable tag: 1.0.3
    77License: GPLv3
    88License URI: https://www.gnu.org/licenses/gpl-3.0.html
     
    6464
    6565== Changelog ==
     66= 1.0.3 =
     67* Fix = skip wp_login action hook on impersonate
     68
    6669= 1.0.2 =
    6770* New - New API endpoint - info - return some site information
  • multimanager-wp/trunk/includes/class-multi-manager-wp-rest-api.php

    r3028661 r3055095  
    381381     */
    382382    public function impersonate_user_nonce( WP_REST_Request $request ) {
     383        ob_start();
    383384        $action        = sanitize_text_field( wp_unslash( $request->get_param( 'action' ) ) );
    384385        $admin_name    = sanitize_text_field( wp_unslash( $request->get_param( 'admin_name' ) ) );
     
    386387
    387388        wp_cache_flush();
     389        ob_end_clean();
    388390        return new WP_REST_Response( $data, 200 );
    389391    }
     
    11081110            wp_set_current_user( $user->ID );
    11091111            wp_set_auth_cookie( $user->ID );
    1110             do_action( 'wp_login', $user->user_login, $user );
     1112            // skip wp_login action due to
     1113            // do_action( 'wp_login', $user->user_login, $user );
    11111114
    11121115            return ( is_user_logged_in() and $current_user->user_login === $username );
  • multimanager-wp/trunk/multimanager-wp.php

    r3028661 r3055095  
    55 * Plugin URI:        https://www.icdsoft.com/en/hosting/wordpress-manager
    66 * Description:       This plugin helps you connect your site to the ICDSoft WordPress MultiManager toolkit, which allows you to manage multiple WordPress sites.
    7  * Version:           1.0.2
     7 * Version:           1.0.3
    88 * Author:            ICDSoft Hosting
    99 * Author URI:        https://icdsoft.com
     
    2020 * Plugin version.
    2121 */
    22 const MULTIMANAGER_WP_VERSION = '1.0.2';
     22const MULTIMANAGER_WP_VERSION = '1.0.3';
    2323
    2424/**
Note: See TracChangeset for help on using the changeset viewer.