summaryrefslogtreecommitdiffstatshomepage
path: root/wp-admin/setup-config.php
Commit message (Collapse)AuthorAge
* New develop.svn.wordpress.org repository based on the old core.svn repository.Andrew Nacin2013-08-07
| | | | | | | | | | | | | | | | | * All WordPress files move to a src/ directory. * New task runner (Grunt), configured to copy a built WordPress to build/. * svn:ignore and .gitignore for Gruntfile.js, wp-config.php, and node.js. * Remove Akismet external from develop.svn. Still exists in core.svn. * Drop minified files from src/. The build process will now generate these. props koop. see #24976. and see http://wp.me/p2AvED-1AI. git-svn-id: https://develop.svn.wordpress.org/trunk@25001 602fd350-edb4-49c9-b593-d223f7449a82
* Use wp_unslash() instead of stripslashes() and stripslashes_deep(). Use ↵Ryan Boren2013-03-01
| | | | | | wp_slash() instead of add_magic_quotes(). git-svn-id: https://develop.svn.wordpress.org/trunk@23567 602fd350-edb4-49c9-b593-d223f7449a82
* Add missing comma. props bradparbs. fixes #22507.Sergey Biryukov2013-03-01
| | | | git-svn-id: https://develop.svn.wordpress.org/trunk@23566 602fd350-edb4-49c9-b593-d223f7449a82
* Revert 23416, 23419, 23445 except for wp_reset_vars() changes. We are going ↵Ryan Boren2013-03-01
| | | | | | a different direction with the slashing cleanup, so resetting to a clean slate. see #21767 git-svn-id: https://develop.svn.wordpress.org/trunk@23554 602fd350-edb4-49c9-b593-d223f7449a82
* Revert to esc_attr_e() in setup-config.php to prevent a fatal error.Sergey Biryukov2013-02-19
| | | | | | | | | kses.php is not loaded at this point, so esc_url() cannot be used. props csixty4, JustinSainton. fixes #23516. see #23334. git-svn-id: https://develop.svn.wordpress.org/trunk@23455 602fd350-edb4-49c9-b593-d223f7449a82
* Change all core API to expect unslashed rather than slashed arguments.Ryan Boren2013-02-14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The exceptions to this are update_post_meta() and add_post_meta() which are often used by plugins in POST handlers and will continue accepting slashed data for now. Introduce wp_upate_post_meta() and wp_add_post_meta() as unslashed alternatives to update_post_meta() and add_post_meta(). These functions could become methods in WP_Post so don't use them too heavily yet. Remove all escape() calls from wp_xmlrpc_server. Now that core expects unslashed data this is no longer needed. Remove addslashes(), addslashes_gpc(), add_magic_quotes() calls on data being prepared for handoff to core functions that until now expected slashed data. Adding slashes in no longer necessary. Introduce wp_unslash() and use to it remove slashes from GPCS data before using it in core API. Almost every instance of stripslashes() in core should now be wp_unslash(). In the future (a release or three) when GPCS is no longer slashed, wp_unslash() will stop stripping slashes and simply return what is passed. At this point wp_unslash() calls can be removed from core. Introduce wp_slash() for slashing GPCS data. This will also turn into a noop once GPCS is no longer slashed. wp_slash() should almost never be used. It is mainly of use in unit tests. Plugins should use wp_unslash() on data being passed to core API. Plugins should no longer slash data being passed to core. So when you get_post() and then wp_insert_post() the post data from get_post() no longer needs addslashes(). Most plugins were not bothering with this. They will magically start doing the right thing. Unfortunately, those few souls who did it properly will now have to avoid calling addslashes() for 3.6 and newer. Use wp_kses_post() and wp_kses_data(), which expect unslashed data, instead of wp_filter_post_kses() and wp_filter_kses(), which expect slashed data. Filters are no longer passed slashed data. Remove many no longer necessary calls to $wpdb->escape() and esc_sql(). In wp_get_referer() and wp_get_original_referer(), return unslashed data. Remove old stripslashes() calls from WP_Widget::update() handlers. These haven't been necessary since WP_Widget. Switch several queries over to prepare(). Expect something to break. Props alexkingorg see #21767 git-svn-id: https://develop.svn.wordpress.org/trunk@23416 602fd350-edb4-49c9-b593-d223f7449a82
* Use correct escaping function. fixes #23334.Sergey Biryukov2013-02-14
| | | | git-svn-id: https://develop.svn.wordpress.org/trunk@23413 602fd350-edb4-49c9-b593-d223f7449a82
* Scope button classes so they can be used on the frontend without interfering ↵Ryan Boren2012-11-30
| | | | | | | | | | with theme styles. Props helenyhou, koopersmith fixes #22644 git-svn-id: https://develop.svn.wordpress.org/trunk@22948 602fd350-edb4-49c9-b593-d223f7449a82
* Use retina logo in install, upgrade, setup-config, repair, and confirmation ↵Ryan Boren2012-11-07
| | | | | | | | | | screens. Props kopepasah, SergeyBiryukov fixes #22375 git-svn-id: https://develop.svn.wordpress.org/trunk@22419 602fd350-edb4-49c9-b593-d223f7449a82
* Buttons:Andrew Ozz2012-10-26
| | | | | | | | | | - Update the install/initial configuration/repair screens buttons, props DrewAPicture - Fix the welcome screen buttons and fine-tune the buttons css, props lessbloat fixes #21598 git-svn-id: https://develop.svn.wordpress.org/trunk@22314 602fd350-edb4-49c9-b593-d223f7449a82
* Consolidate some strings. Props pavelevap, SergeyBiryukov. see #21728Ryan Boren2012-10-05
| | | | git-svn-id: https://develop.svn.wordpress.org/trunk@22124 602fd350-edb4-49c9-b593-d223f7449a82
* On setup-config step 2, default to focusing on the textarea and selecting ↵Andrew Nacin2012-09-16
| | | | | | its contents. fixes #21656. git-svn-id: https://develop.svn.wordpress.org/trunk@21873 602fd350-edb4-49c9-b593-d223f7449a82
* Curly quotes for setup-config strings.Andrew Nacin2012-09-16
| | | | git-svn-id: https://develop.svn.wordpress.org/trunk@21870 602fd350-edb4-49c9-b593-d223f7449a82
* If wp-config.php is not writable from setup-config, make the resulting ↵Andrew Nacin2012-09-16
| | | | | | textarea readonly. props jblz, fixes #21657. git-svn-id: https://develop.svn.wordpress.org/trunk@21869 602fd350-edb4-49c9-b593-d223f7449a82
* Rename duplicately defined internal functions (add_js, display_header) for ↵Andrew Nacin2012-09-15
| | | | | | documentation purposes. props bpetty, fixes #21564. git-svn-id: https://develop.svn.wordpress.org/trunk@21856 602fd350-edb4-49c9-b593-d223f7449a82
* setup-config.php must be parseable by PHP4 so we can show a sane error ↵Andrew Nacin2012-09-04
| | | | | | message. wp-admin/index.php should ideally be as well. props SergeyBiryukov, see #21316. git-svn-id: https://develop.svn.wordpress.org/trunk@21716 602fd350-edb4-49c9-b593-d223f7449a82
* Don't include functions.php in wp_load_translations_early()Andrew Nacin2012-09-04
| | | | | | | | | | | | | | | | | | | 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: https://develop.svn.wordpress.org/trunk@21715 602fd350-edb4-49c9-b593-d223f7449a82
* setup-config.php cleanupsRyan Boren2012-04-30
| | | | | | | | | | | * Don't allow an empty prefix * Make slashing consistent and sane Props SergeyBiryukov Fixes #13839 git-svn-id: https://develop.svn.wordpress.org/trunk@20661 602fd350-edb4-49c9-b593-d223f7449a82
* Move closing HTML tag outside _e(), props jiehanzheng, fixes #20510Andrew Ozz2012-04-22
| | | | git-svn-id: https://develop.svn.wordpress.org/trunk@20564 602fd350-edb4-49c9-b593-d223f7449a82
* Do sanity checks for register_globals and magic quotes in setup-config.php. ↵Andrew Nacin2012-04-16
| | | | | | see #13839. git-svn-id: https://develop.svn.wordpress.org/trunk@20482 602fd350-edb4-49c9-b593-d223f7449a82
* Update login-logo.png to use proper color. Copy it over wordpress-logo.png. ↵Andrew Nacin2012-02-17
| | | | | | Make that one canonical, and stop using login-logo.png. Leave it for plugins. props iammattthomas. see #19955. git-svn-id: https://develop.svn.wordpress.org/trunk@19937 602fd350-edb4-49c9-b593-d223f7449a82
* Add some RTL misses for setup-config. props SergeyBiryukov, fixes #18180.Andrew Nacin2012-02-08
| | | | git-svn-id: https://develop.svn.wordpress.org/trunk@19860 602fd350-edb4-49c9-b593-d223f7449a82
* Poka-yoke.Andrew Nacin2012-01-30
| | | | git-svn-id: https://develop.svn.wordpress.org/trunk@19791 602fd350-edb4-49c9-b593-d223f7449a82
* Give install.css on setup-config.php some cache busting. see #19592.Andrew Nacin2012-01-30
| | | | git-svn-id: https://develop.svn.wordpress.org/trunk@19790 602fd350-edb4-49c9-b593-d223f7449a82
* Introduce wp_load_translations_early(), which can be used before the locale ↵Andrew Nacin2012-01-26
| | | | | | 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: https://develop.svn.wordpress.org/trunk@19760 602fd350-edb4-49c9-b593-d223f7449a82
* Use regex to fill in config-sample. Prevents translators from needing to ↵Andrew Nacin2012-01-06
| | | | | | manually translate 'database_name_here' (and friends). see #18180. git-svn-id: https://develop.svn.wordpress.org/trunk@19701 602fd350-edb4-49c9-b593-d223f7449a82
* Fix styling for the installation screens, props chexee, fixes #18576Andrew Ozz2011-11-15
| | | | git-svn-id: https://develop.svn.wordpress.org/trunk@19297 602fd350-edb4-49c9-b593-d223f7449a82
* Remove duplicated id attribute. props pagesimplify. (wp-testers)Andrew Nacin2011-07-31
| | | | git-svn-id: https://develop.svn.wordpress.org/trunk@18493 602fd350-edb4-49c9-b593-d223f7449a82
* <!DOCTYPE html> for all, fixes #18202Andrew Ozz2011-07-22
| | | | git-svn-id: https://develop.svn.wordpress.org/trunk@18460 602fd350-edb4-49c9-b593-d223f7449a82
* Mark a few files as needing to be parsable by PHP4 in order to show the ↵Andrew Nacin2011-06-29
| | | | | | proper error messages. Non-exhaustive. see #17934. git-svn-id: https://develop.svn.wordpress.org/trunk@18375 602fd350-edb4-49c9-b593-d223f7449a82
* wp_check_php_mysql_versions() during setup and install. see #17934.Andrew Nacin2011-06-29
| | | | git-svn-id: https://develop.svn.wordpress.org/trunk@18374 602fd350-edb4-49c9-b593-d223f7449a82
* Restore compat.php includes. see #16918Mark Jaquith2011-04-07
| | | | git-svn-id: https://develop.svn.wordpress.org/trunk@17622 602fd350-edb4-49c9-b593-d223f7449a82
* Take out unnecessary compat functions from compat.php. Props hakre, ↵Ryan Boren2011-04-05
| | | | | | ptahdunbar. see #16918 git-svn-id: https://develop.svn.wordpress.org/trunk@17603 602fd350-edb4-49c9-b593-d223f7449a82
* Don't improperly whitescreen on incorrect DB credentials during ↵Andrew Nacin2010-12-08
| | | | | | 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
* Begin the dissolution of classes.php. see #10287.Andrew Nacin2010-10-30
| | | | git-svn-id: https://develop.svn.wordpress.org/trunk@16099 602fd350-edb4-49c9-b593-d223f7449a82
* Revert submit_button() for wp-includes, setup-config, install, login, ↵Andrew Nacin2010-10-29
| | | | | | signup. see [16061], see #15064, fixes #15247. git-svn-id: https://develop.svn.wordpress.org/trunk@16066 602fd350-edb4-49c9-b593-d223f7449a82
* Expand submit_button() capabilities. Replace all (or almost all) manual HTML ↵Mark Jaquith2010-10-28
| | | | | | instances in WP. props sbressler. see #15064 git-svn-id: https://develop.svn.wordpress.org/trunk@16061 602fd350-edb4-49c9-b593-d223f7449a82
* Strip trailing whites.Ryan Boren2010-05-03
| | | | git-svn-id: https://develop.svn.wordpress.org/trunk@14404 602fd350-edb4-49c9-b593-d223f7449a82
* Remove debug.Andrew Nacin2010-05-03
| | | | git-svn-id: https://develop.svn.wordpress.org/trunk@14363 602fd350-edb4-49c9-b593-d223f7449a82
* Prevent fatal error when falling back to fsockopen in the setup-config.php ↵Andrew Nacin2010-05-03
| | | | | | key/salt HTTP request. fixes #13030. git-svn-id: https://develop.svn.wordpress.org/trunk@14361 602fd350-edb4-49c9-b593-d223f7449a82
* Unbreak setup-config.php. see #12990Andrew Nacin2010-04-13
| | | | git-svn-id: https://develop.svn.wordpress.org/trunk@14081 602fd350-edb4-49c9-b593-d223f7449a82
* Pretty up the code text boxes on Install. Affects the non-writable ↵Dion Hulse2010-03-28
| | | | | | 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
* Validate Table Prefix in wp-config.php generator. Props johnl1479. Fixes #12622Dion Hulse2010-03-28
| | | | git-svn-id: https://develop.svn.wordpress.org/trunk@13853 602fd350-edb4-49c9-b593-d223f7449a82
* Standardize db config-sample values. fixes #11523Andrew Nacin2010-03-27
| | | | git-svn-id: https://develop.svn.wordpress.org/trunk@13837 602fd350-edb4-49c9-b593-d223f7449a82
* Load WP_HTTP dependencies (translation support) for setup-config.php. ↵Dion Hulse2010-03-09
| | | | | | 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
* Add nag for missing authentication keys in network.php. See #11816Andrew Nacin2010-03-06
| | | | git-svn-id: https://develop.svn.wordpress.org/trunk@13614 602fd350-edb4-49c9-b593-d223f7449a82
* Allow bypass of http call to wp.org (for keys/salts), via URL query var. See ↵Andrew Nacin2010-02-19
| | | | | | #12159 git-svn-id: https://develop.svn.wordpress.org/trunk@13232 602fd350-edb4-49c9-b593-d223f7449a82
* More and more, hosts are not using localhost for the MySQL connection. ↵Mark Jaquith2010-02-15
| | | | | | Reword the config setup text. props mrmist. fixes #11659 git-svn-id: https://develop.svn.wordpress.org/trunk@13163 602fd350-edb4-49c9-b593-d223f7449a82
* Use an expanded special character set when generating auth keys and salts ↵Andrew Nacin2010-02-14
| | | | | | via wp_generate_password(). Props sivel, see #12159 git-svn-id: https://develop.svn.wordpress.org/trunk@13137 602fd350-edb4-49c9-b593-d223f7449a82
* Fall back to wp_generate_password() in setup-config.php if HTTPS request for ↵Andrew Nacin2010-02-14
| | | | | | 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