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

Commit

Permalink
Merge pull request #36 from WP-API/wipe-out-last-vestiged-of-the-old-…
Browse files Browse the repository at this point in the history
…republic

Remove all widgets code
  • Loading branch information
kadamwhite authored Oct 31, 2019
2 parents 312f874 + 0709427 commit 8ef980d
Show file tree
Hide file tree
Showing 7 changed files with 21 additions and 613 deletions.
1 change: 0 additions & 1 deletion .phpcs.xml.dist
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
<exclude-pattern>/vendor/</exclude-pattern>
<exclude-pattern>/node_modules/</exclude-pattern>
<exclude-pattern>/tests/</exclude-pattern>
<exclude-pattern>/lib/class-wp-rest-widgets-controller.php</exclude-pattern>

<!-- How to scan -->
<!-- Usage instructions: https://github.com/squizlabs/PHP_CodeSniffer/wiki/Usage -->
Expand Down
15 changes: 2 additions & 13 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# WP-API: Nav Menus and Widgets Endpoints
# WordPress REST API Navigation Menus Endpoints

Feature plugin for Nav Menus and Widgets Endpoints
Feature plugin implementing REST endpoints for WordPress Navigation Menus.


Endpoints to define for menus:
Expand All @@ -22,14 +22,3 @@ GET /menu-items/:id
POST /menu-items/:id
DELETE /menu-items/:id
```

Endpoints to define for widgets:

```
GET /widgets
GET /widgets/:type
POST /widgets/:type
GET /widget-types
GET /widgets/:type/:number
PUT /widgets/:type/:number
```
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "wp-api/wp-api-menus-widgets-endpoints",
"name": "wp-api/menus-endpoints",
"type": "wordpress-plugin",
"description": "Manage your WordPress menus and widgets.",
"description": "Manage your WordPress menus through the WordPress REST API.",
"homepage": "http://wp-api.org/",
"license": "GPL2+",
"authors": [
Expand Down
Loading

0 comments on commit 8ef980d

Please sign in to comment.