Better UX after supplying incorrect information to setup-config
|Reported by:||nacin||Owned by:||kapeels|
|Component:||Upgrade/Install||Keywords:||gci has-patch 3.2-early|
In #15682 I added a 'Try Again' button to step 2 of setup-config.php if the credentials were incorrect.
Additional enhancement: If the prefix is malformed (can only contain letters, numbers and underscores), we do a wp_die(). We should again have a form with a 'Try Again' button that returns them.
As an added bonus, incorrect credentials should be filled out (for reference) but marked as incorrect and potentially with the focus set on that field.
Only caveat I can think of: This will require the use of esc_attr(), which we don't have access to yet. Not sure how to solve that without reverting to htmlspecialchars() with some extra work.
Change History (16)
- Cc kapeel.sable@… added
- Owner set to kapeels
- Status changed from new to accepted
- Cc kapeel.sable@… removed
- Keywords has-patch 2nd-opinion added; needs-patch removed