#6268 closed defect (bug) (fixed)
wporg-developer theme shouldn't use `get_stylesheet_directory()` as it can be used as a parent theme
| Reported by: |
|
Owned by: |
|
|---|---|---|---|
| Milestone: | Priority: | normal | |
| Component: | Developer Hub | Keywords: | has-patch |
| Cc: |
Description
Hi (again),
the bporg-developer theme is a child theme of wporg-developer and it's too bad we have to copy paste the editor-style.css file into it instead of using the one provided by the parent theme.
I suggest to use get_template_directory() instead of get_stylesheet_directory()
Attachments (1)
Change History (5)
Note: See
TracTickets for help on using
tickets.
@imath The WordPress.org Developer theme is likely to get some major visual changes made to it in the future that may require you to re-think this. Ultimately a new visual design will flow from the new news blog to all sites, and have them rebuilt using blocks in that process.
But for now, no issues with this patch.