[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
Thu Feb 22 23:02:25 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 corrected my mistake in the last comment (getID3 is still an external
 library).

 Below is a chart of the remaining variables to consider adding to
 docblocks.

 ||= Variables                   =||= Files                        =||=
 Patches =||
 || `$table_prefix`               || `wp-settings.php`              ||
 60021.3.patch, 60021.13.patch, 60021.15.patch ||
 || `$wp_embed`                   || `wp-settings.php`              ||
 60021.9.patch ||
 || `$wp_plugin_paths`            || `wp-settings.php`              ||
 60021.9.patch, 60021.13.patch ||
 || `$xmlrpc_logging`             || `xmlrpc.php`                   ||
 60021.9.patch, 60021.14.patch ||
 || `$wp_local_package` and\\ `$wp_locale` || `wp-admin/setup-config.php`
 || 60021.15.patch ||
 || `$_paused_plugins`            || `wp-admin/includes/plugin.php` and\\
 `wp-includes/load.php` || 60021.6.patch and 60021.10.patch (together) ||
 || `$_paused_themes`             || `wp-admin/includes/theme.php` and\\
 `wp-includes/load.php` || 60021.8.patch ||
 || `$_wp_tests_development_mode` || `wp-includes/load.php`         ||
 60021.16.patch ||
 || `$post`                       || `wp-includes/feed-atom-comments.php`
 and\\ `wp-includes/feed-rss2-comments.php` || 60021.2.patch ||
 || reordering only (not adding a variable) || `wp-includes/admin-bar.php`
 || 60021.diff     ||

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


More information about the wp-trac mailing list