Skip to:
Content

BuddyPress.org

Changes between Version 1 and Version 2 of Ticket #7428, comment 3


Ignore:
Timestamp:
01/30/2017 04:48:08 PM (3 years ago)
Author:
Offereins
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #7428, comment 3

    v1 v2  
    1 For a long time I've tolerated this bug, but the time has come to fix it. My first guess would be that the zero-based indexing of fields within the fieldgroup (this concerns all fieldgroups) is to blame. BP's logic would read that the field your editing has a falsey value for `$field_order`, thus BP considers it new and pushes it at the end of the field list. Will investigate further...
     1For a long time I've tolerated this bug, but the time has come to fix it. My first guess would be that the zero-based indexing of fields within the fieldgroup (this concerns all fieldgroups) is to blame. BP's logic would read that the field your editing has a falsey value for `$field_order`, thus BP considers it new and pushes it to the end of the field list. Will investigate further.
     2
     3Edit: my guess was correct. Patch incoming.