[wp-trac] [WordPress Trac] #32379: Updating private post type shows public link in message

WordPress Trac noreply at wordpress.org
Thu May 14 07:04:16 UTC 2015


#32379: Updating private post type shows public link in message
-------------------------------+------------------------------
 Reporter:  ashworthcreative   |       Owner:
     Type:  defect (bug)       |      Status:  new
 Priority:  normal             |   Milestone:  Awaiting Review
Component:  Posts, Post Types  |     Version:
 Severity:  normal             |  Resolution:
 Keywords:                     |     Focuses:
-------------------------------+------------------------------

Comment (by utkarshpatel):

 Hey ashworthcreative,

 In Case of CPT one can use `post_updated_messages` filter to add own
 message when custom post is updated also while registering post type if
 you have set `'public' => false` you won't see permalink.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/32379#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list