[wp-trac] [WordPress Trac] #53399: Docblock improvements for WP 5.9

WordPress Trac noreply at wordpress.org
Thu Jul 22 17:04:54 UTC 2021


#53399: Docblock improvements for WP 5.9
----------------------------+---------------------
 Reporter:  desrosj         |       Owner:  (none)
     Type:  task (blessed)  |      Status:  new
 Priority:  normal          |   Milestone:  5.9
Component:  General         |     Version:
 Severity:  normal          |  Resolution:
 Keywords:                  |     Focuses:  docs
----------------------------+---------------------

Comment (by SergeyBiryukov):

 @johnbillion Removing `@global` tags for `$wp_local_package` and
 `$wp_locale` in `setup_config_display_header()` doesn't seem correct, they
 are both [source:tags/5.8/src/wp-admin/setup-
 config.php?marks=125,126,150#L122 used further in the function].

 Should we perhaps declare them explicitly instead of accessing via the
 `$GLOBALS` array?

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


More information about the wp-trac mailing list