WordPress.org

Make WordPress Core

Ticket #5477: install.php.diff

File install.php.diff, 1.1 KB (added by CaioAlonso, 14 years ago)
  • wp-admin/install.php

     
    6868                // check e-mail address
    6969                if (empty($admin_email)) {
    7070                        // 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>'));
    7272                } else if (!is_email($admin_email)) {
    7373                        // 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>'));
    7575                }
    7676
    7777        $result = wp_install($weblog_title, 'admin', $admin_email, $public);
     
    100100
    101101<p id="footer"><?php _e('<a href="http://wordpress.org/">WordPress</a>, personal publishing platform.'); ?></p>
    102102</body>
    103103</html>