[wp-trac] [WordPress Trac] #58400: Current version should comes from variable or constant only.

WordPress Trac noreply at wordpress.org
Thu May 25 06:27:37 UTC 2023


#58400: Current version should comes from variable or constant only.
------------------------------+-----------------------------------------
 Reporter:  umeshmcakadi      |      Owner:  (none)
     Type:  defect (bug)      |     Status:  new
 Priority:  normal            |  Milestone:  Awaiting Review
Component:  Administration    |    Version:  6.2.2
 Severity:  normal            |   Keywords:  needs-patch has-screenshots
  Focuses:  coding-standards  |
------------------------------+-----------------------------------------
 In the repository from WordPress is being downloaded there is static
 version number used. In wp-admin/about.php there are 2 places where static
 version number is used. We should use variable to define that in the same
 file $display_version is already used to define current version. Please
 see below 2 lines where static version number is used. I have attached
 screenshot as well please look on that.

 Note: This is of https://build.trac.wordpress.org. Please let me know if I
 need to create ticket somewhere else.

 https://build.trac.wordpress.org/browser/branches/6.2/wp-
 admin/about.php#L68
 https://build.trac.wordpress.org/browser/branches/6.2/wp-
 admin/about.php#L68

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


More information about the wp-trac mailing list