[wp-trac] [WordPress Trac] #33982: WP REST API Stage One: Infrastructure
WordPress Trac
noreply at wordpress.org
Thu Oct 1 03:22:46 UTC 2015
#33982: WP REST API Stage One: Infrastructure
----------------------------+--------------------------
Reporter: rachelbaker | Owner: rachelbaker
Type: task (blessed) | Status: assigned
Priority: normal | Milestone: 4.4
Component: REST API | Version:
Severity: normal | Resolution:
Keywords: has-patch | Focuses:
----------------------------+--------------------------
Changes (by wonderboymusic):
* keywords: => has-patch
* owner: => rachelbaker
* status: new => assigned
Comment:
Awesome. Few notes:
* We no longer mix function definitions and top-level code.
`add_filter|action()` calls should go in `wp-includes/default-filters.php`
or in `rest-api/filters.php` or something
* `src/wp-includes/rest-api.php` should load files only
* `extras.php` can be called `functions.php` or `rest-functions.php` and
contain the function defs from `rest-api.php` and `extras.php`
* Is it necessary to have the `infrastructure` folder - for vanity and
semantics' sake, can those files just all live in `rest-api`? or if in a
folder, can we call it `lib`?
So close. so close. (so close.)
--
Ticket URL: <https://core.trac.wordpress.org/ticket/33982#comment:5>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list