Changes between Initial Version and Version 1 of Ticket #24672, comment 26
- Timestamp:
- 04/05/2018 07:07:05 PM (6 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #24672, comment 26
initial v1 4 4 That sounds more like "name spacing" issue? That same potential exists if a plug-in creates a regular function in the root name space and later WordPress adding a function by that same name? 5 5 6 If developers add methods or properties, it is their responsibility to choose member names for which the iris a reasonable expectation that they are highly unique to avoid future name clashes.6 If developers add methods or properties, it is their responsibility to choose member names for which there is a reasonable expectation that they are highly unique to avoid future name clashes. 7 7 8 8 And as far as escaping - I've come across filters/hooks in WordPress that expressly instruct developers that the return value should be escaped. So the potential of someone not reading carefully (or copying imperfect code samples somewhere) and NOT escaping the return values is also not specific to the ability to extending the WP_Post class?