[wp-trac] [WordPress Trac] #63496: Document global variables comment code improvement.

WordPress Trac noreply at wordpress.org
Wed May 28 12:26:57 UTC 2025


#63496: Document global variables comment code improvement.
--------------------------+-----------------------------
 Reporter:  upadalavipul  |      Owner:  (none)
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  General       |    Version:  trunk
 Severity:  normal        |   Keywords:
  Focuses:  docs          |
--------------------------+-----------------------------
 I have reviewed the below file code and found that we are using a global
 $wp_version variable. but they do not mention it in the function comment.
 Also one more $wp_theme_directories global variable used. but they do not
 mention in the function comment.   So I think we need to improve the
 function comment code.

 Files:
 ---------
 1) wp-admin/includes/update-core.php
 2) wp-includes/theme.php

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


More information about the wp-trac mailing list