61 Commits

Author SHA1 Message Date
Sergey Biryukov
660d052ced Docs: Slightly adjust the description for $table_prefix in wp-config-sample.php.
Some checks are pending
PHPUnit Tests / PHP ${{ matrix.php }} (mariadb, 11.2, false, false, ubuntu-latest, 8.1) (push) Waiting to run
PHPUnit Tests / PHP ${{ matrix.php }} (mariadb, 11.2, false, false, ubuntu-latest, 8.2) (push) Waiting to run
PHPUnit Tests / PHP ${{ matrix.php }} (mariadb, 11.2, false, false, ubuntu-latest, 8.3) (push) Waiting to run
PHPUnit Tests / PHP ${{ matrix.php }} (mariadb, 11.2, false, false, ubuntu-latest, 8.4) (push) Waiting to run
PHPUnit Tests / PHP ${{ matrix.php }} (mariadb, 11.2, false, true, ubuntu-latest, 7.2) (push) Waiting to run
PHPUnit Tests / PHP ${{ matrix.php }} (mariadb, 11.2, false, true, ubuntu-latest, 7.3) (push) Waiting to run
PHPUnit Tests / PHP ${{ matrix.php }} (mariadb, 11.2, false, true, ubuntu-latest, 7.4) (push) Waiting to run
PHPUnit Tests / PHP ${{ matrix.php }} (mariadb, 11.2, false, true, ubuntu-latest, 8.0) (push) Waiting to run
PHPUnit Tests / PHP ${{ matrix.php }} (mariadb, 11.2, false, true, ubuntu-latest, 8.1) (push) Waiting to run
PHPUnit Tests / PHP ${{ matrix.php }} (mariadb, 11.2, false, true, ubuntu-latest, 8.2) (push) Waiting to run
PHPUnit Tests / PHP ${{ matrix.php }} (mariadb, 11.2, false, true, ubuntu-latest, 8.3) (push) Waiting to run
PHPUnit Tests / PHP ${{ matrix.php }} (mariadb, 11.2, false, true, ubuntu-latest, 8.4) (push) Waiting to run
PHPUnit Tests / PHP ${{ matrix.php }} (mariadb, 11.2, true, false, ubuntu-latest, 7.4) (push) Waiting to run
PHPUnit Tests / PHP ${{ matrix.php }} (mariadb, 11.2, true, true, ubuntu-latest, 7.4) (push) Waiting to run
PHPUnit Tests / Slack Notifications (push) Blocked by required conditions
PHPUnit Tests / Failed workflow tasks (push) Blocked by required conditions
Test Build Processes / Core running from ${{ matrix.directory }} (build, ubuntu-latest, ${{ github.event_name == 'pull_request' && true || '' }}, true) (push) Waiting to run
Test Build Processes / Core running from ${{ matrix.directory }} (build, windows-latest) (push) Waiting to run
Test Build Processes / Core running from ${{ matrix.directory }} (src, ubuntu-latest) (push) Waiting to run
Test Build Processes / Core running from ${{ matrix.directory }} (src, windows-latest) (push) Waiting to run
Test Build Processes / Core running from ${{ matrix.directory }} (build, macos-latest) (push) Waiting to run
Test Build Processes / Core running from ${{ matrix.directory }} (src, macos-latest) (push) Waiting to run
Test Build Processes / Gutenberg running from ${{ matrix.directory }} (build, ubuntu-latest) (push) Waiting to run
Test Build Processes / Gutenberg running from ${{ matrix.directory }} (build, windows-latest) (push) Waiting to run
Test Build Processes / Gutenberg running from ${{ matrix.directory }} (src, ubuntu-latest) (push) Waiting to run
Test Build Processes / Gutenberg running from ${{ matrix.directory }} (src, windows-latest) (push) Waiting to run
Test Build Processes / Gutenberg running from ${{ matrix.directory }} (build, macos-latest) (push) Waiting to run
Test Build Processes / Gutenberg running from ${{ matrix.directory }} (src, macos-latest) (push) Waiting to run
Test Build Processes / Slack Notifications (push) Blocked by required conditions
Test Build Processes / Failed workflow tasks (push) Blocked by required conditions
This replaces the DB abbreviation for consistency, and aims to make the sentence a bit more clear.

Follow-up to [59044].

See #34189.

git-svn-id: https://develop.svn.wordpress.org/trunk@59240 602fd350-edb4-49c9-b593-d223f7449a82
2024-10-15 15:22:09 +00:00
Aaron Jorbin
e9bb88d8c2 Bootstrap/Load: Add documentation warning about updating $table_prefix.
Props bjerke-johannessen, swissspidy, SergeyBiryukov, morganestes, stevenlinx, jorbin.
Fixes #34189.


git-svn-id: https://develop.svn.wordpress.org/trunk@59044 602fd350-edb4-49c9-b593-d223f7449a82
2024-09-17 23:56:10 +00:00
Jb Audras
e5a779515c Docs: Update various HelpHub links to avoid unnecessary redirections.
Follow-up to [57793], [57798], [57800].

Props mkismy.
See #60732, #60699.





git-svn-id: https://develop.svn.wordpress.org/trunk@57801 602fd350-edb4-49c9-b593-d223f7449a82
2024-03-11 14:06:51 +00:00
Sergey Biryukov
647d59302d Text Changes: Update mentions of “web site” to “website” for consistency.
While “web site” was the original spelling, this variant has become rarely used, and “website” is now the standard spelling, already used throughout most of the WordPress core.

