#43739 closed enhancement (fixed)
Include 'viewable' attribute on Post Type resource for 'edit' context
| Reported by: | danielbachhuber | Owned by: | pento |
|---|---|---|---|
| Priority: | normal | Milestone: | 4.9.6 |
| Component: | Posts, Post Types | Version: | |
| Severity: | normal | Keywords: | has-patch has-unit-tests commit fixed-major |
| Cc: | Focuses: | rest-api |
Description (last modified by )
We need to include a 'viewable' attribute on the Post Type resource in order for REST API clients to know whether they should display a 'Preview' button.
Previously: https://github.com/WordPress/gutenberg/issues/5749
Attachments (3)
Change History (11)
#3
@
8 years ago
- Description modified (diff)
- Summary Include 'previewable' attribute on Post Type resource for 'edit' context → Include 'viewable' attribute on Post Type resource for 'edit' context
#6
@
8 years ago
- Keywords fixed-major added
- Resolution fixed
- Status closed → reopened
Reopen for backport.
This ticket was mentioned in Slack in #core-restapi by desrosj. View the logs.
8 years ago
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
43739.1.2.diffis what we want. I missed the trailing period in the first patch.