Changes between Version 1 and Version 2 of Ticket #5241, comment 2
- Timestamp:
- 11/13/2013 11:03:09 AM (11 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #5241, comment 2
v1 v2 2 2 3 3 Considering the attempts to get the $post property are all wrapped in a {{{is_singular()}}} check (see lines 548, 840 and 843 in {{{class-frontend.php}}}), should that particular piece of plugin code be running at all at the point of change-avatar or private message search? The change-avatar and private message pages are not any of {{{is_single()}}}, {{{is_page()}}} or {{{is_attachment()}}} are they? 4 5 UPDATE: I've been doing some investigation and can see an {{{is_singular()}}} check is being used around the code attempting to get the $post property. {{{is_page()}}} seems to return true for the BuddyPress change-avatar and private message pages (where there notices are displayed) but the {{{$post}}} variable seems to be null here. Could this be the reason why toys are being thrown out of the push buggy?