Skip to content

Commit ec65f10

Browse files
author
Shreve (emdashcodes)
authored
Merge pull request #5 from Automattic/fix/wp-feature-api-adapter-1
Fix WP Feature API Adapter
2 parents 76daf8d + 28f09c1 commit ec65f10

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

includes/Core/WpFeaturesAdapter.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ public function init(): void {
4747
);
4848

4949
if ( $feature->has_rest_alias() ) {
50-
$the_feature['rest_alias']['route'] = $feature->get_the_rest_alias();
50+
$the_feature['rest_alias']['route'] = $feature->get_rest_alias();
5151
$the_feature['rest_alias']['method'] = $feature->get_rest_method();
5252
} else {
5353
$the_feature['callback'] = function ( $args ) use ( $feature ) {

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,6 @@
3737
"eslint": "^9.25.1",
3838
"eslint-import-resolver-node": "0.3.9",
3939
"eslint-plugin-eslint-comments": "3.2.0",
40-
"prettier": "npm:wp-prettier@3.5.3"
40+
"prettier": "npm:wp-prettier@3.0.3"
4141
}
4242
}

0 commit comments

Comments
 (0)