[wp-meta] [Making WordPress.org] #4517: Enqueueing chapter.js in wporg-developer theme so that child themes can enjoy it.
Making WordPress.org
noreply at wordpress.org
Wed Jun 19 19:14:52 UTC 2019
#4517: Enqueueing chapter.js in wporg-developer theme so that child themes can
enjoy it.
---------------------------+-----------------------
Reporter: imath | Owner: (none)
Type: defect | Status: new
Priority: normal | Milestone:
Component: Developer Hub | Keywords: has-patch
---------------------------+-----------------------
Hi,
I'm building a child theme of wporg-developer and I currently have to
dequeue `wporg-developer-chapters` to re-enqueue it using another handle
and `get_template_directory_uri()` (instead of
`get_stylesheet_directory_uri()` used in the `theme_scripts_styles()`
function of the wporg-developer theme).
Would it be possible to use `get_template_directory_uri()` directly in the
wporg-developer theme? That would be really great.
I'm attaching a patch with the suggested change.
--
Ticket URL: <https://meta.trac.wordpress.org/ticket/4517>
Making WordPress.org <https://meta.trac.wordpress.org/>
Making WordPress.org
More information about the wp-meta
mailing list