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
nacin
7924ddb001
Remove redundant paragraph tags. props SergeyBiryukov. fixes #20511 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@20561 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-22 08:05:17 +00:00
ryan
b3bdab9622
phpdoc tweaks. Props linuxologos. fixes #19580
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@20437 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-11 20:09:17 +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
ryan
e3b46b25d3
Lose EOF ?>. Clean up EOF newlines. fixes #12307
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@19712 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-01-08 17:01:11 +00:00
nacin
fb84309466
Define WPINC in wp-load when wp-config does not exist. see #19651 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@19633 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-12-29 18:45:01 +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
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
westi
d4731da5c4
Switch some strings to single rather than double quotes in wp-load.php. Fixes #17160 props niallkennedy.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@17645 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-18 07:11:05 +00:00
ryan
dfafbed043
E_RECOVERABLE_ERROR is always available in PHP 5.2+. Remove back compat code. Props hakre. see #16920
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@17629 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-11 18:51:52 +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
dd32
ce479b392f
indentation consistency
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15681 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-02 03:08:50 +00:00
dd32
b90b27a6d6
Display PHP Start-up Errors/Warnings. Props Denis-de-Bernardy. Fixes #12395 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13499 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-28 12:19:09 +00:00
ryan
4e1feb62af
Pass text direction to wp_die(). Allow locales to set text direction in local packages. Props nbachiyski. fixes #6132
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@11408 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-20 16:32:22 +00:00
ryan
ee0bfee679
Error reporting fixes. Props Denis-de-Bernardy, jacobsantos. fixes #9639 #8701
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@11128 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-04-29 20:18:44 +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
ryan
f8090206fa
Allow nested install. Props sivel. fixes #7997
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@9443 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-31 19:24:45 +00:00
ryan
f42b96cd5e
Mark string that cannot be gettexted. Props nbachiyski. fixes #7074
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@8168 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-06-23 15:40:43 +00:00
ryan
c9b341d759
Update phpdoc comment for wp-load.php. Props sambauers and hansengel. fixes #7127
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@8076 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-06-13 19:39:04 +00:00
ryan
2787d1fde5
Suppress notices while loading config. fixes #6933 see #7087
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@8070 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-06-11 17:27:28 +00:00
ryan
a6a1522a8d
File file level phpdoc from jacobsantos. see #7037
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@7991 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-05-25 15:50:15 +00:00
ryan
5b8113578d
Allow wp-config.php to exist one level up from WordPress root directory. Props sambauers. fixes #6933
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@7971 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-05-21 05:59:27 +00:00