Make WordPress Core

Changes between Version 1 and Version 2 of Ticket #52082, comment 4


Ignore:
Timestamp:
12/16/2020 10:43:32 AM (5 years ago)
Author:
SeBsZ
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #52082, comment 4

    v1 v2  
    66<?php
    77$app_pw = Application_Passwords::rest_api_auth_handler(false);
    8         if ($app_pw !== false) {
    9             wp_set_current_user($app_pw);
    10         }
     8if ($app_pw !== false) {
     9    wp_set_current_user($app_pw);
     10}
    1111}}}
    1212