Changes between Version 1 and Version 2 of Ticket #12955, comment 54
- Timestamp:
- 12/14/2016 10:10:42 PM (8 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #12955, comment 54
v1 v2 10 10 > @MikeSchinkel - here is a full example based on the extendable Post class I linked above and how we are using it in a themeable plugin. 11 11 12 A nd as I mentioned to @flixos90, that is fine until you''(r client)'' wants ''(you)'' to use a plugin that expects there to be a global `$post` and within a hook that plugin calls a function that calls `get_post()` to sanitize/normalize said global `$post`.12 As I mentioned to @flixos90, that is fine until you''(r client)'' want ''(s you)'' to use add a plugin that calls a template tag that uses `get_post()` to sanitize/normalize the global `$post` and causes your container post to disappear.