Document $wp global in redirect_canonical()
global $wp is used but it is not mentioned in the documentation of the function.
Attachments
(3)
- 41238.patch
(475 bytes
) - added by afzalmultani 9 years ago.
- function redirect_canonical in canonical.php
- 41238.2.patch
(498 bytes
) - added by afzalmultani 9 years ago.
- global wp_post_statuses is used in make_auto_draft_status_previewable() function but it is not mentioned in the documentation of the function.
- 41238.3.patch
(489 bytes
) - added by afzalmultani 9 years ago.
- global wpdb is used in get_network_ids() function but it is not mentioned in the documentation of the function.
Download all attachments as:
.zip
Change History
(10)
-
Milestone
Awaiting Review → 4.9
-
Owner
set to SergeyBiryukov
-
Resolution
→ fixed
-
Status
new → closed
-
Component
General → Canonical
-
Summary
Needs documentation improvement... → Document $wp global in redirect_canonical()
function redirect_canonical in canonical.php