[wp-trac] [WordPress Trac] #60021: Document global $link & $wpdb in wp-includes/bookmark.php & wp-includes/class-wp-user.php files.

WordPress Trac noreply at wordpress.org
Fri Mar 1 23:49:29 UTC 2024


#60021: Document global $link & $wpdb in wp-includes/bookmark.php & wp-includes
/class-wp-user.php files.
--------------------------+-------------------------------------
 Reporter:  upadalavipul  |       Owner:  SergeyBiryukov
     Type:  defect (bug)  |      Status:  reviewing
 Priority:  normal        |   Milestone:  6.5
Component:  General       |     Version:
 Severity:  normal        |  Resolution:
 Keywords:  has-patch     |     Focuses:  docs, coding-standards
--------------------------+-------------------------------------

Comment (by sabernhardt):

 I combined the three `wp-settings.php` changes into the same patch, adding
 `@since` tags.

 - `$table_prefix`, added in [18993]
 - `$wp_embed`, globalized in [18532] and moved to `wp-settings.php` in
 [38362]
 - `$wp_plugin_paths`, added in [27158]

 Props: upadalavipul and viralsampat.

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


More information about the wp-trac mailing list