Make WordPress Core

Opened 2 years ago

Closed 2 years ago

#48749 closed defect (bug) (duplicate)

Parent options not working in Gutenberg

Reported by: mxaralabopoulos Owned by:
Milestone: Priority: normal
Severity: normal Version:
Component: Posts, Post Types Keywords:
Focuses: administration Cc:

Description

No option to assign a parent under Quick Edit or Document Settings.
Already have multiple pages.
No security plugins installed.
Tried loading http://localhost/wp-json/wp/v2/pages with my website instead of localhost. Page loads but doesn't show any of my pages.
Please help...!

Attachments (4)

Screenshot 2019-11-21 at 07.55.12.png (253.2 KB) - added by mxaralabopoulos 2 years ago.
Document setting missing parent option
Screenshot 2019-11-21 at 07.54.45.png (250.5 KB) - added by mxaralabopoulos 2 years ago.
Quick Edit missing parent option
Screenshot 2019-11-21 13.40.35.png (187.2 KB) - added by dkarfa 2 years ago.
Screen Shot 2019-11-21 at 1.42.30 PM.png (276.6 KB) - added by wpgurudev 2 years ago.
Parent option is working fine.

Download all attachments as: .zip

Change History (10)

@mxaralabopoulos
2 years ago

Document setting missing parent option

@mxaralabopoulos
2 years ago

Quick Edit missing parent option

#1 @dkarfa
2 years ago

Hey @mxaralabopoulos,
Welcome to WordPress Trac! Thanks for reporting this.

As you expose the API route you suppose to get JSON response, try to access this route in Postman or any other tool for REST API.

Thank you,

#2 follow-up: @dkarfa
2 years ago

Hey @mxaralabopoulos,
Which version? WordPress 5.3?

@wpgurudev
2 years ago

Parent option is working fine.

#3 in reply to: ↑ 2 @mxaralabopoulos
2 years ago

Replying to dkarfa:

Hey @mxaralabopoulos,
Which version? WordPress 5.3?

Yes 5.3.

#4 follow-up: @mxaralabopoulos
2 years ago

I've just realized that a solution to make this work is to publish my pages. Should it not still be possible to assign parent pages when using draft or private mode?

#5 @dkarfa
2 years ago

  • Keywords dev-feedback added

@mxaralabopoulos
Parent option working fine with 5.3 and I have attached the screenshot.

#6 in reply to: ↑ 4 @SergeyBiryukov
2 years ago

  • Component changed from General to Posts, Post Types
  • Focuses administration added
  • Keywords dev-feedback removed
  • Milestone Awaiting Review deleted
  • Resolution set to duplicate
  • Status changed from new to closed

Hi there, welcome to WordPress Trac! Thanks for the report.

I've just realized that a solution to make this work is to publish my pages. Should it not still be possible to assign parent pages when using draft or private mode?

Yes, currently the Parent dropdown only lists published pages. We're already tracking this issue in #8592.

Note: See TracTickets for help on using tickets.