Opened 3 years ago
Closed 2 years ago
#13301 closed enhancement (fixed)
Improvements to UI for custom post types that are not publicy queryable
| Reported by: |
|
Owned by: |
|
|---|---|---|---|
| Priority: | normal | Milestone: | 3.2 |
| Component: | Post Types | Version: | 3.0 |
| Severity: | minor | Keywords: | has-patch needs-refresh |
| Cc: | kevinB |
Description
When you register a custom post type with the 'publicly_queryable' parameter set to false, links in the UI to view the post should not be shown.
Patch coming up.
Attachments (1)
Change History (11)
johnbillion — 3 years ago
comment:1
johnbillion — 3 years ago
comment:2
johnbillion — 3 years ago
- Keywords has-patch added
- Milestone changed from Awaiting Review to 3.1
Ah ha. I knew this ticket existed. A few more areas are patched in #14827, but they should be publicly_queryable.
comment:5
markjaquith — 2 years ago
- Keywords 3.2-early added
- Milestone changed from 3.1 to Future Release
comment:6
johnbillion — 2 years ago
Any reason this was bumped? It's a trivial patch. I'll refresh if necessary.
- Keywords needs-refresh added; 3.2-early removed
- Milestone changed from Future Release to 3.2
Small enough patch and will probably be even smaller after refresh.
- Milestone changed from 3.2 to Future Release
No refreshed patch before freeze, punting.
- Milestone changed from Future Release to 3.2
This is actually a bug, and a straightforward change, so handling this.
comment:10
nacin — 2 years ago
- Owner set to nacin
- Resolution set to fixed
- Status changed from new to closed
In [17899]:
Note: See
TracTickets for help on using
tickets.

Patch.
Patch looks substantial in the diff viewer but all it's doing is wrapping that block in a check for $post_type_object->publicly_queryable.