Ticket #5477: install.php.diff
| File install.php.diff, 1.1 KB (added by , 18 years ago) |
|---|
-
wp-admin/install.php
68 68 // check e-mail address 69 69 if (empty($admin_email)) { 70 70 // TODO: poka-yoke 71 die(__( "<strong>ERROR</strong>: you must provide an e-mail address"));71 die(__('<strong>ERROR</strong>: you must provide an e-mail address<br /><a href="install.php">Go Back</a>')); 72 72 } else if (!is_email($admin_email)) { 73 73 // TODO: poka-yoke 74 die(__('<strong>ERROR</strong>: that isn\'t a valid e-mail address. E-mail addresses look like: <code>username@example.com</code> '));74 die(__('<strong>ERROR</strong>: that isn\'t a valid e-mail address. E-mail addresses look like: <code>username@example.com</code><br /><a href="install.php">Go Back</a>')); 75 75 } 76 76 77 77 $result = wp_install($weblog_title, 'admin', $admin_email, $public); … … 100 100 101 101 <p id="footer"><?php _e('<a href="http://wordpress.org/">WordPress</a>, personal publishing platform.'); ?></p> 102 102 </body> 103 103 </html>