Opened 13 years ago
Closed 9 years ago
#20075 closed enhancement (maybelater)
Add action hooks to wp-activate.php in WP network
Reported by: | gdvwp | Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | 3.3.1 |
Component: | Login and Registration | Keywords: | has-patch |
Focuses: | multisite | Cc: |
Description
Similar to the hooks in wp-signup.php:
do_action( 'before_signup_form' );
do_action( 'after_signup_form' );
these hooks should be added to wp-activate.php:
do_action( 'before_activate_form' )
do_action( 'after_activate_form' )
Purpose : allow signup and activate pages to be built/styled in a similar way.
Attachments (2)
Change History (11)
#5
@
11 years ago
- Keywords commit added; needs-docs removed
20075.2.diff adds docs to the two new actions.
#6
@
11 years ago
- Milestone changed from 3.7 to Future Release
It would be a good idea to pause while we determine the future of wp-signup.php
and wp-activate.php
through tickets such as #17948.
The actions in wp-signup.php
have left us in somewhat of a strange place for a refactor. The same actions added to wp-activate.php
could end up being strange as well. There are 3 different form possibilities depending on how/when the form is accessed, any actions should be better tailored to that. In the meantime, DOM could technically be modified through get_footer
and get_header
.
This could be closed as a maybelater.
20075.diff adds actions for
before_activate_form
andafter_activate_form
towp-activate.php
to help customize the activation experience. Moving to 3.7 for commit or discussion.