Make WordPress Core

Opened 23 months ago

Last modified 21 months ago

#56004 new defect (bug)

Found issue with "post" post type page attribute parent slug not working

Reported by: dipakparmar443's profile dipakparmar443 Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version: 6.0
Component: Posts, Post Types Keywords: reporter-feedback
Focuses: Cc:

Description

Hello,

Found issue with "post" post type page attribute parent slug not working

Screenshot : https://tinyurl.com/25yqto72

Attachments (1)

Pages-‹-wordpress-—-WordPress.png (228.0 KB) - added by dipakparmar443 23 months ago.

Download all attachments as: .zip

Change History (5)

#2 follow-up: @ironprogrammer
22 months ago

  • Keywords reporter-feedback added

Hi, @dipakparmar443! Welcome to Trac and thank you for your report!

Would you please provide additional test setup information for this issue? The provided screenshot shows the Posts menu highlighted, but the content frame displays Pages. How did you arrive at this?

Also please note that the post post type is not hierarchical by default, so there are likely other factors and requirements at play. For example, if the site is using a plugin to enable this feature, then it may be more appropriate to file a bug report with the plugin author.

#3 in reply to: ↑ 2 @dipakparmar443
22 months ago

Here is url I want this : http://domain.com/parent-post-slug/child-post-slug

Replying to ironprogrammer:

Hi, @dipakparmar443! Welcome to Trac and thank you for your report!

Would you please provide additional test setup information for this issue? The provided screenshot shows the Posts menu highlighted, but the content frame displays Pages. How did you arrive at this?

Also please note that the post post type is not hierarchical by default, so there are likely other factors and requirements at play. For example, if the site is using a plugin to enable this feature, then it may be more appropriate to file a bug report with the plugin author.

#4 @ironprogrammer
21 months ago

Hi there, @dipakparmar443:

Please refer to the test instructions guidelines in the Test Handbook and provide the steps prior to navigating to the URL in question.

For example, has the default post post type been modified in any way? And if so, how?

Keep in mind that the built-in post post type is designed to be non-hierarchical, whereas the page post type is hierarchical (what your sample URL shows). Custom post types can also be designed as hierarchical.

Note: See TracTickets for help on using tickets.