[buddypress-trac] [BuddyPress Trac] #8350: Support extra $args in `load_template()`

buddypress-trac noreply at wordpress.org
Sat Sep 19 18:19:50 UTC 2020


#8350: Support extra $args in `load_template()`
------------------------------+----------------------
 Reporter:  dcavins           |       Owner:  dcavins
     Type:  enhancement       |      Status:  closed
 Priority:  normal            |   Milestone:  7.0.0
Component:  Core              |     Version:  6.2.0
 Severity:  normal            |  Resolution:  fixed
 Keywords:  has-patch commit  |
------------------------------+----------------------
Changes (by dcavins):

 * owner:  (none) => dcavins
 * status:  assigned => closed
 * resolution:   => fixed


Comment:

 In [changeset:"12726" 12726]:
 {{{
 #!CommitTicketReference repository="" revision="12726"
 Pass extra args to template loading files.

 Starting in WordPress 5.5, the template loading
 functions will now allow additional arguments to be
 passed through to the matched template file using a
 new $args parameter.

 This changeset passes an extra argument through
 the BuddyPress template loading wrapper functions
 to the underlying WordPress functions.

 Props imath.

 Fixes #8350.
 }}}

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


More information about the buddypress-trac mailing list