[buddypress-trac] [BuddyPress Trac] #8068: Site creation confirmation markup should be customizable

buddypress-trac noreply at wordpress.org
Fri Mar 22 01:54:03 UTC 2019


#8068: Site creation confirmation markup should be customizable
--------------------------+-------------------------
 Reporter:  boonebgorges  |      Owner:  (none)
     Type:  enhancement   |     Status:  new
 Priority:  normal        |  Milestone:  Up Next
Component:  Blogs         |    Version:
 Severity:  normal        |   Keywords:  needs-patch
--------------------------+-------------------------
 When you create a site, the confirmation message comes from
 `bp_blogs_confirm_blog_signup()`. It's hardcoded in such a way that it
 can't be easily modified. The only way is to supply your own version,
 which in turn can only be done by replacing the handful of functions in
 front of it: `bp_blogs_validate_blog_signup()` and
 `bp_show_blog_signup_form()`, the latter of which is called from the
 `blogs/create.php` template. That's a lot of logic to have to reproduce
 just to replace a bit of markup.

 The best ("best") solution is probably to move the confirmation logic to a
 template - say, `blogs/confirm.php`. If we feel like that's too much of a
 change, we could probably get away with the creative use of some short-
 circuit filters.

-- 
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/8068>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac


More information about the buddypress-trac mailing list