WordPress.org

Make WordPress Core

Opened 4 months ago

Closed 4 months 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 4 months ago.
Document setting missing parent option
Screenshot 2019-11-21 at 07.54.45.png (250.5 KB) - added by mxaralabopoulos 4 months ago.
Quick Edit missing parent option
Screenshot 2019-11-21 13.40.35.png (187.2 KB) - added by dkarfa 4 months ago.
Screen Shot 2019-11-21 at 1.42.30 PM.png (276.6 KB) - added by wpgurudev 4 months ago.
Parent option is working fine.

Download all attachments as: .zip

Change History (10)

@mxaralabopoulos
4 months ago

Document setting missing parent option

@mxaralabopoulos
4 months ago

Quick Edit missing parent option

#1 @dkarfa
4 months 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
4 months ago

Hey @mxaralabopoulos,
Which version? WordPress 5.3?

@wpgurudev
4 months ago

Parent option is working fine.

#3 in reply to: ↑ 2 @mxaralabopoulos
4 months ago

Replying to dkarfa:

Hey @mxaralabopoulos,
Which version? WordPress 5.3?

Yes 5.3.

#4 follow-up: @mxaralabopoulos
4 months 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
4 months 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
4 months 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.