[buddypress-trac] [BuddyPress Trac] #7305: get_user_locale() always loads current user before init

buddypress-trac noreply at wordpress.org
Tue Oct 25 16:58:58 UTC 2016


#7305: get_user_locale() always loads current user before init
---------------------------------------+------------------------------
 Reporter:  johnjamesjacoby            |       Owner:
     Type:  defect (bug)               |      Status:  new
 Priority:  high                       |   Milestone:  Awaiting Review
Component:  Core                       |     Version:  2.7
 Severity:  major                      |  Resolution:
 Keywords:  needs-patch needs-testing  |
---------------------------------------+------------------------------

Comment (by DJPaul):

 Can we do something smart like not sending a notice for the
 get_user_locale() instance -- perhaps via backtrace detection -- and keep
 the rest in place?

 Or, only throw the notice if it's coming from a BuddyPress plugin file.

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


More information about the buddypress-trac mailing list