-
Notifications
You must be signed in to change notification settings - Fork 3.2k
Rest API: add /revisions endpoint for global styles #4606
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Closed
ramonjd
wants to merge
21
commits into
WordPress:trunk
from
ramonjd:add/rest-api-global-revisions-controller
Closed
Changes from 1 commit
Commits
Show all changes
21 commits
Select commit
Hold shift + click to select a range
e421e6f
Adds an endpoint that returns revisions for the global styles custom …
ramonjd f24d1a5
Rolled back unnecessary custom post changes
ramonjd 9b44f21
Added rest endpoint to reset schema
ramonjd 5323981
generated fixtures via npm run test:php -- --filter WP_Test_REST_Sche…
ramonjd f51484e
Adds prepare_date_response to parse and format the date in the respon…
ramonjd 4b1876c
tearing down after tests: deleting users
ramonjd 6a67883
post name should be different to the one created in global styles res…
ramonjd 3a8c04a
Ticket no in tests
ramonjd 8ff9685
Adding feedback:
ramonjd bed64da
Updated annotations that refer to duplicates
ramonjd 13a7ad1
Returning error if there is one from prepare_item_for_response
ramonjd 05d4247
updated fixtures
ramonjd a348276
updated fixtures
ramonjd c5cc8c5
Reinstate suppress filter.
ramonjd f9bb652
Only run and set styles and/or settings through WP_Theme_JSON if one …
ramonjd a00dbc5
forgot contect
ramonjd 6c4e410
updated fixtures
ramonjd c050b15
updated fixtures
ramonjd a2a26ec
Update class-wp-rest-global-styles-revisions-controller.php
ramonjd cfd08e8
Update rest-global-styles-revisions-controller.php
ramonjd 5c8052b
linter!
ramonjd File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Adds prepare_date_response to parse and format the date in the respon…
…se object
- Loading branch information
commit f51484e9f6b185b227b8615adc450117b8b46949
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.