Skip to content

Commit 69b8177

Browse files
committed
Fix namespaced function call for get_plugin_version
1 parent 040253a commit 69b8177

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

includes/class-endpoint.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1075,7 +1075,7 @@ public static function store_micropub_auth_response( $args ) {
10751075
if ( $micropub_auth_response || ( is_assoc_array( $micropub_auth_response ) ) ) {
10761076
$args['meta_input'] = mp_get( $args, 'meta_input' );
10771077
$args['meta_input']['micropub_auth_response'] = \wp_array_slice_assoc( $micropub_auth_response, array( 'client_id', 'client_name', 'client_icon', 'uuid' ) );
1078-
$args['meta_input']['micropub_version']['version'] = micropub_get_plugin_version();
1078+
$args['meta_input']['micropub_version']['version'] = \Micropub\get_plugin_version();
10791079
}
10801080
return $args;
10811081
}

0 commit comments

Comments
 (0)