Andrew Nacin
ee5bc76549
Add comments to time intervals we cannot express with the constants. Fix a comment. props SergeyBiryukov. fixes #20987 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@22531 602fd350-edb4-49c9-b593-d223f7449a82
2012-11-10 18:13:09 +00:00
Andrew Nacin
6a54459a18
Make Twenty Twelve the default theme for new installs. props markoheijnen, SergeyBiryukov. see #21789 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@22054 602fd350-edb4-49c9-b593-d223f7449a82
2012-09-27 07:47:51 +00:00
Andrew Nacin
774a12be83
Introduce constants to allow for easier expression of time periods in seconds. Adds MINUTE_IN_SECONDS, HOUR_IN_SECONDS, DAY_IN_SECONDS, WEEK_IN_SECONDS, YEAR_IN_SECONDS. props nbachiyski, SergeyBiryukov. fixes #20987 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@21996 602fd350-edb4-49c9-b593-d223f7449a82
2012-09-25 05:26:19 +00:00
Andrew Nacin
fd6d9b96e8
Bump default memory limit from 32MB to 40MB. fixes #21646 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@21809 602fd350-edb4-49c9-b593-d223f7449a82
2012-09-11 01:41:56 +00:00
Andrew Nacin
b74c0203d9
s/inval/intval/. props PeteMall. see #14889 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@21168 602fd350-edb4-49c9-b593-d223f7449a82
2012-06-28 20:24:50 +00:00
Andrew Nacin
900829b986
Respect -1 as a memory limit setting.
...
Don't override memory_limit = -1 with a fixed value.
Know that WP_MEMORY_LIMIT = -1 can override a fixed value.
props aaroncampbell
fixes #14889
git-svn-id: https://develop.svn.wordpress.org/trunk@21165 602fd350-edb4-49c9-b593-d223f7449a82
2012-06-28 20:14:39 +00:00
Andrew Nacin
30889de384
Provide a DB fallback for keys in wp_salt(). Fall back when any secret is used more than once. Change how we detect a localized 'put your unique phrase here' -- eliminate $wp_default_secret_key and introduce $wp_secret_key_default to be added during the localized build process, not by translators. fixes #19599 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19771 602fd350-edb4-49c9-b593-d223f7449a82
2012-01-27 18:52:20 +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
Ryan Boren
676ba7043e
Use one space, not two, after trailing punctuation. fixes #19537
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19593 602fd350-edb4-49c9-b593-d223f7449a82
2011-12-13 23:45:31 +00:00
Ryan Boren
332d6d1351
Improve cron locking. Avoid multiple cron processes looping over the same events. fixes #17462
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18659 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-09 19:59:44 +00:00
Andrew Nacin
bde0e2ff31
Force display_errors to off when WP_DEBUG_DISPLAY == false. Technically a backwards incompatible change - if you want the passthrough to php.ini (which false used to provide) then use WP_DEBUG_DISPLAY === null. see #18391 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18545 602fd350-edb4-49c9-b593-d223f7449a82
2011-08-13 18:59:05 +00:00
Ryan Boren
9548ad32ce
Make twentyeleven the default theme. see #17198
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17804 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-04 23:53:36 +00:00
Peter Westwood
8f1955ddf5
Introduce WP_MAX_MEMORY_LIMIT constant for the high memory limit we set when image processing and unzipping.
...
Ensure it is always filterable by plugins as well as configurable in wp-config
Fixes #13847 props hakre
git-svn-id: https://develop.svn.wordpress.org/trunk@17749 602fd350-edb4-49c9-b593-d223f7449a82
2011-04-28 16:25:36 +00:00
Andrew Nacin
d71a11687a
s/Web Path/Filesystem Path/ in inline documentation. props kawauso, fixes #17205 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17745 602fd350-edb4-49c9-b593-d223f7449a82
2011-04-28 12:47:36 +00:00
Ryan Boren
aec821c651
Strip trailing whitespace
...
git-svn-id: https://develop.svn.wordpress.org/trunk@14924 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-26 02:42:15 +00:00
Andrew Nacin
910c8e8bc9
Remove WP_FALLBACK_THEME, use WP_DEFAULT_THEME instead. We now only fall back to the default theme if the theme is broken. Incomplete themes that need to inherit templates will inherit them from wp-includes/theme-compat -- this behavior is deprecated. fixes #12846 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@14485 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-06 19:53:40 +00:00
Ryan Boren
e89d1c5dcb
Introduce WP_DEFAULT_THEME
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13737 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-17 17:42:49 +00:00
Dion Hulse
e86fe47537
Allow WP_FALLBACK_THEME to be overridden. Props Denis-de-Bernardy. Fixes #12425
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13500 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-28 12:39:28 +00:00
Andrew Nacin
61f02ae2fb
Better inline documentation for WP_DEBUG, WP_DEBUG_DISPLAY, and WP_DEBUG_LOG. Fixes #11987
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13176 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-17 13:14:45 +00:00
Peter Westwood
5e7b501b29
Improve the implementation of the default constant defining functions. See #11881 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13062 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-12 07:52:58 +00:00
Ryan Boren
86d7ef0b69
Trim trailing whitespace
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13025 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-08 18:02:23 +00:00
Peter Westwood
9fbea38820
Switch to a constant for the fallback theme. See #9015 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13019 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-07 22:36:37 +00:00
Ron Rennick
e1a54f07b8
reorganize code on ms startup. props nacin, see #11644
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12921 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-01 20:26:08 +00:00
Ron Rennick
a5d7344d4f
sync single and multisite cookie hash, remove extraneous code, See #11644
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12771 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-20 01:14:05 +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
Ryan Boren
42292a8c4d
Cleanup wp-settings. Move functions needed at startup into load.php. Props nacin. see #11881
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12732 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-15 22:03:41 +00:00