[wp-trac] [WordPress Trac] #17609: 'View post' link shown even when post type can't be viewed on the front-end
WordPress Trac
noreply at wordpress.org
Tue Sep 15 09:51:55 UTC 2015
#17609: 'View post' link shown even when post type can't be viewed on the front-end
------------------------------------+--------------------------
Reporter: scribu | Owner: johnbillion
Type: defect (bug) | Status: accepted
Priority: normal | Milestone: 4.4
Component: Posts, Post Types | Version: 2.9
Severity: normal | Resolution:
Keywords: has-patch dev-feedback | Focuses:
------------------------------------+--------------------------
Changes (by johnbillion):
* keywords: needs-patch => has-patch dev-feedback
Comment:
[attachment:17609.5.diff] reverts the post updated message concatenation
introduced in [33666] and replaces it with conditional logic which builds
the complete post updated messages based on whether the post type is
viewable or not.
/cc @dd32 @ocean90
--
Ticket URL: <https://core.trac.wordpress.org/ticket/17609#comment:55>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list