[wp-trac] [WordPress Trac] #45529: Correct phpdoc example for Internal Pointers
WordPress Trac
noreply at wordpress.org
Thu Oct 3 20:11:48 UTC 2019
#45529: Correct phpdoc example for Internal Pointers
------------------------------+-------------------------------------
Reporter: daleharrison | Owner: (none)
Type: defect (bug) | Status: assigned
Priority: normal | Milestone: 5.3
Component: Administration | Version: 3.3
Severity: normal | Resolution:
Keywords: has-patch commit | Focuses: docs, coding-standards
------------------------------+-------------------------------------
Comment (by jrf):
@garrett-eclipse Wow, that's a quick turn-around ;-)
Reviewed. Latest patch looks nearly perfect to me. The only thing I would
suggest is to prefix the function.
Plugins and themes should always prefix everything they add to the global
namespace to avoid naming collisions, so using
`yourprefix_remove_pointer_wp390_widgets` as the function name should
probably convey that point sufficiently.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/45529#comment:33>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list