Reference: [https://en.wikipedia.org/wiki/Website Wikipedia: Website].

Props LiamMcArthur, cafenoirdesign, sabbirshouvo, sabernhardt, ironprogrammer, mukesh27.
Fixes #59853, #54276.

git-svn-id: https://develop.svn.wordpress.org/trunk@57131 602fd350-edb4-49c9-b593-d223f7449a82
2023-11-22 17:42:11 +00:00
Jb Audras
0a422d3f4b Help/About: Use the new /documentation/ URLs for HelpHub links in WordPress Admin.
As `https://wordpress.org/support/` was redirected to `https://wordpress.org/documentation/`, this changeset replaces various `/support/article/*` links with `/documentation/article/*` to avoid an extra redirect.

This also updates links to Support Forums by replacing `https://wordpress.org/support/` URLs with `https://wordpress.org/support/forums/`.

Props SergeyBiryukov, audrasjb, dhrupo, hasanmisbah, sakibmd, sabernhardt.
See #57726.


git-svn-id: https://develop.svn.wordpress.org/trunk@55412 602fd350-edb4-49c9-b593-d223f7449a82
2023-02-23 10:36:33 +00:00
Jb Audras
e860dee727 Docs: Use generic references to "Database" in wp-config-sample.php.
This replaces the references to "MySQL" info in the WordPress configuration sample file. Using the generic term "Database" now refers to either MySQL or MariaDB.

Props Ov3rfly, audrasjb, hellofromTonya.
Fixes #54610.


git-svn-id: https://develop.svn.wordpress.org/trunk@52367 602fd350-edb4-49c9-b593-d223f7449a82
2021-12-14 08:42:16 +00:00
Sergey Biryukov
4840a9267e Boostrap/Load: Further update the language in wp-config-sample.php.
This restores "That's all, stop editing!" line to its previous format, to avoid breaking external integrations looking for that format specifically.

Follow up to [50915], [50917], [50918].

Props swissspidy, schlessera.
Fixes #37199.

git-svn-id: https://develop.svn.wordpress.org/trunk@50946 602fd350-edb4-49c9-b593-d223f7449a82
2021-05-21 10:39:14 +00:00
Sergey Biryukov
a8d2e6ba40 Docs: Update documentation in wp-config-sample.php per the documentation standards.
See #52628.

git-svn-id: https://develop.svn.wordpress.org/trunk@50918 602fd350-edb4-49c9-b593-d223f7449a82
2021-05-16 08:43:21 +00:00
Aaron Jorbin
c6d14904b7 Boostrap/Load: Have language in wp-config-sample.php better match install instructions.
Help prevent errors from users who are less familiar with php from adding code in side the comment block and thus having their code not work. Therefore, this comment is now a single line.

Follow up to [50915].

Fixes #37199.
Props SergeyBiryukov.




git-svn-id: https://develop.svn.wordpress.org/trunk@50917 602fd350-edb4-49c9-b593-d223f7449a82
2021-05-15 21:58:18 +00:00
Aaron Jorbin
62d35aae07 Boostrap/Load: Strengthen language in wp-config-sample.php
Make it clearer where custom pieces belong in wp-config.php

Props kraftbj, jorbin.
Fixes #37199.



git-svn-id: https://develop.svn.wordpress.org/trunk@50915 602fd350-edb4-49c9-b593-d223f7449a82
2021-05-14 19:33:05 +00:00
Sergey Biryukov
e72fff9cef Code Modernization: Replace dirname( __FILE__ ) calls with __DIR__ magic constant.
This avoids the performance overhead of the function call every time `dirname( __FILE__ )` was used instead of `__DIR__`.

This commit also includes:

* Removing unnecessary parentheses from `include`/`require` statements. These are language constructs, not function calls.
* Replacing `include` statements for several files with `require_once`, for consistency:
 * `wp-admin/admin-header.php`
 * `wp-admin/admin-footer.php`
 * `wp-includes/version.php`

Props ayeshrajans, desrosj, valentinbora, jrf, joostdevalk, netweb.
Fixes #48082.

git-svn-id: https://develop.svn.wordpress.org/trunk@47198 602fd350-edb4-49c9-b593-d223f7449a82
2020-02-06 06:31:22 +00:00
Sergey Biryukov
b99845db25 Docs: Replace Codex URLs with corresponding HelpHub articles in wp-config-sample.php.
Props sebastienserre.
Fixes #48680.

git-svn-id: https://develop.svn.wordpress.org/trunk@46740 602fd350-edb4-49c9-b593-d223f7449a82
2019-11-17 11:09:05 +00:00
Jonathan Desrosiers
ab361359f6 Add svn:auto-props for eol-style and mime-type to trunk.
`svn:eol-style` and `svn:mime-type` property default values are now provided for all file types currently in `trunk`.

This also reverts the `eol-style` change to `wp-config-sample.php` made in [46586].

Fixes #42594.

git-svn-id: https://develop.svn.wordpress.org/trunk@46636 602fd350-edb4-49c9-b593-d223f7449a82
2019-11-03 16:19:15 +00:00
Jonathan Desrosiers
d376fedd89 Ensure svn:eol-style is consistently set for all files.
See #42594.

git-svn-id: https://develop.svn.wordpress.org/trunk@46586 602fd350-edb4-49c9-b593-d223f7449a82
2019-10-25 16:36:41 +00:00
Gary Pendergast
ccc55debda General: Replace "Happy blogging" with "Happy publishing".
As of this commit, WordPress is no longer a simple blogging platform. It's now a comprehensive publishing solution.

This also replaces a couple of other "blog" references that were missed previously.

Props igmoweb, Valer1e, audrasjb, pento.
Fixes #41000.



git-svn-id: https://develop.svn.wordpress.org/trunk@44455 602fd350-edb4-49c9-b593-d223f7449a82
2019-01-08 04:29:06 +00:00
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