Commit Graph

81 Commits

Author SHA1 Message Date
Ryan Boren
51920e1858 Consolidate some strings. Props pavelevap, SergeyBiryukov. see #21728
git-svn-id: http://core.svn.wordpress.org/trunk@22124 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-10-05 19:04:34 +00:00
Andrew Nacin
c8f160b6d8 On setup-config step 2, default to focusing on the textarea and selecting its contents. fixes #21656.
git-svn-id: http://core.svn.wordpress.org/trunk@21873 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-09-16 19:41:41 +00:00
Andrew Nacin
e027dbf019 Curly quotes for setup-config strings.
git-svn-id: http://core.svn.wordpress.org/trunk@21870 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-09-16 18:26:14 +00:00
Andrew Nacin
3a98eb10a1 If wp-config.php is not writable from setup-config, make the resulting textarea readonly. props jblz, fixes #21657.
git-svn-id: http://core.svn.wordpress.org/trunk@21869 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-09-16 18:01:04 +00:00
Andrew Nacin
b523c3d597 Rename duplicately defined internal functions (add_js, display_header) for documentation purposes. props bpetty, fixes #21564.
git-svn-id: http://core.svn.wordpress.org/trunk@21856 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-09-15 19:49:21 +00:00
Andrew Nacin
b1dcde1798 setup-config.php must be parseable by PHP4 so we can show a sane error message. wp-admin/index.php should ideally be as well. props SergeyBiryukov, see #21316.
git-svn-id: http://core.svn.wordpress.org/trunk@21716 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-09-04 02:46:01 +00:00
Andrew Nacin
c97452d955 Don't include functions.php in wp_load_translations_early()
to avoid a parse error in a PHP4 environment (caused by use of
the clone keyword in option.php).

Manually include functions.php in the rare situations where it
is not already included by the time we need to load translations
early.

Remove the functions.php dependency by switching the wp_die() calls
to die(), in wp_check_php_mysql_versions().

props SergeyBiryukov, see #21316, for trunk.




git-svn-id: http://core.svn.wordpress.org/trunk@21715 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-09-04 02:38:37 +00:00
ryan
e0ba13d56c setup-config.php cleanups
* Don't allow an empty prefix
* Make slashing consistent and sane

Props SergeyBiryukov
Fixes #13839


