We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bfbfd0b commit dd911ceCopy full SHA for dd911ce
micropub.php
@@ -171,8 +171,8 @@ public static function parse_query( $wp ) {
171
$user_id = get_current_user_id();
172
173
// The WordPress IndieAuth plugin uses filters for this
174
- static::$scopes = apply_filters( 'indieauth_scopes', null );
175
- static::$micropub_auth_response = apply_filters( 'indieauth_response', null );
+ static::$scopes = apply_filters( 'indieauth_scopes', static::$scopes );
+ static::$micropub_auth_response = apply_filters( 'indieauth_response', static::$micropub_auth_response );
176
177
if ( ! $user_id ) {
178
static::handle_authorize_error( 401, 'Unauthorized' );
0 commit comments