Gary Pendergast
8f95800d52
Code is Poetry.
...
WordPress' code just... wasn't.
This is now dealt with.
Props jrf, pento, netweb, GaryJ, jdgrimes, westonruter, Greg Sherwood from PHPCS, and everyone who's ever contributed to WPCS and PHPCS.
Fixes #41057 .
git-svn-id: https://develop.svn.wordpress.org/trunk@42343 602fd350-edb4-49c9-b593-d223f7449a82
2017-11-30 23:09:33 +00:00
Drew Jaynes
28a535e58b
Lightly clean up and improve inline documentation in wp-config-sample.php.
...
* Fixes some grammatical and wrapping issues in the file header, and breaks the contents list up into, well, a list.
* Adds a note and Codex link to the DocBlock for the `WP_DEBUG` constant definition on where to find more information about constants used for debugging.
Fixes #28551 .
git-svn-id: https://develop.svn.wordpress.org/trunk@32479 602fd350-edb4-49c9-b593-d223f7449a82
2015-05-10 00:05:30 +00:00
Dominik Schilling (ocean90)
b0d6757918
Use HTTPS URLs for codex.wordpress.org.
...
see #27115 .
git-svn-id: https://develop.svn.wordpress.org/trunk@32116 602fd350-edb4-49c9-b593-d223f7449a82
2015-04-12 21:28:58 +00:00
Sergey Biryukov
aa9af951e5
Remove 'WordPress Language' reference from wp-config-sample.php.
...
props voldemortensen.
see [29630]. fixes #29562 .
git-svn-id: https://develop.svn.wordpress.org/trunk@29720 602fd350-edb4-49c9-b593-d223f7449a82
2014-09-09 01:22:05 +00:00
Dominik Schilling (ocean90)
1f793ea9b2
Language packs: No WPLANG anymore.
...
* The WPLANG constant is no longer needed. Remove define('WPLANG', ''); from wp-config-sample.php. Populate WPLANG option based on the WPLANG constant. When get_option('WPLANG') is an empty string it will override WPLANG.
* Introduce translations_api() which is available to communicate with the translation API. Move translation install related functions to a new file.
* Replace mu_dropdown_languages() with wp_dropdown_languages(). wp_dropdown_languages() is now populated by the translation API.
* Remove wp_install_load_language() and allow load_default_textdomain() to switch a core translation.
fixes #13069 , #15677 , #19760 , #28730 , #29281 .
git-svn-id: https://develop.svn.wordpress.org/trunk@29630 602fd350-edb4-49c9-b593-d223f7449a82
2014-08-26 19:58:33 +00:00
Andrew Nacin
0494df8152
Move wp-config-sample.php to the root of develop.svn.
...
wp-config.php is now created in the root. wp-config-sample.php is properly copied over to the build directory for syncing to core.svn.
Add some ignores.
fixes #25185 , see #24976 .
git-svn-id: https://develop.svn.wordpress.org/trunk@25173 602fd350-edb4-49c9-b593-d223f7449a82
2013-08-29 20:45:17 +00:00
Andrew Nacin
b43712e0f7
New develop.svn.wordpress.org repository based on the old core.svn repository.
...
* 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
2013-08-07 05:25:25 +00:00
Peter Westwood
250bf64df4
Apply the missing bits of the patch. Fixes #13891 props TobiasBg and zeo
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16131 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-01 14:45:11 +00:00
Peter Westwood
bdd159f7ca
Improve WPLANG example. Fixes #13891 props TobiasBg.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16124 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-01 08:23:02 +00:00
Ron Rennick
9728a32af3
shorten header in wp-config-sample, props lloydbudd, fixes #13542
...
git-svn-id: https://develop.svn.wordpress.org/trunk@14912 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-25 23:47:18 +00:00
Dion Hulse
189c79def4
Most users edit wp-config-sample.php on a Windows system with a text editor which does not understand LF, Ensure that the file is always CRLF on svn exports. Fixes #12775
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13912 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-01 10:47:31 +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
Andrew Nacin
a4107f75c1
Add initial WP_DEBUG define to wp-config-sample.php and suggest plugin/theme developers use it. Fixes #12236
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13185 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-17 20:36:00 +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
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
Ryan Boren
8ef8b7bad5
Trailing whitespace cleanup
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12733 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-15 22:11:12 +00:00
Ron Rennick
436316a4a8
Add is_subdomain_install() to ms code - Fixes #11796
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12674 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-08 21:25:01 +00:00
Matt Mullenweg
2101888ec0
Cast out the lowercase P demons that snuck in. http://www.google.com/search?q=out+out+you+demons+of+stupidity
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12341 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-08 19:59:34 +00:00
Peter Westwood
4c1ac9ad0b
Improve the Grammar. Fixes #9181 props Viper007Bond.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@10673 602fd350-edb4-49c9-b593-d223f7449a82
2009-02-28 09:55:07 +00:00
Peter Westwood
c40eac2fa5
Explain consequences of changing the *_KEY defines. Fixes #9181 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@10659 602fd350-edb4-49c9-b593-d223f7449a82
2009-02-27 17:14:22 +00:00
Ryan Boren
ede4a22a55
Eliminate closing ?>'s from wp-config-sample.php. Props Otto42. fixes #6791
...
git-svn-id: https://develop.svn.wordpress.org/trunk@10252 602fd350-edb4-49c9-b593-d223f7449a82
2008-12-24 22:51:50 +00:00
Ryan Boren
f3c2413d46
https for secret-key
...
git-svn-id: https://develop.svn.wordpress.org/trunk@10209 602fd350-edb4-49c9-b593-d223f7449a82
2008-12-16 08:32:35 +00:00
Ryan Boren
f3dd1ef856
Introduce NONCE_SALT and NONCE_KEY
...
git-svn-id: https://develop.svn.wordpress.org/trunk@10120 602fd350-edb4-49c9-b593-d223f7449a82
2008-12-07 21:31:13 +00:00
Peter Westwood
0d4c26b595
Improved phpdoc for wp-config-sample.php fixes #7397 and #7526 props lloydbudd and jacobsantos.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@8817 602fd350-edb4-49c9-b593-d223f7449a82
2008-09-05 17:53:03 +00:00
Ryan Boren
b21e55b24c
Revert [8655]. see #7526
...
git-svn-id: https://develop.svn.wordpress.org/trunk@8790 602fd350-edb4-49c9-b593-d223f7449a82
2008-09-01 05:33:56 +00:00
Andrew Ozz
aa47d8a756
wp-config-sample.php inline documentation. Props santosj, fixes #7526
...
git-svn-id: https://develop.svn.wordpress.org/trunk@8655 602fd350-edb4-49c9-b593-d223f7449a82
2008-08-16 06:16:30 +00:00
Ryan Boren
4879aa85b4
Update sample config to use new cookie keys
...
git-svn-id: https://develop.svn.wordpress.org/trunk@8251 602fd350-edb4-49c9-b593-d223f7449a82
2008-07-03 17:16:10 +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
Ryan Boren
0f25d90a1c
Typo fix
...
git-svn-id: https://develop.svn.wordpress.org/trunk@7810 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-24 17:33:58 +00:00
Ryan Boren
0c0d779e6a
Document new secret-key API in sample config.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@7808 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-24 17:26:36 +00:00
Ryan Boren
4436a01316
Allow DB salt to be overridden by SECRET_SALT. Add a filter to wp_salt(). see #5367
...
git-svn-id: https://develop.svn.wordpress.org/trunk@6478 602fd350-edb4-49c9-b593-d223f7449a82
2007-12-24 06:34:12 +00:00
Ryan Boren
976dc65a9b
Don't fallback to DB info for secret key. Allow expiration grace period for AJAX requests. see #5367
...
git-svn-id: https://develop.svn.wordpress.org/trunk@6471 602fd350-edb4-49c9-b593-d223f7449a82
2007-12-23 00:58:06 +00:00
Ryan Boren
bb7922cd42
New secure cookie protocol. see #5367
...
git-svn-id: https://develop.svn.wordpress.org/trunk@6387 602fd350-edb4-49c9-b593-d223f7449a82
2007-12-16 17:41:59 +00:00
Matt Mullenweg
d7d91f0a18
The config file has been deliberately CRLF since [2370] to recognize that most people will be editing this file in a crappy windows editor.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@5457 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-12 18:29:57 +00:00
rob1n
d0f5497976
Update wp-config.php to reference wp-contents/languages instead of wp-includes/languages. Props Nazgul. fixes #4150
...
git-svn-id: https://develop.svn.wordpress.org/trunk@5273 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-15 21:29:41 +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
1da158c353
Make DB_COLLATE blank by default so that MySQL will choose the default collation for the charset. #3517
...
git-svn-id: https://develop.svn.wordpress.org/trunk@4867 602fd350-edb4-49c9-b593-d223f7449a82
2007-02-05 21:37:47 +00:00
Ryan Boren
ab76209618
First cut at mysql utf-8 charset suport. Props to sehh, drupal, and textpattern. fixes #3517
...
git-svn-id: https://develop.svn.wordpress.org/trunk@4860 602fd350-edb4-49c9-b593-d223f7449a82
2007-02-02 00:04:35 +00:00
Ryan Boren
661e5dedc3
Set eol style. fixes #3264
...
git-svn-id: https://develop.svn.wordpress.org/trunk@4424 602fd350-edb4-49c9-b593-d223f7449a82
2006-10-25 22:55:05 +00:00
Matt Mullenweg
60121c1536
Note character restrictions, fixes #910
...
git-svn-id: https://develop.svn.wordpress.org/trunk@2745 602fd350-edb4-49c9-b593-d223f7449a82
2005-08-03 00:46:57 +00:00
Matt Mullenweg
9df9852e88
Change to work better on windows
...
git-svn-id: https://develop.svn.wordpress.org/trunk@2370 602fd350-edb4-49c9-b593-d223f7449a82
2005-02-21 06:38:30 +00:00
Matt Mullenweg
77423f5a50
Eliminating some cruft.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@1577 602fd350-edb4-49c9-b593-d223f7449a82
2004-08-30 20:02:10 +00:00
Ryan Boren
e63d0c54d6
Fix spelling error.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@1330 602fd350-edb4-49c9-b593-d223f7449a82
2004-05-21 02:47:45 +00:00
Ryan Boren
78a793d2ea
Set language with WPLANG.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@1177 602fd350-edb4-49c9-b593-d223f7449a82
2004-04-26 02:00:08 +00:00
Matt Mullenweg
ccc413011a
Renaming Reloaded.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@628 602fd350-edb4-49c9-b593-d223f7449a82
2003-12-18 09:36:13 +00:00
Matt Mullenweg
9c6a0a9403
The great renaming.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@601 602fd350-edb4-49c9-b593-d223f7449a82
2003-12-11 00:22:36 +00:00