Skip to content
This repository was archived by the owner on Jan 13, 2022. It is now read-only.

Commit 8ef980d

Browse files
authored
Merge pull request #36 from WP-API/wipe-out-last-vestiged-of-the-old-republic
Remove all widgets code
2 parents 312f874 + 0709427 commit 8ef980d

File tree

7 files changed

+21
-613
lines changed

7 files changed

+21
-613
lines changed

.phpcs.xml.dist

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77
<exclude-pattern>/vendor/</exclude-pattern>
88
<exclude-pattern>/node_modules/</exclude-pattern>
99
<exclude-pattern>/tests/</exclude-pattern>
10-
<exclude-pattern>/lib/class-wp-rest-widgets-controller.php</exclude-pattern>
1110

1211
<!-- How to scan -->
1312
<!-- Usage instructions: https://github.com/squizlabs/PHP_CodeSniffer/wiki/Usage -->

README.md

Lines changed: 2 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
# WP-API: Nav Menus and Widgets Endpoints
1+
# WordPress REST API Navigation Menus Endpoints
22

3-
Feature plugin for Nav Menus and Widgets Endpoints
3+
Feature plugin implementing REST endpoints for WordPress Navigation Menus.
44

55

66
Endpoints to define for menus:
@@ -22,14 +22,3 @@ GET /menu-items/:id
2222
POST /menu-items/:id
2323
DELETE /menu-items/:id
2424
```
25-
26-
Endpoints to define for widgets:
27-
28-
```
29-
GET /widgets
30-
GET /widgets/:type
31-
POST /widgets/:type
32-
GET /widget-types
33-
GET /widgets/:type/:number
34-
PUT /widgets/:type/:number
35-
```

composer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
2-
"name": "wp-api/wp-api-menus-widgets-endpoints",
2+
"name": "wp-api/menus-endpoints",
33
"type": "wordpress-plugin",
4-
"description": "Manage your WordPress menus and widgets.",
4+
"description": "Manage your WordPress menus through the WordPress REST API.",
55
"homepage": "http://wp-api.org/",
66
"license": "GPL2+",
77
"authors": [

0 commit comments

Comments
 (0)