#64084 closed defect (bug) (fixed)
Fix incorrect @global variable name in wp-admin/revision.php
| Reported by: |
|
Owned by: |
|
|---|---|---|---|
| Milestone: | 6.9 | Priority: | normal |
| Severity: | trivial | Version: | 3.7 |
| Component: | Revisions | Keywords: | has-patch |
| Focuses: | docs, administration | Cc: |
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.
6 weeks ago
#1
- Keywords has-patch added
#2
@
6 weeks ago
- Component changed from Administration to Revisions
- Focuses administration added
- Milestone changed from Awaiting Review to 6.9
- Version changed from 6.8.3 to 3.7
#3
@
6 weeks ago
- Owner set to SergeyBiryukov
- Resolution set to fixed
- Status changed from new to closed
In 60912:
Note: See
TracTickets for help on using
tickets.
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.