[wp-trac] [WordPress Trac] #57563: Docs: Update PHPDocs for wp_get_global_stylesheet()

WordPress Trac noreply at wordpress.org
Thu Jan 26 17:21:57 UTC 2023


#57563: Docs: Update PHPDocs for wp_get_global_stylesheet()
----------------------------------------------+----------------------------
 Reporter:  oandregal                         |       Owner:
                                              |  hellofromTonya
     Type:  defect (bug)                      |      Status:  closed
 Priority:  normal                            |   Milestone:  6.2
Component:  Editor                            |     Version:  5.9
 Severity:  normal                            |  Resolution:  fixed
 Keywords:  has-patch gutenberg-merge commit  |     Focuses:  docs
----------------------------------------------+----------------------------
Changes (by hellofromTonya):

 * status:  reviewing => closed
 * resolution:   => fixed


Comment:

 In [changeset:"55144" 55144]:
 {{{
 #!CommitTicketReference repository="" revision="55144"
 Docs: Update $types param for wp_get_global_stylesheet().

 In 6.1.0, the values the `$types` parameter accepts changed to include
 `'base-layout-styles'`.

 This commit updates the DocBlock to reflect this change and provide clear
 information of what the function will load if no types are passed to it.

 Reference:
 * https://github.com/WordPress/gutenberg/pull/46817

 Follow-up to [54162], [52054].

 Props oandregal, jorgefilipecosta , ntsekouras.
 Fixes #57563.
 See #56792.
 }}}

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


More information about the wp-trac mailing list