[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
Wed Dec 6 12:55:06 UTC 2023


#60021: Document global $link & $wpdb in wp-includes/bookmark.php & wp-includes
/class-wp-user.php files.
------------------------------+-----------------------------
 Reporter:  upadalavipul      |      Owner:  (none)
     Type:  defect (bug)      |     Status:  new
 Priority:  normal            |  Milestone:  Awaiting Review
Component:  General           |    Version:
 Severity:  normal            |   Keywords:
  Focuses:  coding-standards  |
------------------------------+-----------------------------
 I have reviewed the below file code and found that we are using a global
 $link and  $wpdb variable. but they do not mention it in the function
 comment. So I think we need to improve the function comment code.

 Files:

 1. trunk/wp-includes/bookmark.php
 2. wp-includes/class-wp-user.php

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


More information about the wp-trac mailing list