[wp-trac] [WordPress Trac] #61751: Custom post type editor working
WordPress Trac
noreply at wordpress.org
Thu Jul 25 16:00:55 UTC 2024
#61751: Custom post type editor working
---------------------------+-----------------------------------------
Reporter: karan4word | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Editor | Version: 6.6.1
Severity: blocker | Resolution:
Keywords: needs-testing | Focuses: javascript, administration
---------------------------+-----------------------------------------
Comment (by sabernhardt):
I found two similar lines, but I do not know whether the issue is only in
`private-selectors`.
- `editor.js`
([https://github.com/WordPress/gutenberg/blob/e434ec4bdce19d46d610bfd9d28924bdbe095a7e/packages/editor/src/store
/private-selectors.js#L113 store/private-selectors]) minifies to
`n?.icon?.startsWith("dashicons-")`
- `edit-site.js`
([https://github.com/WordPress/gutenberg/blob/e434ec4bdce19d46d610bfd9d28924bdbe095a7e/packages
/edit-site/src/components/add-new-template/utils.js#L169 add-new-
template/utils]) outputs `icon:e.icon?.startsWith("dashicons-")`
--
Ticket URL: <https://core.trac.wordpress.org/ticket/61751#comment:6>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list