[buddypress-trac] [BuddyPress Trac] #7307: Loading deprecated code

buddypress-trac noreply at wordpress.org
Tue Oct 25 21:33:24 UTC 2016


#7307: Loading deprecated code
--------------------------+-----------------
 Reporter:  DJPaul        |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  2.8
Component:  Core          |    Version:
 Severity:  normal        |   Keywords:
--------------------------+-----------------
 In 2.7 with #6839, we stopped loading `bp-core/deprecated/*` for new
 installs. It's only meant to load for existing sites (updates).

 A forum report at https://buddypress.org/support/topic/call-to-undefined-
 function-bp_blogs_get_subdomain_base/#post-260338 detailed an old theme
 (Kleo) calling a 2.1-deprecated. I don't know yet why the deprecated files
 are not being loaded on an existing site (maybe they are and the root
 cause is something else), but we need to check on that behaviour.

 As a result of looking at that, we still have at least a few functions in
 those deprecated files still being loaded. For example, grep for
 `bp_blogs_subdomain_base` and `bp_blogs_get_subdomain_base`. There may be
 others.

--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/7307>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac


More information about the buddypress-trac mailing list