Commit 362dd81
committed
Docs: Systematically add missing @global annotations for global variables
**Trac Ticket:** https://core.trac.wordpress.org/ticket/64224
**Why this change?**
This change adds missing @global documentation tags to functions in
- src/wp-admin/includes/misc.php
- src/wp-admin/includes/template.php
- src/wp-admin/includes/schema.php
- src/wp-admin/install.php
This aligns the codebase with the WordPress PHP Documentation Standards, ensuring that global variables used within functions are properly documented for better static analysis and code clarity.
Files Changed:
- src/wp-admin/includes/misc.php
- src/wp-admin/includes/template.php
- src/wp-admin/includes/schema.php
- src/wp-admin/install.php1 parent e36be00 commit 362dd81
4 files changed
Lines changed: 8 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
492 | 492 | | |
493 | 493 | | |
494 | 494 | | |
| 495 | + | |
| 496 | + | |
| 497 | + | |
495 | 498 | | |
496 | 499 | | |
497 | 500 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
15 | | - | |
16 | | - | |
| 15 | + | |
| 16 | + | |
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1628 | 1628 | | |
1629 | 1629 | | |
1630 | 1630 | | |
| 1631 | + | |
| 1632 | + | |
1631 | 1633 | | |
1632 | 1634 | | |
1633 | 1635 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
342 | 342 | | |
343 | 343 | | |
344 | 344 | | |
| 345 | + | |
345 | 346 | | |
346 | 347 | | |
347 | 348 | | |
| |||
0 commit comments