[wp-trac] [WordPress Trac] #45529: Correct phpdoc example for Internal Pointers
WordPress Trac
noreply at wordpress.org
Wed Feb 13 20:14:08 UTC 2019
#45529: Correct phpdoc example for Internal Pointers
-------------------------------------+------------------------------
Reporter: daleharrison | Owner: garrett-eclipse
Type: defect (bug) | Status: accepted
Priority: normal | Milestone: 5.2
Component: Administration | Version: 4.9.6
Severity: normal | Resolution:
Keywords: has-patch needs-refresh | Focuses: docs
-------------------------------------+------------------------------
Changes (by desrosj):
* keywords: has-patch dev-feedback => has-patch needs-refresh
* component: Privacy => Administration
* milestone: Future Release => 5.2
Comment:
Since this is a documentation improvement, let's fix this in 5.2. Also,
pointers are an Administration feature.
The updated example in [attachment:"45529.diff"] uses an anonymous
function, which is only supported in PHP 5.3+.
Instead of changing the example, can it just note the action hook and
priority?
--
Ticket URL: <https://core.trac.wordpress.org/ticket/45529#comment:17>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list