[buddypress-trac] [BuddyPress Trac] #7079: BP-legacy: split group single admin.php in separate template files

buddypress-trac noreply at wordpress.org
Wed Aug 31 15:04:40 UTC 2016

#7079: BP-legacy: split group single admin.php in separate template files
 Reporter:  Offereins              |       Owner:  hnla
     Type:  enhancement            |      Status:  closed
 Priority:  normal                 |   Milestone:  2.7
Component:  Templates              |     Version:
 Severity:  normal                 |  Resolution:  fixed
 Keywords:  has-patch 2nd-opinion  |
Changes (by hnla):

 * status:  accepted => closed
 * resolution:   => fixed


 In [changeset:"11050"]:
 #!CommitTicketReference repository="" revision="11050"
 Templates Legacy: Single Groups Admin Screens

 Group admin template managing the settings & create steps sub screens has
 become a file which is hard for developers to navigate through to edit.

 Commit re-factors the admin.php file to run as a primary include file
 checking for the current action variable to load the required template

 Commit breaks out the sections representing settings /creation steps from
 the admin template to their own template include files located in a new
 directory 'single/admin/'.

 Smaller split template files are now easier to manage & read for editing
 and overloading.

 Commit re-locates admin files hidden form input to buddypress-
 functions.php hooking to the existing templates do_action function.

 Thanks to Offereins for the original ticket - this commit follows closely
 the approach used in bp-nouveau templates.

 Props offereins, dcavins, r-a-y

 Fixes #7079

Ticket URL: <https://buddypress.trac.wordpress.org/ticket/7079#comment:28>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac

More information about the buddypress-trac mailing list