Dion Hulse
|
6f02bf815c
|
Do not allow empty option names. Trim leading and trailing whitespace from option names. Partial patch props ericmann. Fixes #11506
git-svn-id: https://develop.svn.wordpress.org/trunk@13858 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-03-28 03:10:37 +00:00 |
|
Andrew Nacin
|
d43df7123a
|
Change @since 2.9 to @since 2.9.0.
git-svn-id: https://develop.svn.wordpress.org/trunk@13829 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-03-26 19:23:39 +00:00 |
|
Andrew Nacin
|
5bcb23827d
|
Move send_nosniff_header() into wp-includes so it can be used in wp-ajax.php. props sivel, fixes #12683
git-svn-id: https://develop.svn.wordpress.org/trunk@13806 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-03-23 19:13:58 +00:00 |
|
Nikolay Bachiyski
|
7fcffb8d12
|
Wrap transtable strings used in Network install in WP_I18N_SOMETHING, because translations still aren't loaded. Fixes #12357
git-svn-id: https://develop.svn.wordpress.org/trunk@13797 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-03-22 06:51:49 +00:00 |
|
Andrew Nacin
|
ddc506f01c
|
Remove unnecessary ternary operators such as (expr) ? true : false.
git-svn-id: https://develop.svn.wordpress.org/trunk@13769 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-03-19 21:15:00 +00:00 |
|
Ryan Boren
|
e61755c853
|
Trim trailing whitespace
git-svn-id: https://develop.svn.wordpress.org/trunk@13733 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-03-17 16:27:25 +00:00 |
|
Mark Jaquith
|
8bca8131a6
|
More pedantry. "Setup" is not a verb. http://notaverb.com/setup
git-svn-id: https://develop.svn.wordpress.org/trunk@13725 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-03-17 04:39:50 +00:00 |
|
Ron Rennick
|
9fe9b2390f
|
first pass on optional global terms, see #12589
git-svn-id: https://develop.svn.wordpress.org/trunk@13715 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-03-16 17:17:55 +00:00 |
|
Andrew Nacin
|
c5e62bc71b
|
Fix typo in [13673]. see #12416
git-svn-id: https://develop.svn.wordpress.org/trunk@13677 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-03-11 23:28:12 +00:00 |
|
Ryan Boren
|
9b019acfbe
|
make *_option(), *_transient() functions consistently expect unslashed data. Props Denis-de-Bernardy. see #12416
git-svn-id: https://develop.svn.wordpress.org/trunk@13673 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-03-11 21:49:56 +00:00 |
|
Ron Rennick
|
29e618f33a
|
additional checks on allow existing media path, see #12549
git-svn-id: https://develop.svn.wordpress.org/trunk@13631 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-03-09 18:08:25 +00:00 |
|
Ron Rennick
|
13aa99629a
|
allow existing media path on main site when converting to multisite, see #12549
git-svn-id: https://develop.svn.wordpress.org/trunk@13619 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-03-08 19:52:29 +00:00 |
|
Dion Hulse
|
bcf8d7598e
|
Check date_create() exists for automatic-timezone functionality. Props hakre. Fixes #12534
git-svn-id: https://develop.svn.wordpress.org/trunk@13616 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-03-07 02:51:55 +00:00 |
|
Andrew Nacin
|
89d20b2df3
|
Ignore custom user tables when checking whether the blog is installed. see #12083
git-svn-id: https://develop.svn.wordpress.org/trunk@13569 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-03-03 07:27:18 +00:00 |
|
Andrew Nacin
|
cd9d4b8291
|
Add __return_true() to complement __return_false(). see #12381
git-svn-id: https://develop.svn.wordpress.org/trunk@13526 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-03-01 08:50:27 +00:00 |
|
Andrew Nacin
|
5c706700f3
|
Don't pass serialized values to hooks in options API. see #10788 see #12416
git-svn-id: https://develop.svn.wordpress.org/trunk@13508 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-02-28 19:32:17 +00:00 |
|
Andrew Nacin
|
a62faa1ccf
|
Small fix to [13433], see #10788
git-svn-id: https://develop.svn.wordpress.org/trunk@13439 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-02-26 19:26:51 +00:00 |
|
Andrew Nacin
|
8271d92017
|
Consistently pass unserialized values to hooks in update_site_option(). Change add_option() and add_site_option() to do the same. Any plugin using maybe_unserialize() would continue to work as the value would no longer need to be unserialized. fixes #10788
git-svn-id: https://develop.svn.wordpress.org/trunk@13433 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-02-26 18:51:37 +00:00 |
|
Andrew Nacin
|
e7fa18385a
|
Use is_ssl() in place of manual SERVER['HTTPS'] == 'on' checks. fixes #11885
git-svn-id: https://develop.svn.wordpress.org/trunk@13427 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-02-26 06:21:47 +00:00 |
|
Peter Westwood
|
fd0925a920
|
Disable update service editing by default for multisite. See #12229.
Introduce __return_false for simple filtering. See #12381.
git-svn-id: https://develop.svn.wordpress.org/trunk@13413 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-02-25 21:56:28 +00:00 |
|
Peter Westwood
|
fcd36216e0
|
Return a 404 error if the request feed type doesn't exist not a 500. Fixes #12341 props aaroncampbell.
git-svn-id: https://develop.svn.wordpress.org/trunk@13408 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-02-25 21:16:07 +00:00 |
|
Andrew Nacin
|
c9dfb91763
|
Spelling and grammar fun. Fixes #11875 props cnorris23
git-svn-id: https://develop.svn.wordpress.org/trunk@13382 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-02-24 20:13:23 +00:00 |
|
Andrew Nacin
|
4f3ffedba8
|
Support Ogg audio and video file extensions. Fixes #11519 props niallkennedy
git-svn-id: https://develop.svn.wordpress.org/trunk@13349 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-02-23 23:26:30 +00:00 |
|
Ryan Boren
|
f24e88359e
|
Trim trailing whites
git-svn-id: https://develop.svn.wordpress.org/trunk@13268 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-02-21 00:03:42 +00:00 |
|
Dion Hulse
|
468d0d7cff
|
Variable Cleanup, Unused variables, Typo'd variables, unused code blocks. Fixes #12299
git-svn-id: https://develop.svn.wordpress.org/trunk@13242 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-02-20 02:01:46 +00:00 |
|
Dion Hulse
|
4011b3d4a8
|
Remove unused references to global $wpdb
git-svn-id: https://develop.svn.wordpress.org/trunk@13240 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-02-20 00:50:29 +00:00 |
|
Andrew Nacin
|
d543b36622
|
Introduce wpdb::tables() to fetch table names on a global or blog scope. Remove very old and long deprecated $table{table} globals, fixes #11614. See #12083
git-svn-id: https://develop.svn.wordpress.org/trunk@13229 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-02-19 19:57:03 +00:00 |
|
Andrew Nacin
|
fa77333608
|
Some more phpdoc bits for functions.php. Props miqrogroove, fixes #12215
git-svn-id: https://develop.svn.wordpress.org/trunk@13210 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-02-19 01:08:39 +00:00 |
|
Andrew Nacin
|
c95a891437
|
Fix var name conflict in delete_site_option(), see #10788
git-svn-id: https://develop.svn.wordpress.org/trunk@13158 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-02-14 23:30:31 +00:00 |
|
Dion Hulse
|
a498c11da0
|
Update wp_get_http() to handle redirections on HEAD requests. Un-deprecate $red header to track total redirections. See #10624
git-svn-id: https://develop.svn.wordpress.org/trunk@13151 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-02-14 11:23:32 +00:00 |
|
Andrew Nacin
|
9d476c2d66
|
Add hooks across options and transients APIs. Focuses on site transients/options functions. Attempts to standardize where possible. See #10788
git-svn-id: https://develop.svn.wordpress.org/trunk@13148 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-02-14 10:39:46 +00:00 |
|
Andrew Nacin
|
396f458c51
|
More cleanups of the options/transients APIs. More inline documentation, better return values (always true on success, false on failure). Only call actions that are after wpdb delete/update operations if the operation was successful. See #10788
git-svn-id: https://develop.svn.wordpress.org/trunk@13142 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-02-14 07:21:15 +00:00 |
|
Andrew Nacin
|
79715e7a4c
|
Whitespace, phpdoc, standard variable names, better return values for options and transients APIs. See #10788
git-svn-id: https://develop.svn.wordpress.org/trunk@13139 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-02-14 06:17:42 +00:00 |
|
Andrew Nacin
|
9e25bff4a0
|
Some phpdoc for functions.php. Props miqrogroove, see #12215
git-svn-id: https://develop.svn.wordpress.org/trunk@13102 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-02-13 08:59:04 +00:00 |
|
Ryan Boren
|
b909bb1cf0
|
Add can_compress_scripts to core site options. Add phpdoc for wp_load_core_site_options(). see #11644
git-svn-id: https://develop.svn.wordpress.org/trunk@13069 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-02-12 20:23:06 +00:00 |
|
Ryan Boren
|
e213402692
|
Preload commonly loaded site options when running multisite without a persistent cache. Introduce wp_cache_reset() and call it instead of wp_cache_init() when re-initing after the blog ID chanages to avoid throwing out the entire cache. Pass cached site options through the site option filter when fetching.
git-svn-id: https://develop.svn.wordpress.org/trunk@13066 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-02-12 17:06:43 +00:00 |
|
Ryan Boren
|
65dae9a05f
|
Don't query the timeout for core transients that do not have a timeout. Avoids useless queries on non-existent site options.
git-svn-id: https://develop.svn.wordpress.org/trunk@13056 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-02-11 19:43:22 +00:00 |
|
Ryan Boren
|
268d39dce7
|
Fix warning when installing.
git-svn-id: https://develop.svn.wordpress.org/trunk@13013 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-02-07 16:51:35 +00:00 |
|
Ron Rennick
|
fdcbef3e84
|
restore shell wp-content/blogs.php & add deprecated warnings, props nacin, see #11742
git-svn-id: https://develop.svn.wordpress.org/trunk@12977 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-02-05 21:40:22 +00:00 |
|
Ron Rennick
|
9db8d54976
|
Reduce DB queries by half during MU signup, props donncha, see #12140
git-svn-id: https://develop.svn.wordpress.org/trunk@12973 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-02-05 17:59:24 +00:00 |
|
Mark Jaquith
|
5539653109
|
Use addslashes() instead of esc_sql() in add_magic_quotes() to avoid the pretense of DB association. props miqrogroove
git-svn-id: https://develop.svn.wordpress.org/trunk@12961 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-02-04 23:05:13 +00:00 |
|
Peter Westwood
|
94762869e2
|
Fix bug in _search_terms_tidy. Fixes #12060 for trunk props miqrogroove.
git-svn-id: https://develop.svn.wordpress.org/trunk@12958 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-02-04 21:54:24 +00:00 |
|
Ryan Boren
|
4fa746310c
|
Remove first page and first comment filters. They're no longer needed. see #11644
git-svn-id: https://develop.svn.wordpress.org/trunk@12854 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-01-26 20:42:37 +00:00 |
|
Ryan Boren
|
3485776132
|
Integrate fix_upload_details() into wp_upload_dir(). see #11644
git-svn-id: https://develop.svn.wordpress.org/trunk@12851 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-01-26 20:02:11 +00:00 |
|
Ryan Boren
|
a56f033751
|
Merge mu_upload_dir() into wp_upload_dir(). see #11644
git-svn-id: https://develop.svn.wordpress.org/trunk@12850 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-01-26 19:04:55 +00:00 |
|
Ryan Boren
|
15e5d91692
|
Deprecate graceful_fail(). see #11644
git-svn-id: https://develop.svn.wordpress.org/trunk@12827 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-01-25 22:09:43 +00:00 |
|
Peter Westwood
|
e5b9ba2a92
|
Allow for an alternative handler for wp_die to be used if required. See #11892.
git-svn-id: https://develop.svn.wordpress.org/trunk@12790 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-01-21 22:13:20 +00:00 |
|
Ryan Boren
|
2e46e81309
|
i18n fixes. Props nbachiyski. fixes #11954
git-svn-id: https://develop.svn.wordpress.org/trunk@12789 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-01-21 21:37:43 +00:00 |
|
Dion Hulse
|
ee11169862
|
Fix WP_Filesystem_Direct::mkdir() when running under safe_mode on certain versions of PHP. Props remi. Fixes #10497
git-svn-id: https://develop.svn.wordpress.org/trunk@12741 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-01-17 02:57:59 +00:00 |
|
Dion Hulse
|
95166aa0cf
|
Fix wp_mkdir_p() when running under safe_mode on certain PHP versions. Props Denis-de-Bernardy. Fixes #8830
git-svn-id: https://develop.svn.wordpress.org/trunk@12740 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-01-17 02:44:47 +00:00 |
|