Repository navigation
Commit 916de6f
committed
Editor: Update the post editor preload paths for the DataForm inspector.
The DataForm-based inspector requests the form config of the post type on load, so preload `/wp/v2/view-config` with `_fields=form`. Remove the preload of the post author user, which was only requested by the previous author panel.
See WordPress/gutenberg#85081.
Developed in #14494.
Props ntsekouras, oandregal, mamaduka.
Fixes #66339.
git-svn-id: https://develop.svn.wordpress.org/trunk@65772 602fd350-edb4-49c9-b593-d223f7449a821 parent 635c42c commit 916de6f
1 file changed
Lines changed: 6 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
121 | 121 | | |
122 | 122 | | |
123 | 123 | | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
124 | 130 | | |
125 | 131 | | |
126 | | - | |
127 | | - | |
128 | | - | |
129 | | - | |
130 | | - | |
131 | | - | |
132 | | - | |
133 | 132 | | |
134 | 133 | | |
135 | 134 | | |
| |||
0 commit comments