[buddypress-trac] [BuddyPress Trac] #5241: Notices occur when BP_ENABLE_ROOT_PROFILES is enabled

buddypress-trac noreply at wordpress.org
Wed Apr 16 17:41:48 UTC 2014


#5241: Notices occur when BP_ENABLE_ROOT_PROFILES is enabled
--------------------------+-----------------------
 Reporter:  henrywright   |       Owner:
     Type:  defect (bug)  |      Status:  reopened
 Priority:  normal        |   Milestone:  2.1
Component:  Core          |     Version:  1.7
 Severity:  minor         |  Resolution:
 Keywords:  has-patch     |
--------------------------+-----------------------

Comment (by afercia):

 someway related:
 in the "dummy" post the post ID is set to int 0, what about themes that in
 their pages may use functions like get_post_thumbnail_id() that expects a
 "real" ID? On failure, it will return false instead of an empty string
 (see the Codex) and I bet lots of themes are checking this against an
 empty string.

--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/5241#comment:16>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac


More information about the buddypress-trac mailing list