WordPress.org

Make WordPress Core

Opened 2 years ago

Last modified 2 years ago

#40608 new enhancement

show view link and permalink when editing a post even if post type does not supports 'title'

Reported by: grosbouff Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version: 4.8
Component: Posts, Post Types Keywords: has-patch
Focuses: administration Cc:
PR Number:

Description

Hi !
When a post type does not supports the 'title' feature,
The 'view post' and permalink are not displayed; which is not a logical behaviour : we still want to view those links even if the post does not have a title.

With this patch, if this post type does not supports the 'title' feature;
Only the input and label are hidden; not the entire block.

Attachments (1)

titlefix.diff (1.0 KB) - added by grosbouff 2 years ago.

Download all attachments as: .zip

Change History (3)

#1 @SergeyBiryukov
2 years ago

  • Component changed from Administration to Posts, Post Types
  • Focuses administration added

With this patch, if this post type does not supports the 'title' feature;

I don't see a patch here, did you intend to upload one?

@grosbouff
2 years ago

#2 @grosbouff
2 years ago

  • Keywords has-patch added

Yes, here it is.. I had forgotten to attach it.
Thanks !

Note: See TracTickets for help on using tickets.