Andrew Nacin
|
028f262ccf
|
Introduce the wp_filter_object_list() helper, with an $operator arg. Fixes an intersection bug in get_post_types() and get_taxonomies(). Also switches $operator default from 'or' to 'and' for get_post_stati(). props scribu, fixes #12966.
git-svn-id: https://develop.svn.wordpress.org/trunk@14108 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-04-16 14:08:58 +00:00 |
|
Ryan Boren
|
3aca04a67b
|
Check if value is not set. Possible in the use_cache = false scenario.
git-svn-id: https://develop.svn.wordpress.org/trunk@14101 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-04-16 13:15:39 +00:00 |
|
Andrew Nacin
|
74cfa717cb
|
Revert changes to maybe_serialize() made in r13673. Do not prevent double-serialization of data. see #12930. see also #12416. xref #7347, r8100, r8372, and others.
git-svn-id: https://develop.svn.wordpress.org/trunk@14074 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-04-11 17:07:20 +00:00 |
|
Dion Hulse
|
74c1d4e71d
|
Add WordPerfect filetypes to Mimetype list. Props morganestes. Fixes #12849
git-svn-id: https://develop.svn.wordpress.org/trunk@14066 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-04-11 08:50:23 +00:00 |
|
Dion Hulse
|
4b03becaa2
|
Add .tsv file format to Upload whitelist. Fixes #12757
git-svn-id: https://develop.svn.wordpress.org/trunk@14064 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-04-11 02:11:29 +00:00 |
|
Andrew Nacin
|
e3f6cbf19e
|
Allow .csv. fixes #12757
git-svn-id: https://develop.svn.wordpress.org/trunk@13962 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-04-03 08:24:13 +00:00 |
|
Andrew Nacin
|
114cedbf17
|
Allow methods to be used as a callback in wp_unique_filename(). fixes #12824 props aaroncampbell.
git-svn-id: https://develop.svn.wordpress.org/trunk@13952 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-04-02 23:54:56 +00:00 |
|
Dion Hulse
|
d9b935e3ce
|
Delete _transient_timeout_$name and _site_transient_timeout_$name when specifically deleting transients. Fixes #12782
git-svn-id: https://develop.svn.wordpress.org/trunk@13911 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-04-01 10:42:03 +00:00 |
|
Dion Hulse
|
b2aaeb8394
|
Small coding standards cleanup of wp_die();
git-svn-id: https://develop.svn.wordpress.org/trunk@13910 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-04-01 10:30:58 +00:00 |
|
Ryan Boren
|
fedb70e678
|
Filter robots.txt output
git-svn-id: https://develop.svn.wordpress.org/trunk@13891 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-03-30 15:48:52 +00:00 |
|
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 |
|