- Timestamp:
- 07/07/2021 01:52:55 AM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/api.wordpress.org/public_html/dotorg/trac/pr/class-trac.php
r10972 r11099 123 123 [ 124 124 'Content-Type: application/json', 125 ' Authorization: Basic ' . base64_encode( $this->credentials[0] . ':' . $this->credentials[1]),125 'Cookie: ' . LOGGED_IN_COOKIE . '=' . wp_generate_auth_cookie( get_user_by( 'login', $this->credentials[0] )->ID, time()+60, 'logged_in' ), 126 126 ], 127 127 'content' => json_encode( [
Note: See TracChangeset
for help on using the changeset viewer.