[buddypress-trac] [BuddyPress Trac] #7352: Extract & relocate markup functions: Template Component Filters

buddypress-trac noreply at wordpress.org
Sun Nov 27 14:59:15 UTC 2016


#7352: Extract & relocate markup functions:  Template Component Filters
--------------------------------------+------------------
 Reporter:  hnla                      |       Owner:
     Type:  enhancement               |      Status:  new
 Priority:  normal                    |   Milestone:  2.8
Component:  Templates                 |     Version:
 Severity:  minor                     |  Resolution:
 Keywords:  needs-patch dev-feedback  |
--------------------------------------+------------------

Comment (by hnla):

 Initall patch adds:

 * Adds new templaret part for filters under `common/filters/select-order-
 filters.php`

 * Updates index template and user/group templates to remove hardcoded
 filters & replace with get_template calls.

 * Updates `/bp-groups/bp-groups-template` to replace the notifications
 instance of filter markup replacing with template part call.

 All the working to adjust form elements, id's, select id's, labels and
 do_actions selection are maintained in the template part file, this could
 be better served by moving functions to  elsewhere, although only from a
 neatness sense?

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


More information about the buddypress-trac mailing list