WordPress.org

Make WordPress Core

Opened 6 years ago

Closed 3 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)

20075.diff (577 bytes) - added by jeremyfelt 5 years ago.
20075.2.diff (752 bytes) - added by DrewAPicture 5 years ago.
action docs

Download all attachments as: .zip

Change History (11)

@jeremyfelt
5 years ago

#1 @jeremyfelt
5 years ago

  • Keywords has-patch added
  • Milestone changed from Awaiting Review to 3.7

20075.diff adds actions for before_activate_form and after_activate_form to wp-activate.php to help customize the activation experience. Moving to 3.7 for commit or discussion.

#3 @SergeyBiryukov
5 years ago

  • Keywords commit added

#4 @wonderboymusic
5 years ago

  • Keywords needs-docs added; commit removed

There are new actions

@DrewAPicture
5 years ago

action docs

#5 @DrewAPicture
5 years ago

  • Keywords commit added; needs-docs removed

20075.2.diff adds docs to the two new actions.

#6 @jeremyfelt
5 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.

#7 @jeremyfelt
4 years ago

  • Component changed from Multisite to Login and Registration
  • Focuses multisite added
  • Keywords commit removed

#9 @chriscct7
3 years ago

  • Milestone Future Release deleted
  • Resolution set to maybelater
  • Status changed from new to closed

Closing as maybelater. Complete lack of interest on the feature on the ticket over the last 2 years. Feel free to reopen when more interest re-emerges (particularly if there's a patch)

Note: See TracTickets for help on using tickets.