Make WordPress Core

Opened 3 years ago

Closed 3 years ago

#60224 closed defect (bug) (duplicate)

Document global variables comment code improvement on WP themes.

Reported by: upadalavipul Owned by:
Priority: normal Milestone:
Component: Bundled Theme Version:
Severity: normal Keywords:
Cc: Focuses: docs, coding-standards

Description

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. So I think we need to improve the function comment code.

Attachments (3)

60224.patch​ (3.4 KB ) - added by upadalavipul 3 years ago.
60224.2.patch​ (958 bytes ) - added by upadalavipul 3 years ago.
60224.3.patch​ (2.3 KB ) - added by upadalavipul 3 years ago.

Download all attachments as: .zip

Change History (5)

#1 @SergeyBiryukov
3 years ago

  • Component General → Bundled Theme

#2 @sabernhardt
3 years ago

  • Milestone Awaiting Review
  • Resolution → duplicate
  • Status new → closed

Thanks for the patches. I combined them with other global documentation for themes on #58715, so let's continue the discussion on that ticket.

Note: See TracTickets for help on using tickets.