Changes between Initial Version and Version 1 of Ticket #16574, comment 19
- Timestamp:
- 03/04/2012 09:15:09 PM (12 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #16574, comment 19
initial v1 3 3 It paves the way for WP_Post. I didn't name it that in the hopes that people won't start explicitly checking for it, but I'm not sure if that's a wise decision. 4 4 5 > is causing the object_id to be overloaded. Not sure where or why yet, if the problem is on BuddyPress's end or not.5 > $original_object = get_post( $menu_item->object_id ); 6 6 7 That's because get_post() takes it's first parameter by reference. There was a similar notice in get_page_uri(), which is fixed in the patch. 7 That's because get_post() takes it's first parameter by reference and $menu_item is now an instance of _WP_Post_Wrapper. 8 9 There was a similar notice in get_page_uri(), which is fixed in the patch.