Commit Graph

58 Commits

Author SHA1 Message Date
Andrew Nacin 24b60aee0d Don't improperly whitescreen on incorrect DB credentials during setup-config. Show error message with an opportunity to try again. fixes #15682.
git-svn-id: https://develop.svn.wordpress.org/trunk@16788 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-08 07:12:44 +00:00
Andrew Nacin edc329c691 Begin the dissolution of classes.php. see #10287.
git-svn-id: https://develop.svn.wordpress.org/trunk@16099 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-30 07:02:06 +00:00
Andrew Nacin e2dfe4f5c2 Revert submit_button() for wp-includes, setup-config, install, login, signup. see [16061], see #15064, fixes #15247.
git-svn-id: https://develop.svn.wordpress.org/trunk@16066 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-29 00:31:27 +00:00
Mark Jaquith d65cdf4ba8 Expand submit_button() capabilities. Replace all (or almost all) manual HTML instances in WP. props sbressler. see #15064
git-svn-id: https://develop.svn.wordpress.org/trunk@16061 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-28 21:56:43 +00:00
Ryan Boren d783952469 Strip trailing whites.
git-svn-id: https://develop.svn.wordpress.org/trunk@14404 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-03 20:26:11 +00:00
Andrew Nacin 96fd06e10d Remove debug.
git-svn-id: https://develop.svn.wordpress.org/trunk@14363 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-03 07:12:26 +00:00
Andrew Nacin 7ce20b12cf Prevent fatal error when falling back to fsockopen in the setup-config.php key/salt HTTP request. fixes #13030.
git-svn-id: https://develop.svn.wordpress.org/trunk@14361 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-03 06:28:05 +00:00
Andrew Nacin 92884c5aae Unbreak setup-config.php. see #12990
git-svn-id: https://develop.svn.wordpress.org/trunk@14081 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-13 22:35:39 +00:00
Dion Hulse e02622be5b Pretty up the code text boxes on Install. Affects the non-writable wp-config.php mainly. Code styling taken from Network panel. Props ocean90
git-svn-id: https://develop.svn.wordpress.org/trunk@13870 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-28 11:26:06 +00:00
Dion Hulse 65b33d2608 Validate Table Prefix in wp-config.php generator. Props johnl1479. Fixes #12622
git-svn-id: https://develop.svn.wordpress.org/trunk@13853 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-28 01:57:45 +00:00
Andrew Nacin 8091c83b26 Standardize db config-sample values. fixes #11523
git-svn-id: https://develop.svn.wordpress.org/trunk@13837 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-27 05:42:08 +00:00
Dion Hulse e9374ebc17 Load WP_HTTP dependencies (translation support) for setup-config.php. Prevents a WSOD on attempted installs where external HTTP requests are blocked and/or timeout. Fixes #12514
git-svn-id: https://develop.svn.wordpress.org/trunk@13628 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-09 12:03:13 +00:00
Andrew Nacin 735080c7fc Add nag for missing authentication keys in network.php. See #11816
git-svn-id: https://develop.svn.wordpress.org/trunk@13614 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-06 21:01:58 +00:00
Andrew Nacin c978910a1d Allow bypass of http call to wp.org (for keys/salts), via URL query var. See #12159
git-svn-id: https://develop.svn.wordpress.org/trunk@13232 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-19 20:56:16 +00:00
Mark Jaquith 32766c9ff9 More and more, hosts are not using localhost for the MySQL connection. Reword the config setup text. props mrmist. fixes #11659
git-svn-id: https://develop.svn.wordpress.org/trunk@13163 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-15 15:21:34 +00:00
Andrew Nacin d1e195db99 Use an expanded special character set when generating auth keys and salts via wp_generate_password(). Props sivel, see #12159
git-svn-id: https://develop.svn.wordpress.org/trunk@13137 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-14 04:06:30 +00:00
Andrew Nacin 43d5926b6b Fall back to wp_generate_password() in setup-config.php if HTTPS request for secret keys fails. Also use pretty link to secret-key API, see #12159
git-svn-id: https://develop.svn.wordpress.org/trunk@13133 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-14 02:47:45 +00:00
Dion Hulse 718fa1b6e8 Fix off-by-one substr() error. Props blepoxp. See #12159
git-svn-id: https://develop.svn.wordpress.org/trunk@13042 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-10 10:59:45 +00:00
Ryan Boren fc60118ff7 Update keys and salts with random values from api.wordpress.org. Props nacin. see #12159
git-svn-id: https://develop.svn.wordpress.org/trunk@13026 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-08 18:15:44 +00:00
Mark Jaquith cb141f847f Use $required_php_version. Props nacin. fixes #11637
git-svn-id: https://develop.svn.wordpress.org/trunk@12939 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-03 21:38:09 +00:00
Ryan Boren 42292a8c4d Cleanup wp-settings. Move functions needed at startup into load.php. Props nacin. see #11881
git-svn-id: https://develop.svn.wordpress.org/trunk@12732 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-15 22:03:41 +00:00
Ryan Boren f121906d10 Don't break UTF-8 strings in setup-config.php. Props SergeyBiryukov fixes #11821
git-svn-id: https://develop.svn.wordpress.org/trunk@12663 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-08 18:40:00 +00:00
Andrew Ozz ee858aaa6c Show errors when minimum requirements are not met when installing, props dd32 Denis-de-Bernardy, fixes #9474
git-svn-id: https://develop.svn.wordpress.org/trunk@12238 602fd350-edb4-49c9-b593-d223f7449a82
2009-11-20 04:11:01 +00:00
Ryan Boren f3aae9bc00 Disable error reporting in setup-config.php. It doesn't load wp-settings.php so error reporting is not properly setup. fixes #11084
git-svn-id: https://develop.svn.wordpress.org/trunk@12145 602fd350-edb4-49c9-b593-d223f7449a82
2009-11-05 18:01:57 +00:00
Peter Westwood 61b464cd14 Provide a pre-filled wp-config.php file in a textarea if setup-config can't write to the server. Fixes #10107 props filosofo.
git-svn-id: https://develop.svn.wordpress.org/trunk@11705 602fd350-edb4-49c9-b593-d223f7449a82
2009-07-09 21:35:47 +00:00
Ryan Boren b503e32aa2 Use absolute paths for includes. Props hakre. fixes #9750
git-svn-id: https://develop.svn.wordpress.org/trunk@11301 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-12 16:47:49 +00:00
Ryan Boren 13dc24e8e0 Nested install fixes. Props sivel. fixes #7997 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@10698 602fd350-edb4-49c9-b593-d223f7449a82
2009-03-04 19:30:16 +00:00
Ryan Boren a12700d1c1 Allow nested install. Props sivel. fixes #7997
git-svn-id: https://develop.svn.wordpress.org/trunk@9443 602fd350-edb4-49c9-b593-d223f7449a82
2008-10-31 19:24:45 +00:00
Ryan Boren 2f130a2535 Use relative path for install css. Props DD32. see #7509
git-svn-id: https://develop.svn.wordpress.org/trunk@9146 602fd350-edb4-49c9-b593-d223f7449a82
2008-10-14 00:18:41 +00:00
Peter Westwood 117eaeab2f phpdoc fixes for setup-config.php. See #7550 props jacobsantos.
git-svn-id: https://develop.svn.wordpress.org/trunk@9126 602fd350-edb4-49c9-b593-d223f7449a82
2008-10-12 17:40:20 +00:00
Ryan Boren 6d727a9c2b phpdoc for wp-admin. Props jacobsantos. see #7527
git-svn-id: https://develop.svn.wordpress.org/trunk@9119 602fd350-edb4-49c9-b593-d223f7449a82
2008-10-10 18:21:16 +00:00
Peter Westwood 1c97951b11 Fix phpdoc comments to refer to wp-content/db.php. Props DD32.
git-svn-id: https://develop.svn.wordpress.org/trunk@9067 602fd350-edb4-49c9-b593-d223f7449a82
2008-10-02 16:45:28 +00:00
Ryan Boren 9ed961489b s/ISP/Web Host/. Props msw0418. fixes #6831
git-svn-id: https://develop.svn.wordpress.org/trunk@8887 602fd350-edb4-49c9-b593-d223f7449a82
2008-09-14 05:53:23 +00:00
Peter Westwood ab17f7283c phpdoc for wp-admin. See #7496 props santosj.
git-svn-id: https://develop.svn.wordpress.org/trunk@8645 602fd350-edb4-49c9-b593-d223f7449a82
2008-08-14 06:30:38 +00:00
Ryan Boren ece52f214b Fix font sizes in the install/upgrade screens. Props azaozz. fixes #7276
git-svn-id: https://develop.svn.wordpress.org/trunk@8309 602fd350-edb4-49c9-b593-d223f7449a82
2008-07-10 16:59:17 +00:00
Ryan Boren 458399dd51 Define WP_CONTENT_DIR in setup-config.php. Props sambauers. fixes #7221
git-svn-id: https://develop.svn.wordpress.org/trunk@8238 602fd350-edb4-49c9-b593-d223f7449a82
2008-07-02 17:03:55 +00:00
Ryan Boren e911cca913 Allow wp-config.php to exist one level up from WordPress root directory. Props sambauers. fixes #6933
git-svn-id: https://develop.svn.wordpress.org/trunk@7971 602fd350-edb4-49c9-b593-d223f7449a82
2008-05-21 05:59:27 +00:00
Peter Westwood f70f8d56cc Associate lables with form fields. Fixes #6859 props MarcoZ.
git-svn-id: https://develop.svn.wordpress.org/trunk@7883 602fd350-edb4-49c9-b593-d223f7449a82
2008-05-04 10:37:06 +00:00
Ryan Boren b23e1089bb Change niceblue class name to form-table. Props filosofo and mt. fixes #5973
git-svn-id: https://develop.svn.wordpress.org/trunk@7000 602fd350-edb4-49c9-b593-d223f7449a82
2008-02-24 04:33:10 +00:00
Ryan Boren a7a52c2632 Style updates for install from mt. fixes #5946
git-svn-id: https://develop.svn.wordpress.org/trunk@6965 602fd350-edb4-49c9-b593-d223f7449a82
2008-02-21 23:55:11 +00:00
Ryan Boren 3a18b96c9b Trailing whitespace cleanup
git-svn-id: https://develop.svn.wordpress.org/trunk@6726 602fd350-edb4-49c9-b593-d223f7449a82
2008-02-05 06:47:27 +00:00
Ryan Boren 66415d7bba Encoding before title. Props RanYanivHartstein. fixes #5519 for 2.5
git-svn-id: https://develop.svn.wordpress.org/trunk@6568 602fd350-edb4-49c9-b593-d223f7449a82
2008-01-06 19:15:33 +00:00
Ryan Boren 1671feadfc Set error if there is a problem connecting to the DB. Props skeltoac and Potter_System. fixes #5495
git-svn-id: https://develop.svn.wordpress.org/trunk@6426 602fd350-edb4-49c9-b593-d223f7449a82
2007-12-20 02:10:09 +00:00
Peter Westwood 0919b3ca32 Move database class loading to a shared function to ensure all of WordPress is wp-content/wp-db.php aware. Fixes #5128 props ComputerGuru.
git-svn-id: https://develop.svn.wordpress.org/trunk@6198 602fd350-edb4-49c9-b593-d223f7449a82
2007-10-06 08:18:33 +00:00
Ryan Boren 6e8eb02d73 Fix includes for setup-config so that wp_die is defined. Props DD32. fixes #4997
git-svn-id: https://develop.svn.wordpress.org/trunk@6137 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-19 04:27:56 +00:00
Matt Mullenweg aeda207ddc People are confusing the part they should edit with the part they shouldn't, so let's make the example values a little more self-evident.
git-svn-id: https://develop.svn.wordpress.org/trunk@5001 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-08 18:31:46 +00:00
Ryan Boren e44ea1ff93 Remove trailing spaces and convert spaces to tabs. Props Nazgul. fixes #986
git-svn-id: https://develop.svn.wordpress.org/trunk@4495 602fd350-edb4-49c9-b593-d223f7449a82
2006-11-19 07:56:05 +00:00
Ryan Boren d521544868 Make setup-config purtier. Props Potter_System. fixes #2618
git-svn-id: https://develop.svn.wordpress.org/trunk@3673 602fd350-edb4-49c9-b593-d223f7449a82
2006-04-01 22:59:31 +00:00
Ryan Boren 204501c750 setup-config fix from David House. fixes #2544
git-svn-id: https://develop.svn.wordpress.org/trunk@3643 602fd350-edb4-49c9-b593-d223f7449a82
2006-03-14 07:42:14 +00:00
Ryan Boren 6008a133c4 Death to trailing tabs. Props Mark J. fixes #2405
git-svn-id: https://develop.svn.wordpress.org/trunk@3517 602fd350-edb4-49c9-b593-d223f7449a82
2006-02-12 07:53:23 +00:00