[wp-trac] [WordPress Trac] #58076: Docs: Improve various globals documentation, as per docblock standards.

WordPress Trac noreply at wordpress.org
Tue Apr 4 05:22:06 UTC 2023


#58076: Docs: Improve various globals documentation, as per docblock standards.
-------------------------------------+------------------------------
 Reporter:  upadalavipul             |       Owner:  (none)
     Type:  defect (bug)             |      Status:  new
 Priority:  normal                   |   Milestone:  Awaiting Review
Component:  General                  |     Version:  trunk
 Severity:  normal                   |  Resolution:
 Keywords:  has-patch needs-refresh  |     Focuses:
-------------------------------------+------------------------------
Changes (by mukesh27):

 * keywords:   => has-patch needs-refresh


Comment:

 Hi @upadalavipul,

 We use the `$_wp_sidebars_widgets` global in that function last line can
 you revert it.

 Correct the space for `$pagenow`

 {{{
  * @global string $pagenow       The filename of the current screen.
  * @global array  $editor_styles
 }}}

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


More information about the wp-trac mailing list