Opened 18 months ago
Last modified 18 months ago
#19451 new enhancement
Cannot distinguish which WordPress Signup stage I am
| Reported by: |
|
Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | Awaiting Review |
| Component: | Multisite | Version: | 3.3 |
| Severity: | minor | Keywords: | has-patch |
| Cc: |
Description
As a plug-in developer under WordPress MS I would like to recognize at which stage I am of the signup:
- first page because of some errors
- 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.
Attachments (2)
Change History (7)
Replying to scribu:
I think it would be better if we pass the stage as a parameter to the action, instead of renaming it.
But also the stage is always the same! Form id same. Everything is a copy/paste so very hard to understand at which page I am exactly.
EDIT: Nevermind what I said, I am providing a patch already.
- Keywords has-patch added; needs-patch removed
- Severity changed from normal to minor
That looks better, but I don't think the $stage variable is necessary. Just pass the string directly; so that it matches the one in the hidden <input>.

I think it would be better if we pass the stage as a parameter to the action, instead of renaming it.