Skip to content
This repository has been archived by the owner on Oct 12, 2021. It is now read-only.

Remove content when listing all pages through API #1116

Merged
merged 1 commit into from
Nov 11, 2019

Conversation

jdelasoie
Copy link
Member

Add a class to unallow fetching all pages (per_page = 100) with the content field, as it is too intensive for most cases.
The main initiator of this need was to fixes the loading of the combox Parent Page in Gutenberg
See WordPress/gutenberg#13991

@GregLeBarbar GregLeBarbar self-requested a review November 11, 2019 09:09
@jdelasoie jdelasoie merged commit 45b3a3d into release2018 Nov 11, 2019
@LuluTchab LuluTchab deleted the add-rest-page-limiter-muplugin branch December 19, 2019 14:32
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants