Andrew Nacin
a68ed07ee4
3.6-beta4
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24500 602fd350-edb4-49c9-b593-d223f7449a82
2013-06-21 19:51:53 +00:00
Andrew Nacin
e0573ef18a
Only call wp_kses_bad_protocol() in WP_HTTP if it exists. It does not in setup-config.php.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24497 602fd350-edb4-49c9-b593-d223f7449a82
2013-06-21 19:05:15 +00:00
Andrew Nacin
46022a51de
Partially revert [24459] and only flush insert_id on the next insert or replace query, as we had been doing before. (Yes, this is not how mysql_insert_id() works.)
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24494 602fd350-edb4-49c9-b593-d223f7449a82
2013-06-21 18:22:26 +00:00
Sergey Biryukov
de2951b057
Correct return value for get_role() and WP_Roles::get_role(). props tivnet. fixes #24607 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24491 602fd350-edb4-49c9-b593-d223f7449a82
2013-06-21 13:01:55 +00:00
Sergey Biryukov
fbc2a6ca6d
PHPDoc fixes and additions. fixes #24616 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24490 602fd350-edb4-49c9-b593-d223f7449a82
2013-06-21 12:45:11 +00:00
Andrew Nacin
53e6fb4376
Remove redundant swfupload-all.js file.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24488 602fd350-edb4-49c9-b593-d223f7449a82
2013-06-21 09:26:18 +00:00
bumpbot
43ef5ad911
Compress scripts/styles: 3.6-beta3-24485. TinyMCE updated.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24485 602fd350-edb4-49c9-b593-d223f7449a82
2013-06-21 07:19:07 +00:00
Andrew Nacin
fe79cf8fd7
Change the HTTP API's URL validation default, in trunk.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24482 602fd350-edb4-49c9-b593-d223f7449a82
2013-06-21 06:17:56 +00:00
Andrew Nacin
dfcf4b5eae
Better validation of the URL used in core HTTP requests.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24480 602fd350-edb4-49c9-b593-d223f7449a82
2013-06-21 06:07:47 +00:00
Andrew Nacin
5254ff0e4b
Better cap checks in _wp_translate_post_data().
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24478 602fd350-edb4-49c9-b593-d223f7449a82
2013-06-21 06:00:59 +00:00
Andrew Nacin
7380690be8
Update TinyMCE media plugin's moxieplayer.swf to latest.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24476 602fd350-edb4-49c9-b593-d223f7449a82
2013-06-21 05:57:22 +00:00
Andrew Nacin
08687bc804
More robust escaping in the plugin/theme upgrader.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24474 602fd350-edb4-49c9-b593-d223f7449a82
2013-06-21 05:54:40 +00:00
Andrew Nacin
f23577500c
Build the media item HTML in a clearer manner in the legacy Plupload handler JS. Also update the retired SWFUpload handler JS.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24472 602fd350-edb4-49c9-b593-d223f7449a82
2013-06-21 03:44:48 +00:00
Andrew Nacin
fbc7ae43c8
Better sanity checks in oEmbed XML handling. see [23158].
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24470 602fd350-edb4-49c9-b593-d223f7449a82
2013-06-21 03:29:13 +00:00
Andrew Nacin
3c3b517e07
Update swfupload binary.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24468 602fd350-edb4-49c9-b593-d223f7449a82
2013-06-21 03:16:52 +00:00
Andrew Nacin
43dcd6d9f4
Validate post password hash.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24466 602fd350-edb4-49c9-b593-d223f7449a82
2013-06-21 03:00:26 +00:00
Andrew Nacin
9e8a91cd05
Show a relative path in an upload error message.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24463 602fd350-edb4-49c9-b593-d223f7449a82
2013-06-21 02:29:26 +00:00
Andrew Nacin
626e77ec3b
Add strict check to wp_verify_nonce() to avoid issues when it is improperly called.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24461 602fd350-edb4-49c9-b593-d223f7449a82
2013-06-21 02:11:31 +00:00
Andrew Nacin
3c5073e119
Have wpdb::flush() reset more variables.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24459 602fd350-edb4-49c9-b593-d223f7449a82
2013-06-21 01:32:54 +00:00
Andrew Nacin
473bef521b
Add strict check to phpass's CheckPassword() method to avoid issues when the method is improperly called.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24457 602fd350-edb4-49c9-b593-d223f7449a82
2013-06-21 01:21:12 +00:00
Mark Jaquith
0aed5a2803
Squash some PHP notices in taxonomy queries.
...
props hakre, wonderboymusic. fixes #16465 .
git-svn-id: https://develop.svn.wordpress.org/trunk@24456 602fd350-edb4-49c9-b593-d223f7449a82
2013-06-20 17:21:13 +00:00
Mark Jaquith
eb49ad7e50
Prevent an offset error if the first menu item is a separator.
...
props phill_brown. fixes #23182
git-svn-id: https://develop.svn.wordpress.org/trunk@24455 602fd350-edb4-49c9-b593-d223f7449a82
2013-06-20 16:45:45 +00:00
Andrew Nacin
c69462faa8
Add some localized date/time strings to the main wordpress.pot. These strings appear in the admin only but can be leveraged outside of the admin by design. fixes #22916 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24454 602fd350-edb4-49c9-b593-d223f7449a82
2013-06-20 14:27:37 +00:00
Andrew Nacin
1633413430
Update Akismet external to 2.5.8. For trunk.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24451 602fd350-edb4-49c9-b593-d223f7449a82
2013-06-20 02:44:55 +00:00
bumpbot
e669246779
Compress scripts/styles: 3.6-beta3-24450.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24450 602fd350-edb4-49c9-b593-d223f7449a82
2013-06-19 22:58:57 +00:00
Andrew Nacin
ea92deb1bb
Fix storage of illegal_names. Add an upgrade routine to fix bad values.
...
props SergeyBiryukov.
see #23418 .
for trunk.
git-svn-id: https://develop.svn.wordpress.org/trunk@24448 602fd350-edb4-49c9-b593-d223f7449a82
2013-06-19 22:06:42 +00:00
Mark Jaquith
fb97e258f9
Restore code that returns the existing media object if it already exists.
...
props programmin, adamsilverstein. fixes #24062
git-svn-id: https://develop.svn.wordpress.org/trunk@24447 602fd350-edb4-49c9-b593-d223f7449a82
2013-06-19 21:55:17 +00:00
Andrew Nacin
165d0971fe
Pass $post to hooks in edit-form-advanced.php including edit_form_advanced and edit_form_after_*. fixes #24611 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24446 602fd350-edb4-49c9-b593-d223f7449a82
2013-06-19 21:10:51 +00:00
Andrew Nacin
d0ebb97b4e
Use correct variable order in add_query_arg(). This had mostly just filled error logs; it also broke some obscure URL situations. see #23284 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24444 602fd350-edb4-49c9-b593-d223f7449a82
2013-06-19 08:33:10 +00:00
Andrew Nacin
50228002e8
Don't render the screen reader shortcut 'Log Out' link in the toolbar when the user is not logged in.
...
props SergeyBiryukov.
fixes #23178 .
git-svn-id: https://develop.svn.wordpress.org/trunk@24442 602fd350-edb4-49c9-b593-d223f7449a82
2013-06-19 08:15:04 +00:00
Andrew Nacin
e5200a2d19
Fall back to non-translated strings in _doing_it_wrong() if the translation function doesn't exist. This may be the case in sunrise, for example.
...
props SergeyBiryukov.
fixes #23555 .
for trunk.
git-svn-id: https://develop.svn.wordpress.org/trunk@24439 602fd350-edb4-49c9-b593-d223f7449a82
2013-06-19 08:11:59 +00:00
Andrew Nacin
18a1feccaa
Fix context for get_post() in the deprecated wp_get_single_post(). fixes #24602 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24436 602fd350-edb4-49c9-b593-d223f7449a82
2013-06-19 07:58:28 +00:00
potbot
8af26bb790
POT, generated from r24434
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24435 602fd350-edb4-49c9-b593-d223f7449a82
2013-06-18 22:14:13 +00:00
Lance Willett
f13425deca
Twenty Eleven: use get_content_url()
instead of get_the_post_format_url()
. Fixes #23618 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24434 602fd350-edb4-49c9-b593-d223f7449a82
2013-06-18 21:40:14 +00:00
Andrew Nacin
443609fcab
Pass value and expiration to result hooks in set_transient() and set_site_transient(). props johnbillion, fixes #24583 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24433 602fd350-edb4-49c9-b593-d223f7449a82
2013-06-16 04:06:12 +00:00
bumpbot
6aef31fc5f
Compress scripts/styles: 3.6-beta3-24432.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24432 602fd350-edb4-49c9-b593-d223f7449a82
2013-06-09 00:58:58 +00:00
Andrew Ozz
88e774f7a0
Autosave: properly set autosaveLast when TinyMCE is the default editor. Prevents firing autosave when there are no changes. See #23220
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24431 602fd350-edb4-49c9-b593-d223f7449a82
2013-06-09 00:45:01 +00:00
bumpbot
324f088c27
Compress scripts/styles: 3.6-beta3-24430.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24430 602fd350-edb4-49c9-b593-d223f7449a82
2013-06-07 18:58:57 +00:00
Helen Hou-Sandi
714da2b9e0
Add post format icons to the radio chooser. This also trims empty margins from the sprites to make them usable in RTL and make positioning numbers more sane. props ryelle, kovshenin for the initial patch. fixes #24519 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24429 602fd350-edb4-49c9-b593-d223f7449a82
2013-06-07 17:15:53 +00:00
Lance Willett
dae6b6b6ab
Twenty Thirteen: fix minor RTL and mobile visual display bugs, props obenland. Fixes #24524 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24428 602fd350-edb4-49c9-b593-d223f7449a82
2013-06-07 17:01:22 +00:00
bumpbot
9c0bf86c47
Compress scripts/styles: 3.6-beta3-24427.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24427 602fd350-edb4-49c9-b593-d223f7449a82
2013-06-07 16:58:58 +00:00
Helen Hou-Sandi
bb4dbd9c4c
Change the post format icons sprite to be vertical rather than horizontal in order to allow it to be used for wider items such as labels. RTL tweak for the icon in the posts list table. See #16047 , #24519 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24426 602fd350-edb4-49c9-b593-d223f7449a82
2013-06-07 15:11:42 +00:00
Andrew Nacin
71fcaad59b
Use wp_revisions_enabled(). props ethitter. fixes #24525 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24425 602fd350-edb4-49c9-b593-d223f7449a82
2013-06-07 02:06:22 +00:00
potbot
ebcf303db6
POT, generated from r24423
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24424 602fd350-edb4-49c9-b593-d223f7449a82
2013-06-06 19:14:10 +00:00
Lance Willett
d1348b97e1
Twenty Thirteen: remove html5
arguments now that add_theme_support
call is in place. Props obenland, see r24421 and #23850 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24423 602fd350-edb4-49c9-b593-d223f7449a82
2013-06-06 18:29:32 +00:00
potbot
f265d8bdda
POT, generated from r24421
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24422 602fd350-edb4-49c9-b593-d223f7449a82
2013-06-06 18:14:04 +00:00
Lance Willett
e3f3f1309d
Twenty Thirteen: Remove twentythirteen_search_form_format()
filter in favor of add_theme_support()
call for search form, comment form, and comment list markup. Props SergeyBiryukov, fixes #24269 ; see #23850 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24421 602fd350-edb4-49c9-b593-d223f7449a82
2013-06-06 17:20:40 +00:00
bumpbot
cd69621b0a
Compress scripts/styles: 3.6-beta3-24420.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24420 602fd350-edb4-49c9-b593-d223f7449a82
2013-06-06 16:58:53 +00:00
Mark Jaquith
c77d6c27c3
Properly uncheck the "new tab" box when editing a non-new-tab link.
...
Previously, if you had just edited a new-tab link, a subsequent edit of a non-new-tab link would mistakenly keep the checkbox checked.
props sc0ttkclark. fixes #24520 .
git-svn-id: https://develop.svn.wordpress.org/trunk@24419 602fd350-edb4-49c9-b593-d223f7449a82
2013-06-06 16:49:25 +00:00
Helen Hou-Sandi
c526380e47
Remove obsolete CSS related to post formats UI. See #24452 , #24502 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24418 602fd350-edb4-49c9-b593-d223f7449a82
2013-06-06 15:40:17 +00:00