Make WordPress Core

Opened 5 months ago

Closed 4 months ago

#60224 closed defect (bug) (duplicate)

Document global variables comment code improvement on WP themes.

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

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 5 months ago.
60224.2.patch (958 bytes) - added by upadalavipul 4 months ago.
60224.3.patch (2.3 KB) - added by upadalavipul 4 months ago.

Download all attachments as: .zip

Change History (5)

@upadalavipul
5 months ago

#1 @SergeyBiryukov
4 months ago

  • Component changed from General to Bundled Theme

#2 @sabernhardt
4 months ago

  • Milestone Awaiting Review deleted
  • Resolution set to duplicate
  • Status changed from new to 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.