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

buddypress-trac noreply at wordpress.org
Fri Nov 21 19:44:12 UTC 2014


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

 * owner:   => imath
 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:"9158"]:
 {{{
 #!CommitTicketReference repository="" revision="9158"
 When cropping an avatar, make sure the "w" crop parameter does not
 interfere with WP_Query

 In the different edit-avatar templates, cropping forms include a field
 named "w". When posted, this particular posted variable is interpreted as
 the week parameter of the main WordPress query. This commit introduces a
 new function bp_core_avatar_reset_query() that will make sure the week
 parameter is not set when an avatar is being cropped.

 props boonebgorges, DJPaul

 Fixes #5999
 }}}

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


More information about the buddypress-trac mailing list