[wp-trac] [WordPress Trac] #30797: New function for parent theme stylesheet uri

WordPress Trac noreply at wordpress.org
Fri Oct 9 20:44:20 UTC 2015


#30797: New function for parent theme stylesheet uri
----------------------------+-----------------------------
 Reporter:  grapplerulrich  |       Owner:  obenland
     Type:  enhancement     |      Status:  assigned
 Priority:  normal          |   Milestone:  Future Release
Component:  Themes          |     Version:  trunk
 Severity:  normal          |  Resolution:
 Keywords:  needs-patch     |     Focuses:
----------------------------+-----------------------------
Changes (by DrewAPicture):

 * keywords:  has-patch => needs-patch


Comment:

 Replying to [comment:17 slackbot]:
 > ''This ticket was mentioned in [https://make.wordpress.org/chat/ Slack]
 in #core by greenshady.
 [https://wordpress.slack.com/archives/core/p1444423233002438 View the
 logs].''

 'm on board with the original proposed naming of
 `get_parent_stylesheet_uri()` with the caveat that it doesn't fall back to
 something else. The current precedent set by `get_template_directory()` et
 al really doesn't help with reducing confusion. The function should pull
 the parent theme stylesheet URI or nothing.

 Now we just need a patch.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/30797#comment:18>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list