bumpbot
606c472881
Compress scripts/styles: 3.5-alpha-21400.
...
git-svn-id: http://core.svn.wordpress.org/trunk@21400 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-01 22:58:25 +00:00
westi
4443baaab9
Multisite: Rework the upload space usage tracking code so as to be fully pluggable.
...
* Moves some admin only functions into wp-admin/includes/ms.php from wp-includes/ms-functions.php
* Reworked the variable naming to be more in line with the Coding Standards
* Introduced a new get_space_used() function instead of calculating it in multiple places.
Fixes #21181 props dllh and jkudish for inital work on this.
git-svn-id: http://core.svn.wordpress.org/trunk@21387 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-01 13:52:06 +00:00
koopersmith
29f2b5b903
Fix @since blocks... since we already released 3.4.1. see #21355 .
...
git-svn-id: http://core.svn.wordpress.org/trunk@21386 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-01 07:20:44 +00:00
koopersmith
eb7e421d69
Add @since documentation, see #21355 .
...
git-svn-id: http://core.svn.wordpress.org/trunk@21385 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-01 07:01:08 +00:00
bumpbot
506492de67
Compress scripts/styles: 3.5-alpha-21384.
...
git-svn-id: http://core.svn.wordpress.org/trunk@21384 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-01 06:58:20 +00:00
koopersmith
86b352faea
Remove the ability to upload custom headers in the customizer. Properly handle selecting the correct first tab, and removing the control/section if no tabs exist. see #21355 .
...
To check if the control has any potential tabs and headers, added:
* WP_Customize_Image_Control->prepare_control()
* WP_Customize_Header_Image_Control->prepare_control()
* WP_Customize_Header_Image_Control->default_headers
* WP_Customize_Header_Image_Control->uploaded_headers
git-svn-id: http://core.svn.wordpress.org/trunk@21383 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-01 06:45:54 +00:00
bumpbot
50b0511449
Compress scripts/styles: 3.5-alpha-21382.
...
git-svn-id: http://core.svn.wordpress.org/trunk@21382 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-01 02:58:20 +00:00
koopersmith
21d1ea5f85
Pinking shears.
...
git-svn-id: http://core.svn.wordpress.org/trunk@21381 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-01 02:30:02 +00:00
koopersmith
b779aff50a
When the browser property is not provided to wp.Uploader, hide Plupload's auto-created file input and call Plupload's disableBrowse. see #21437 , [21379].
...
git-svn-id: http://core.svn.wordpress.org/trunk@21380 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-01 02:27:18 +00:00
koopersmith
83f2d7dc6e
Make the browser property in wp.Uploader optional. fixes #21437 .
...
git-svn-id: http://core.svn.wordpress.org/trunk@21379 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-01 01:10:13 +00:00
ryan
af18fc1ae2
Use Yoda conditions. Props evansolomon. see #21270
...
git-svn-id: http://core.svn.wordpress.org/trunk@21378 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-07-31 21:11:17 +00:00
nacin
fed9492cbc
Use get_userdata() rather than new WP_User in is_super_admin(), to take advantage of the performance improvements in [21376]. see #21120 .
...
git-svn-id: http://core.svn.wordpress.org/trunk@21377 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-07-31 17:47:08 +00:00
nacin
174dad02bc
Optimize get_user_by( 'id', $id ) to return wp_get_current_user() when the current user ID is requested.
...
Provides for a major performance improvement by preventing repeated instantiations of WP_User in the capabilities API.
see #21120 .
git-svn-id: http://core.svn.wordpress.org/trunk@21376 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-07-31 17:45:38 +00:00
nacin
fcae3978c3
Don't call get_userdata() every time for the current user in map_meta_cap()'s read_post, edit_post, and delete_post branches. see #21120 .
...
git-svn-id: http://core.svn.wordpress.org/trunk@21375 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-07-31 17:39:14 +00:00
ryan
996366cc0e
Better phpdoc for user_nicename. Props SergeyBiryukov. fixes #21427
...
git-svn-id: http://core.svn.wordpress.org/trunk@21374 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-07-31 15:50:29 +00:00
ryan
4630ae82ce
Call func_get_args() once in add_query_arg(). Props SergeyBiryukov. see #21332
...
git-svn-id: http://core.svn.wordpress.org/trunk@21373 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-07-31 15:28:10 +00:00
azaozz
d77372ea76
TinyMCE: better exclusion of Opera mobile, fixes #21416
...
git-svn-id: http://core.svn.wordpress.org/trunk@21367 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-07-30 19:40:52 +00:00
ryan
7b49ad8493
Introduce get_edit_user_link(). Props scribu, georgestephanis, johnbillion. fixes #14787 see #20307
...
git-svn-id: http://core.svn.wordpress.org/trunk@21364 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-07-30 18:30:03 +00:00
ryan
09d728e46b
Take the mmm out of comment_ID. Just mm is sufficient.
...
Props wonderboymusic
fixes #21400
git-svn-id: http://core.svn.wordpress.org/trunk@21363 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-07-30 16:16:13 +00:00
azaozz
4ca78e553d
TinyMCE: don't load in Opera Mobile as it doesn't support contentEditable yet, fixes #21416
...
git-svn-id: http://core.svn.wordpress.org/trunk@21361 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-07-30 00:14:43 +00:00
bumpbot
67ac9ee9a1
Compress scripts/styles: 3.5-alpha-21360. TinyMCE updated.
...
git-svn-id: http://core.svn.wordpress.org/trunk@21360 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-07-29 22:58:19 +00:00
azaozz
8dfdf4565a
TinyMCE shortcuts: revert to Alt + Shift + letter for WebKit and Ctrl + Alt + letter (Command + Option + letter) in Firefox, see #21197
...
git-svn-id: http://core.svn.wordpress.org/trunk@21359 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-07-29 21:08:58 +00:00
ryan
e75d8f7d9e
Refactor *_blog_option() functions to use switch_to_blog(), restore_current_blog(), and the *_option() functions. Do not use site-options for blog option caching as this duplicated info and did not properly invalidate.
...
Props jeremyfelt
fixes #21270
git-svn-id: http://core.svn.wordpress.org/trunk@21357 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-07-27 14:57:32 +00:00
ryan
564a7db2cb
phpdoc for Customizer classes and methods. Props bananastalktome. see #21303
...
git-svn-id: http://core.svn.wordpress.org/trunk@21354 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-07-26 21:45:33 +00:00
ryan
c390c3afb0
Introduce wp_oembed_remove_provider(). Props r-a-y. fixes #16327
...
git-svn-id: http://core.svn.wordpress.org/trunk@21351 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-07-26 20:18:27 +00:00
bumpbot
020cb0fd5a
Compress scripts/styles: 3.5-alpha-21348.
...
git-svn-id: http://core.svn.wordpress.org/trunk@21348 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-07-25 22:58:21 +00:00
azaozz
523ae5d425
Update ImgAreaSelect to 0.9.9 that fixes IE7 stack overflow error, props c3mdigital, fixes #21363 , fixes #21348 for trunk
...
git-svn-id: http://core.svn.wordpress.org/trunk@21347 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-07-25 22:43:04 +00:00
azaozz
d4e0c684d3
Bail out themes and plugins that have copied code from core and don't maintain it by requiring class-wp-editor.php in wp-langs.php, fixes #21350 for trunk
...
git-svn-id: http://core.svn.wordpress.org/trunk@21345 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-07-25 19:59:29 +00:00
bumpbot
0d4970e928
Compress scripts/styles: 3.5-alpha-21338.
...
git-svn-id: http://core.svn.wordpress.org/trunk@21339 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-07-25 18:58:20 +00:00
azaozz
dcf3b84ebb
Reset text-indent on the toolbar, props mfields, fixes #21362
...
git-svn-id: http://core.svn.wordpress.org/trunk@21335 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-07-25 18:38:16 +00:00
ryan
fdae8f9b42
Fix some spelling errors. Props thee17. fixes #21191
...
git-svn-id: http://core.svn.wordpress.org/trunk@21333 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-07-25 18:06:13 +00:00
ryan
29e6ade734
Use get_search_query() in feed-rss2-comments.php. Props SergeyBiryukov. fixes #21365
...
git-svn-id: http://core.svn.wordpress.org/trunk@21332 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-07-25 18:04:17 +00:00
ryan
50fc51d8d2
Don't attempt to define the COMMENTS_TEMPLATE constant twice. Props kitchin. fixes #21337
...
git-svn-id: http://core.svn.wordpress.org/trunk@21330 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-07-25 17:54:35 +00:00
ryan
ef95736bce
Set the global comment var before invoking callbacks in wp_list_comments(). Props sirzooro. fixes #21184
...
git-svn-id: http://core.svn.wordpress.org/trunk@21324 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-07-25 16:27:48 +00:00
bumpbot
6c82674ea0
Compress scripts/styles: 3.5-alpha-21321.
...
git-svn-id: http://core.svn.wordpress.org/trunk@21321 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-07-25 06:58:20 +00:00
azaozz
883114f813
RTL css for the spinner in internal linking, see #21351
...
git-svn-id: http://core.svn.wordpress.org/trunk@21320 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-07-25 05:15:26 +00:00
azaozz
e844940922
Put the spinner back to the right of the search field in internal linking, fixes #21351
...
git-svn-id: http://core.svn.wordpress.org/trunk@21319 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-07-25 04:41:18 +00:00
bumpbot
ab56412645
Compress scripts/styles: 3.5-alpha-21314.
...
git-svn-id: http://core.svn.wordpress.org/trunk@21314 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-07-24 02:58:23 +00:00
bumpbot
8167046e99
Compress scripts/styles: 3.5-alpha-21312.
...
git-svn-id: http://core.svn.wordpress.org/trunk@21312 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-07-24 00:58:22 +00:00
azaozz
34535097b7
Remove nearly all tabindex attributes from the admin, leaving them only where absolutely necessary (for now that's only the toolbar).
...
Add tabindex="-1" for the menu images links to avoid double tab stops there when the menu is expanded.
Fix/add auto-focus on the first input fields on the Add/Edit Post, all taxonomy, all edit taxonomy, Log In and Edit Comment screens.
See #21340 .
git-svn-id: http://core.svn.wordpress.org/trunk@21311 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-07-24 00:15:15 +00:00
bumpbot
63df9ad5e0
Compress scripts/styles: 3.5-alpha-21309.
...
git-svn-id: http://core.svn.wordpress.org/trunk@21309 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-07-23 22:58:26 +00:00
azaozz
4a9e3f4297
Fix internal linking search spinner position, fixes #21351
...
git-svn-id: http://core.svn.wordpress.org/trunk@21306 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-07-23 22:18:28 +00:00
bumpbot
e5fcf53e85
Compress scripts/styles: 3.5-alpha-21304.
...
git-svn-id: http://core.svn.wordpress.org/trunk@21304 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-07-23 00:58:20 +00:00
azaozz
d0e8c4becd
Add tabbing from Title directly to the textarea when the Text editor is active, fixes #20834
...
git-svn-id: http://core.svn.wordpress.org/trunk@21303 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-07-22 23:05:58 +00:00
duck_
2740918883
Remove unused arguments (hierarchical, _edit_link, capability_type) from register_post_status
...
Props scribu, simonwheatley. Fixes #18578 , #18972 .
git-svn-id: http://core.svn.wordpress.org/trunk@21302 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-07-22 08:45:35 +00:00
bumpbot
a47dcdfcb9
Compress scripts/styles: 3.5-alpha-21301. TinyMCE updated.
...
git-svn-id: http://core.svn.wordpress.org/trunk@21301 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-07-22 02:58:18 +00:00
azaozz
2309fcb9d7
TinyMCE: fix tabbig in and out of the editor, fixes #20834
...
git-svn-id: http://core.svn.wordpress.org/trunk@21300 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-07-22 02:33:53 +00:00
nacin
a530304b68
Revert [21287] until #21169 goes through. see #21321 .
...
git-svn-id: http://core.svn.wordpress.org/trunk@21299 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-07-21 20:24:21 +00:00
nacin
68c0beb079
Remove unnecessary error suppression operators from func_get_arg() and func_num_args(). see #21332 .
...
git-svn-id: http://core.svn.wordpress.org/trunk@21298 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-07-21 06:07:39 +00:00
bumpbot
fc0ac0c0a9
Compress scripts/styles: 3.5-alpha-21297.
...
git-svn-id: http://core.svn.wordpress.org/trunk@21297 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-07-21 00:58:19 +00:00
azaozz
4293682480
Add query args to refresh the sprite images, see #21019
...
git-svn-id: http://core.svn.wordpress.org/trunk@21296 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-07-20 23:38:23 +00:00
azaozz
af65e282d2
Retina: fix the icon positions in the original editor buttons sprite, reset the css tweaks and adjust the positions in the 2x sprite, see #21019
...
git-svn-id: http://core.svn.wordpress.org/trunk@21295 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-07-20 23:07:48 +00:00
nacin
167124051b
If $group is empty in WP_Object_Cache::decr(), consider it to be 'default'.
...
This is consistent with the rest of the cache methods wrapped by
functions; the functions pass an empty string by default, hence
the need for this check.
props bananastalktome.
fixes #21327 .
git-svn-id: http://core.svn.wordpress.org/trunk@21294 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-07-20 20:15:25 +00:00
ryan
95cfdf2fd6
Introduce cron_request filter. Props ikailo. fixes #13449
...
git-svn-id: http://core.svn.wordpress.org/trunk@21293 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-07-20 15:15:22 +00:00
nacin
81ae841eba
Only run stripslashes() in stripslashes_deep() for strings, not other scalar values. props Kawauso, knutsp. props coffee2code for [UT698]. fixes #18026 .
...
git-svn-id: http://core.svn.wordpress.org/trunk@21292 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-07-20 15:14:26 +00:00
nacin
86d87dd786
Fix typo in HTTP docblock. props ocean90. fixes #21215 .
...
git-svn-id: http://core.svn.wordpress.org/trunk@21290 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-07-20 15:09:11 +00:00
nacin
95c9b62dfd
Use html_type for alternate link elements in atom feeds, as done in atom comment feeds. props niallkennedy. fixes #21305 .
...
git-svn-id: http://core.svn.wordpress.org/trunk@21289 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-07-20 15:08:45 +00:00
nacin
ff2d1c5195
Clarify the return value of has_filter() and has_action(). It returns a boolean if only the first argument is specified. If the second argument is specified, it returns false or an integer, which means it may return a non-boolean value that evaluates to false (so, 0), so you should take care to use the === operator.
...
Correct the function definition of remove_filter() and remove_action(), which 'accepted' an $accepted_args argument, but did not require or use it.
fixes #19417 .
git-svn-id: http://core.svn.wordpress.org/trunk@21288 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-07-20 13:54:42 +00:00
nacin
70da9092d4
Remove unnecessary is_null() checks from the worker loops inside do_action(), apply_filters(), etc. fixes #21321 . see #21169 .
...
git-svn-id: http://core.svn.wordpress.org/trunk@21287 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-07-20 05:25:37 +00:00
markjaquith
c937101f27
Clear the get_pages cache whenever ANY hierarchical post type cache is cleared — not just Pages. fixes #21279
...
git-svn-id: http://core.svn.wordpress.org/trunk@21286 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-07-20 04:35:51 +00:00
nacin
5b2c145a4d
Improve the performance of WP_Object_Cache's _exists() method.
...
Results showed a performance improvement on one admin screen of 90ms (~2%).
fixes #21320 . see #20004 .
git-svn-id: http://core.svn.wordpress.org/trunk@21285 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-07-20 04:21:42 +00:00
bumpbot
b87b0ab2c2
Compress scripts/styles: 3.5-alpha-21284.
...
git-svn-id: http://core.svn.wordpress.org/trunk@21284 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-07-19 16:58:20 +00:00
bumpbot
2e494f8e08
Compress scripts/styles: 3.5-alpha-21282.
...
git-svn-id: http://core.svn.wordpress.org/trunk@21282 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-07-18 22:58:20 +00:00
bumpbot
1cdf4c0dce
Compress scripts/styles: 3.5-alpha-21273. TinyMCE updated.
...
git-svn-id: http://core.svn.wordpress.org/trunk@21273 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-07-14 02:58:20 +00:00
azaozz
7c8ff1e3ca
TinyMCE: add the Alt + W shortcut only when DFW is loaded and Alt + G only when MCE fullscreen is loaded, fixes #21197
...
git-svn-id: http://core.svn.wordpress.org/trunk@21272 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-07-14 01:46:54 +00:00
bumpbot
1d6f5e03e4
Compress scripts/styles: 3.5-alpha-21271.
...
git-svn-id: http://core.svn.wordpress.org/trunk@21271 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-07-13 02:58:22 +00:00
bumpbot
1243f0f34c
Compress scripts/styles: 3.5-alpha-21269. TinyMCE updated.
...
git-svn-id: http://core.svn.wordpress.org/trunk@21269 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-07-13 00:58:19 +00:00
azaozz
544b4a1a25
TinyMCE: update the keyboard shortcuts: Alt + letter for Firefox and WebKit, Alt + Shift + letter for IE and Opera, add shortcut for DFW (Alt + W), see #21214 , fixes #21197 , fixes #17992
...
git-svn-id: http://core.svn.wordpress.org/trunk@21266 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-07-13 00:26:49 +00:00
nacin
189e833139
Admin bar: When calling add_node() for an existing node, all properties should be merged into the existing arguments, including individual meta arguments. Corrects a logic inversion. fixes #21117 .
...
git-svn-id: http://core.svn.wordpress.org/trunk@21259 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-07-10 21:26:35 +00:00
nacin
ebd7e61ac9
Admin bar: Avoid clash with a parent node and a 'content' post type. see #21117 .
...
git-svn-id: http://core.svn.wordpress.org/trunk@21258 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-07-10 20:46:22 +00:00
nacin
6cb67e8817
Tabs, not spaces for intendation. Add a docblock to the file/class.
...
git-svn-id: http://core.svn.wordpress.org/trunk@21257 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-07-10 20:32:48 +00:00
westi
2039e3a8f0
Multisite: Make it easy to replace or augment the over-quota message displayed when you try and upload new media and you have reached your quota.
...
Fixes #21179 props dllh, jkudish.
git-svn-id: http://core.svn.wordpress.org/trunk@21256 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-07-10 13:33:44 +00:00
bumpbot
4a5816348c
Compress scripts/styles: 3.5-alpha-21255. TinyMCE updated.
...
git-svn-id: http://core.svn.wordpress.org/trunk@21255 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-07-10 02:58:25 +00:00
azaozz
90deeab136
TinyMCE: when pressing Enter while an image with caption is selected, fix moving the caret in a new paragraph under it, fix opening the Image Properties popup in IE9, see #21173
...
git-svn-id: http://core.svn.wordpress.org/trunk@21254 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-07-10 02:31:30 +00:00
nacin
70791f60b9
Deprecate sticky_class() in favor of post_class(). props solarissmoke, fixes #16675 .
...
git-svn-id: http://core.svn.wordpress.org/trunk@21253 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-07-09 21:10:59 +00:00
nacin
62c65ba3ef
Remove unused global reference. props ampt. fixes #20863 .
...
git-svn-id: http://core.svn.wordpress.org/trunk@21252 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-07-09 19:48:04 +00:00
nacin
6c2720b7d1
HTML object tags are self-nestable. props coffee2code. fixes #20401 .
...
git-svn-id: http://core.svn.wordpress.org/trunk@21250 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-07-09 19:27:44 +00:00
nacin
cc06e13817
Use is_main_query() method, rather than the function. Only decode the search query variable if we are executing the main query and it came from the /search/ base, rather than the query string. fixes #13961 .
...
git-svn-id: http://core.svn.wordpress.org/trunk@21248 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-07-09 17:28:55 +00:00
bumpbot
878db9bd76
Compress scripts/styles: 3.5-alpha-21247.
...
git-svn-id: http://core.svn.wordpress.org/trunk@21247 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-07-09 06:58:24 +00:00
azaozz
d726a5fb71
TinyMCE icons sprite with tweaked positions, props lessbloat, see #21019
...
git-svn-id: http://core.svn.wordpress.org/trunk@21245 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-07-09 06:11:30 +00:00
markjaquith
d644bc50b0
Collapse an i18n context to make it more accurate and to make for one less string to translate. props pavelevap. fixes #21137
...
git-svn-id: http://core.svn.wordpress.org/trunk@21242 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-07-09 05:08:43 +00:00
markjaquith
d65e49c9f3
Bunch of PHPDoc corrections and cleanups. props c3mdigital. props SergeyBiryukov. fixes #21149
...
git-svn-id: http://core.svn.wordpress.org/trunk@21241 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-07-09 05:03:53 +00:00
markjaquith
3e371b4587
Supply the missing @return doc for get_the_content_feed(). props c3mdigital. fixes #21148
...
git-svn-id: http://core.svn.wordpress.org/trunk@21239 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-07-09 04:51:00 +00:00
markjaquith
a96c5c0b2a
Use a CDATA section for RSS2 comments feeds, so HTML in comments doesn't kill XML validation. props bazza. fixes #16466
...
git-svn-id: http://core.svn.wordpress.org/trunk@21238 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-07-09 04:25:57 +00:00
markjaquith
3b46a53530
Do not block XML-RPC uploads when upload_space_check_disabled is true, regardless of fileupload_maxk value. props SergeyBiryukov. fixes #16217
...
git-svn-id: http://core.svn.wordpress.org/trunk@21237 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-07-09 03:49:23 +00:00
markjaquith
87125fe8b5
Use the_content_feed() when looking for zero-length post content for RSS2 feeds. Now you can have blank posts with content generated by the_content filters. props SergeyBiryukov. fixes #15604
...
git-svn-id: http://core.svn.wordpress.org/trunk@21235 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-07-09 03:33:01 +00:00
bumpbot
f40ddd4ecc
Compress scripts/styles: 3.5-alpha-21233. TinyMCE updated.
...
git-svn-id: http://core.svn.wordpress.org/trunk@21233 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-07-08 22:58:20 +00:00
azaozz
851db96416
TinyMCE: don't throw fatal errors for malformed/invalid image caption shortcodes, props SergeyBiryukov, see #21145
...
git-svn-id: http://core.svn.wordpress.org/trunk@21232 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-07-08 21:11:23 +00:00
dd32
251719c5e5
WP_HTTP: Add a @link to the Chunked Decode RFC for documentation of how to decode the data correctly. Props mailnew2ster. Fixes #14184
...
git-svn-id: http://core.svn.wordpress.org/trunk@21231 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-07-08 05:34:47 +00:00
dd32
6f29700fdb
WP_HTTP: Remove a empty() check that would never be empty due to the format of HTTP Headers, value would always contain at least a space followed by the value. See #14184
...
git-svn-id: http://core.svn.wordpress.org/trunk@21230 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-07-08 05:16:26 +00:00
bumpbot
0230a753ec
Compress scripts/styles: 3.5-alpha-21229. TinyMCE updated.
...
git-svn-id: http://core.svn.wordpress.org/trunk@21229 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-07-07 16:58:20 +00:00
azaozz
54294ad174
Update TinyMCE to 3.5.4.1, fixes #21173
...
git-svn-id: http://core.svn.wordpress.org/trunk@21228 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-07-07 16:22:53 +00:00
dd32
4db9e5c605
WP_HTTP: Allow for cookies with "empty" values be sent, this affects sending cookies such as test=0, which would previously fail. Props mailnew2ster for initial patch. See #14184
...
git-svn-id: http://core.svn.wordpress.org/trunk@21227 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-07-07 12:06:09 +00:00
dd32
2005aed7e6
WP_HTTP: Respect that some cookies do not have an expiration time, this is a valid use-case that WP_HTTP_Cookie::test() should not discard, a non-existant expiration date simply means to let it expire at the end of the session. Props mailnew2ster. Fixes #14191
...
git-svn-id: http://core.svn.wordpress.org/trunk@21226 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-07-07 04:23:49 +00:00
dd32
9ed35c4586
WP_HTTP: Add a filter to WP_HTTP_Proxy::send_through_proxy() to allow for plugins to modify which requests are sent to a proxy dynamically. Fixes #20222
...
git-svn-id: http://core.svn.wordpress.org/trunk@21225 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-07-07 02:27:13 +00:00
bumpbot
02192b7f71
Compress scripts/styles: 3.5-alpha-21220.
...
git-svn-id: http://core.svn.wordpress.org/trunk@21220 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-07-05 20:58:21 +00:00
markjaquith
6a1d888ea5
Better image extension regexes, so we don't just grab the "jpe" from "jpeg" files in media_sideload_image(). props sivel. fixes #16693
...
git-svn-id: http://core.svn.wordpress.org/trunk@21219 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-07-05 20:51:55 +00:00
azaozz
e7b985db6f
Clarify that 'html' refers to the Text editor tab, see #20993
...
git-svn-id: http://core.svn.wordpress.org/trunk@21218 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-07-05 20:28:01 +00:00
markjaquith
c7029bb742
Also switch back the @uses annotation for [21215]. props duck_. see #20484 . see #16639
...
git-svn-id: http://core.svn.wordpress.org/trunk@21217 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-07-05 20:09:28 +00:00
markjaquith
9b8ca25445
Implement the IIS logic test that #16639 should have gotten back in the day, before it was disabled altogether. IIS canonical redirects now only supported for pretty permalink–supporting IIS7 installs. props nacin. fixes #20484 . see #16639
...
git-svn-id: http://core.svn.wordpress.org/trunk@21215 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-07-05 19:59:35 +00:00