#64084 closed defect (bug) (fixed)
Fix incorrect @global variable name in wp-admin/revision.php
| Reported by: | hanimbarek | Owned by: | SergeyBiryukov |
|---|---|---|---|
| Priority: | normal | Milestone: | 6.9 |
| Component: | Revisions | Version: | 3.7 |
| Severity: | trivial | Keywords: | has-patch |
| Cc: | Focuses: | docs, administration |
Description
The @global docblock in wp-admin/revision.php incorrectly uses $revision instead of $revision_id.
This: @global int $revision (src/wp-admin/revision.php:18)
Should be: @global int $revision_id
Change History (5)
This ticket was mentioned in PR #10178 on WordPress/wordpress-develop by @hanimbarek.
10 months ago
#1
- Keywords has-patch added
#2
@
10 months ago
- Component Administration → Revisions
- Focuses administration added
- Milestone Awaiting Review → 6.9
- Version 6.8.3 → 3.7
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
This PR fixes a minor documentation issue in
wp-admin/revision.php.The
@globaldocblock incorrectly referenced$revisioninstead of$revision_id.This change updates the variable name to match the actual code used below.