[buddypress-trac] [BuddyPress] #1793: Move theme content cookies from core to theme HAS-PATCH

buddypress-trac at lists.automattic.com buddypress-trac at lists.automattic.com
Thu Feb 4 01:58:05 UTC 2010


#1793: Move theme content cookies from core to theme HAS-PATCH
----------------------+-----------------------------------------------------
Reporter:  MrMaz      |       Owner:  apeatling
    Type:  defect     |      Status:  new      
Priority:  major      |   Milestone:  1.2      
Keywords:  has-patch  |  
----------------------+-----------------------------------------------------
Changes (by apeatling):

  * type:  enhancement => defect


Comment:

 Here's the patch I've worked on based on the changes from MrMaz. It keeps
 all of the parameter logic inside the actual template tags so any other
 theme can still function correctly if they pass no parameters to the
 loops. There is no actual creation of the primary querystring in the theme
 - all we are doing is overriding parameters based on cookie values that
 are set.

 You can filter the parameters that are overridden in the template by using
 this filter:

 {{{
 apply_filters( 'bp_dtheme_ajax_querystring', $querystring, $object,
 $filter, $scope, $page, $search_terms, $extras );
 }}}

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


More information about the buddypress-trac mailing list