Changes between Version 1 and Version 2 of Ticket #52082, comment 4
- Timestamp:
- 12/16/2020 10:43:32 AM (5 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #52082, comment 4
v1 v2 6 6 <?php 7 7 $app_pw = Application_Passwords::rest_api_auth_handler(false); 8 if ($app_pw !== false) {9 wp_set_current_user($app_pw);10 }8 if ($app_pw !== false) { 9 wp_set_current_user($app_pw); 10 } 11 11 }}} 12 12