[buddypress-trac] [BuddyPress Trac] #5999: Notice when uploading a group avatar with WP Trunk (4.1)

buddypress-trac noreply at wordpress.org
Sat Nov 8 02:28:56 UTC 2014


#5999: Notice when uploading a group avatar with WP Trunk (4.1)
--------------------------+------------------
 Reporter:  imath         |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  2.2
Component:  Groups        |     Version:
 Severity:  normal        |  Resolution:
 Keywords:  has-patch     |
--------------------------+------------------
Changes (by imath):

 * keywords:   => has-patch
 * milestone:  Awaiting Review => 2.2


Comment:

 Actually the problem is happening each time an avatar is being cropped. In
 this step, a form is sending a {{{$_POST['w']}}} variable that
 {{{WP_Query}}} is interpreting as a 'week' parameter. After chatting with
 boonebgorges, as the form is built inside the templates :
 - groups/create.php
 - groups/single/admin.php
 - members/single/profile/change-avatar.php

 It seems the best solution is to reset the week query var. See 5999.patch

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


More information about the buddypress-trac mailing list