Opened 11 years ago
Closed 11 years ago
#32271 closed defect (bug) (duplicate)
Permalink is displayed for not publicly queryable posts
| Reported by: | ipm-frommen | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | Posts, Post Types | Version: | |
| Severity: | normal | Keywords: | has-patch |
| Cc: | Focuses: | administration |
Description
TLDR: Why would I want to see a permalink (and have a button linking to it) if the link doesn't work?
Currently, the permalink section when editing a post in the WordPress admin is displayed depending on the value of the according post type's public parameter/property.
In my opinion, this is a bug, and should thus be changed to be using the publicly_queryable parameter/property instead. In case this parameter/property is not explicitly set in the according register_post_type call, it will implicitly be set to the value of the public parameter/property.
Please find the attached patch.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
Duplicate of #17609.