git-svn-id: http://svn.automattic.com/wordpress/trunk@20661 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-30 21:56:32 +00:00
azaozz
589792fca1 Move closing HTML tag outside _e(), props jiehanzheng, fixes #20510
git-svn-id: http://svn.automattic.com/wordpress/trunk@20564 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-22 23:29:52 +00:00
nacin
456206c741 Do sanity checks for register_globals and magic quotes in setup-config.php. see #13839.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20482 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-16 21:52:02 +00:00
nacin
5ecb56896f Update login-logo.png to use proper color. Copy it over wordpress-logo.png. Make that one canonical, and stop using login-logo.png. Leave it for plugins. props iammattthomas. see #19955.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19937 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-17 04:57:56 +00:00
nacin
0f8515abd9 Add some RTL misses for setup-config. props SergeyBiryukov, fixes #18180.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19860 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-08 05:55:54 +00:00
nacin
92e46cf396 Poka-yoke.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19791 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-01-30 17:49:50 +00:00
nacin
9f4f2e85ce Give install.css on setup-config.php some cache busting. see #19592.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19790 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-01-30 17:37:13 +00:00
nacin
81ed9a7563 Introduce wp_load_translations_early(), which can be used before the locale is properly loaded in order to translate early error strings. Internationalize setup-config.php -- translators no longer have a reason to modify this file. fixes #18180.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19760 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-01-26 20:34:27 +00:00
nacin
e5589e02b7 Use regex to fill in config-sample. Prevents translators from needing to manually translate 'database_name_here' (and friends). see #18180.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19701 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-01-06 18:23:51 +00:00
azaozz
52b5e282bd Fix styling for the installation screens, props chexee, fixes #18576
git-svn-id: http://svn.automattic.com/wordpress/trunk@19297 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-15 15:47:07 +00:00
nacin
77cf05fbb7 Remove duplicated id attribute. props pagesimplify. (wp-testers)
git-svn-id: http://svn.automattic.com/wordpress/trunk@18493 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-07-31 22:20:06 +00:00
azaozz
5256d7951f <!DOCTYPE html> for all, fixes #18202
git-svn-id: http://svn.automattic.com/wordpress/trunk@18460 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-07-22 00:25:41 +00:00
nacin
db78833264 Mark a few files as needing to be parsable by PHP4 in order to show the proper error messages. Non-exhaustive. see #17934.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18375 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-29 16:50:07 +00:00
nacin
ad1e1df0f2 wp_check_php_mysql_versions() during setup and install. see #17934.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18374 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-29 16:46:46 +00:00
markjaquith
b1f3de70e7 Restore compat.php includes. see #16918
git-svn-id: http://svn.automattic.com/wordpress/trunk@17622 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-07 15:47:04 +00:00
ryan
91dc365567 Take out unnecessary compat functions from compat.php. Props hakre, ptahdunbar. see #16918
git-svn-id: http://svn.automattic.com/wordpress/trunk@17603 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-05 17:13:04 +00:00
nacin
35b4860563 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: http://svn.automattic.com/wordpress/trunk@16788 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-08 07:12:44 +00:00
nacin
731bf1fb06 Begin the dissolution of classes.php. see #10287.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16099 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-30 07:02:06 +00:00
nacin
0552424317 Revert submit_button() for wp-includes, setup-config, install, login, signup. see [16061], see #15064, fixes #15247.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16066 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-29 00:31:27 +00:00
markjaquith
fc6e89da45 Expand submit_button() capabilities. Replace all (or almost all) manual HTML instances in WP. props sbressler. see #15064
git-svn-id: http://svn.automattic.com/wordpress/trunk@16061 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-28 21:56:43 +00:00
ryan
7b7243d94a Strip trailing whites.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14404 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-03 20:26:11 +00:00
nacin
c5af6664a6 Remove debug.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14363 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-03 07:12:26 +00:00
nacin
0b597379e4 Prevent fatal error when falling back to fsockopen in the setup-config.php key/salt HTTP request. fixes #13030.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14361 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-03 06:28:05 +00:00
nacin
44179f24ef Unbreak setup-config.php. see #12990
git-svn-id: http://svn.automattic.com/wordpress/trunk@14081 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-13 22:35:39 +00:00
dd32
6097e9d0e3 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: http://svn.automattic.com/wordpress/trunk@13870 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-28 11:26:06 +00:00
dd32
7bafa5ee43 Validate Table Prefix in wp-config.php generator. Props johnl1479. Fixes #12622
git-svn-id: http://svn.automattic.com/wordpress/trunk@13853 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-28 01:57:45 +00:00
nacin
b5fa6854b5 Standardize db config-sample values. fixes #11523
git-svn-id: http://svn.automattic.com/wordpress/trunk@13837 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-27 05:42:08 +00:00
dd32
208f98f762 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: http://svn.automattic.com/wordpress/trunk@13628 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-09 12:03:13 +00:00
nacin
64105ec06d Add nag for missing authentication keys in network.php. See #11816
git-svn-id: http://svn.automattic.com/wordpress/trunk@13614 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-06 21:01:58 +00:00
nacin
a39dc63ed5 Allow bypass of http call to wp.org (for keys/salts), via URL query var. See #12159
git-svn-id: http://svn.automattic.com/wordpress/trunk@13232 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-19 20:56:16 +00:00
markjaquith
1801751bc4 More and more, hosts are not using localhost for the MySQL connection. Reword the config setup text. props mrmist. fixes #11659
git-svn-id: http://svn.automattic.com/wordpress/trunk@13163 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-15 15:21:34 +00:00
nacin
db0e494344 Use an expanded special character set when generating auth keys and salts via wp_generate_password(). Props sivel, see #12159
git-svn-id: http://svn.automattic.com/wordpress/trunk@13137 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-14 04:06:30 +00:00
nacin
5871a56009 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: http://svn.automattic.com/wordpress/trunk@13133 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-14 02:47:45 +00:00
dd32
d671bbe036 Fix off-by-one substr() error. Props blepoxp. See #12159
git-svn-id: http://svn.automattic.com/wordpress/trunk@13042 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-10 10:59:45 +00:00
ryan
a8e393c607 Update keys and salts with random values from api.wordpress.org. Props nacin. see #12159
git-svn-id: http://svn.automattic.com/wordpress/trunk@13026 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-08 18:15:44 +00:00
markjaquith
32d18323de Use $required_php_version. Props nacin. fixes #11637
git-svn-id: http://svn.automattic.com/wordpress/trunk@12939 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-03 21:38:09 +00:00
ryan
439d50d655 Cleanup wp-settings. Move functions needed at startup into load.php. Props nacin. see #11881
git-svn-id: http://svn.automattic.com/wordpress/trunk@12732 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-15 22:03:41 +00:00
ryan
28677c6b00 Don't break UTF-8 strings in setup-config.php. Props SergeyBiryukov fixes #11821
git-svn-id: http://svn.automattic.com/wordpress/trunk@12663 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-08 18:40:00 +00:00
azaozz
1bc25890e2 Show errors when minimum requirements are not met when installing, props dd32 Denis-de-Bernardy, fixes #9474
git-svn-id: http://svn.automattic.com/wordpress/trunk@12238 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-20 04:11:01 +00:00
ryan
c5fd618f70 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: http://svn.automattic.com/wordpress/trunk@12145 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-05 18:01:57 +00:00
westi
f0007384e4 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: http://svn.automattic.com/wordpress/trunk@11705 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-07-09 21:35:47 +00:00
ryan
f5a6197172 Use absolute paths for includes. Props hakre. fixes #9750
git-svn-id: http://svn.automattic.com/wordpress/trunk@11301 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-12 16:47:49 +00:00
ryan
32ed8e4b8a Nested install fixes. Props sivel. fixes #7997 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@10698 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-03-04 19:30:16 +00:00