Make WordPress Core

Opened 9 years ago

Last modified 4 months ago

#40608 new enhancement

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

Reported by: grosbouff's profile grosbouff Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version:
Component: Editor Keywords: has-patch changes-requested has-test-info needs-refresh
Focuses: administration Cc:

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 9 years ago.

Download all attachments as: .zip

Change History (6)

#1 @SergeyBiryukov
9 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
9 years ago

#2 @grosbouff
9 years ago

  • Keywords has-patch added

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

This ticket was mentioned in Slack in #core by sirlouen. View the logs.


4 months ago

#4 @SirLouen
4 months ago

  • Component changed from Posts, Post Types to Editor
  • Keywords changes-requested has-test-info added
  • Version 4.8 deleted

Combined Reproduction and Patch Testing Report

Description

✅ This report validates that this is reproducible and the patch works as expected.

Patch tested: REPLACE_WITH_PATCH_URL

Environment

  • WordPress: 6.9-alpha-60093-src
  • PHP: 8.2.29
  • Server: nginx/1.29.1
  • Database: mysqli (Server: 8.4.6 / Client: mysqlnd 8.2.29)
  • Browser: Chrome 139.0.0.0
  • OS: Windows 10/11
  • Theme: Twenty Twenty-Five 1.3
  • MU Plugins: None activated
  • Plugins:
    • BBB Testing Dolly
    • Test Reports 1.2.0

Actual Results

  1. ✅ Issue resolved with patch.

Additional Notes

  • I can confirm that this is still happening in the classic editor view.
  • Although it creates some margin issues around the permalink section.
Version 0, edited 4 months ago by SirLouen (next)

#5 @SirLouen
4 months ago

  • Keywords needs-refresh added

Forgot, I've tested on my local changing the code, but apart from fixing the marging issues, needs refresh.

Note: See TracTickets for help on using tickets.