[wp-trac] [WordPress Trac] #19451: Cannot distinguish which WordPress Signup stage I am
WordPress Trac
wp-trac at lists.automattic.com
Mon Dec 5 23:35:02 UTC 2011
#19451: Cannot distinguish which WordPress Signup stage I am
-------------------------+-----------------------------
Reporter: Cimmo | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: General | Version: 3.3
Severity: normal | Keywords:
-------------------------+-----------------------------
As a plug-in developer under WordPress MS I would like to recognize at
which stage I am of the signup:
1. first page because of some errors
2. blog confirmation page in case of no errors
Unluckily as today we have:
<input type="hidden" name="stage" value="validate-blog-signup" />
that is the same for the whole process instead would be nice to have a
different value there.
Plus we have:
<?php do_action( 'signup_hidden_fields' ); ?>
But even this action is called in both stages.
So how about start naming the stages differently and also call different
actions?
For example I want to include some hidden fields only when I am sure all
errors are gone and I am already on confirmation of blog name stage.
I don't see this possible right now.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/19451>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list