[wp-trac] [WordPress Trac] #45364: Editing a non-publicly-queryable (or non-public) custom post type item with the new editor, creates a JS error.
WordPress Trac
noreply at wordpress.org
Fri Nov 16 13:52:27 UTC 2018
#45364: Editing a non-publicly-queryable (or non-public) custom post type item with
the new editor, creates a JS error.
--------------------------+------------------------------
Reporter: kmgalanakis | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Editor | Version: 5.0
Severity: normal | Resolution:
Keywords: | Focuses:
--------------------------+------------------------------
Comment (by aduth):
I can reproduce this from 5.0 branch, but not in the latest Gutenberg
plugin master.
The `split` error specifically occurs from this line:
https://github.com/WordPress/gutenberg/blob/9591c904b03c7a82dd06db210316360d5d138de2/packages/editor/src/store/selectors.js#L2116
The `permalink_template` field is new, monkey-patched to the REST API by
Gutenberg, tracked for formal inclusion at #45017.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/45364#comment:5>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list