Raphaël Droz
Raphaël Droz
**Describe the bug** `save_refresh_token()` is called after the initial request. In our case of interest, the payload bring a `request_token` field (in the case of Google, this happens if `access_type=offline`....
We usually can not set the session validity (which depends upon the ID provider). Eg: 1h for Google. When editing, we end up with a popup: "Your session has expired....
It's supposed that Google is a supported openid provider. It already provides a metadata URL which should ease configuration: https://accounts.google.com/.well-known/openid-configuration Anyway the **"End Session Endpoint URL" is not clear**. Is...
OpenID provides pointers to existing implementations: * https://github.com/openid/php-openid * for both server and client * Apache-licensed * tests * _maintained._ * https://github.com/jumbojett/OpenID-Connect-PHP * client-only * Apache-licensed * simple * maintained...
Importing a WXR in an instance where some username already exist fails. It makes sense to omit user insert and do the usual remapping between old UID and new UID...
This reenable parenting of attachments when a second import contains a given post and corresponding attachments already exist but are orphaned
```php protected function fetch_remote_file( $url, $post ) { ... $response = wp_remote_get( $url, array( 'stream' => true, 'filename' => $upload['file'], ) ); // ... if ( isset( $headers['content-length'] ) &&...
... if no remapping happens