Commit Graph

23 Commits

Author SHA1 Message Date
Andrew Nacin 040d03235d 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: https://develop.svn.wordpress.org/trunk@21715 602fd350-edb4-49c9-b593-d223f7449a82
2012-09-04 02:38:37 +00:00
Andrew Nacin 99d723ac19 Remove redundant paragraph tags. props SergeyBiryukov. fixes #20511.
git-svn-id: https://develop.svn.wordpress.org/trunk@20561 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-22 08:05:17 +00:00
Ryan Boren 33052a4d1a phpdoc tweaks. Props linuxologos. fixes #19580
git-svn-id: https://develop.svn.wordpress.org/trunk@20437 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-11 20:09:17 +00:00
Andrew Nacin 2fd55c3df1 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: https://develop.svn.wordpress.org/trunk@19760 602fd350-edb4-49c9-b593-d223f7449a82
2012-01-26 20:34:27 +00:00
Ryan Boren 2b186b0c45 Lose EOF ?>. Clean up EOF newlines. fixes #12307
git-svn-id: https://develop.svn.wordpress.org/trunk@19712 602fd350-edb4-49c9-b593-d223f7449a82
2012-01-08 17:01:11 +00:00
Andrew Nacin 161b158172 Define WPINC in wp-load when wp-config does not exist. see #19651.
git-svn-id: https://develop.svn.wordpress.org/trunk@19633 602fd350-edb4-49c9-b593-d223f7449a82
2011-12-29 18:45:01 +00:00
Andrew Ozz 0b8d97f135 Fix styling for the installation screens, props chexee, fixes #18576
git-svn-id: https://develop.svn.wordpress.org/trunk@19297 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-15 15:47:07 +00:00
Andrew Nacin b40bdc3928 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: https://develop.svn.wordpress.org/trunk@18375 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-29 16:50:07 +00:00
Andrew Nacin 85d77664fb wp_check_php_mysql_versions() during setup and install. see #17934.
git-svn-id: https://develop.svn.wordpress.org/trunk@18374 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-29 16:46:46 +00:00
Peter Westwood dd74688d62 Switch some strings to single rather than double quotes in wp-load.php. Fixes #17160 props niallkennedy.
git-svn-id: https://develop.svn.wordpress.org/trunk@17645 602fd350-edb4-49c9-b593-d223f7449a82
2011-04-18 07:11:05 +00:00
Ryan Boren 412d55a08a E_RECOVERABLE_ERROR is always available in PHP 5.2+. Remove back compat code. Props hakre. see #16920
git-svn-id: https://develop.svn.wordpress.org/trunk@17629 602fd350-edb4-49c9-b593-d223f7449a82
2011-04-11 18:51:52 +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
Dion Hulse 393599b9c8 indentation consistency
git-svn-id: https://develop.svn.wordpress.org/trunk@15681 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-02 03:08:50 +00:00
Dion Hulse 4997601dd1 Display PHP Start-up Errors/Warnings. Props Denis-de-Bernardy. Fixes #12395.
git-svn-id: https://develop.svn.wordpress.org/trunk@13499 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-28 12:19:09 +00:00
Ryan Boren e7323af925 Pass text direction to wp_die(). Allow locales to set text direction in local packages. Props nbachiyski. fixes #6132
git-svn-id: https://develop.svn.wordpress.org/trunk@11408 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-20 16:32:22 +00:00
Ryan Boren b10853d492 Error reporting fixes. Props Denis-de-Bernardy, jacobsantos. fixes #9639 #8701
git-svn-id: https://develop.svn.wordpress.org/trunk@11128 602fd350-edb4-49c9-b593-d223f7449a82
2009-04-29 20:18:44 +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 69ce37d463 Mark string that cannot be gettexted. Props nbachiyski. fixes #7074
git-svn-id: https://develop.svn.wordpress.org/trunk@8168 602fd350-edb4-49c9-b593-d223f7449a82
2008-06-23 15:40:43 +00:00
Ryan Boren 9123d8ad62 Update phpdoc comment for wp-load.php. Props sambauers and hansengel. fixes #7127
git-svn-id: https://develop.svn.wordpress.org/trunk@8076 602fd350-edb4-49c9-b593-d223f7449a82
2008-06-13 19:39:04 +00:00
Ryan Boren 3d35af29a3 Suppress notices while loading config. fixes #6933 see #7087
git-svn-id: https://develop.svn.wordpress.org/trunk@8070 602fd350-edb4-49c9-b593-d223f7449a82
2008-06-11 17:27:28 +00:00
Ryan Boren e25996c368 File file level phpdoc from jacobsantos. see #7037
git-svn-id: https://develop.svn.wordpress.org/trunk@7991 602fd350-edb4-49c9-b593-d223f7449a82
2008-05-25 15:50:15 +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