Andrew Nacin
3bfb59b39d
More robust escaping in the plugin/theme upgrader.
...
git-svn-id: http://core.svn.wordpress.org/trunk@24474 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-06-21 05:54:40 +00:00
Andrew Nacin
25a7b3291a
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: http://core.svn.wordpress.org/trunk@24472 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-06-21 03:44:48 +00:00
Andrew Nacin
274d09b342
Better sanity checks in oEmbed XML handling. see [23158].
...
git-svn-id: http://core.svn.wordpress.org/trunk@24470 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-06-21 03:29:13 +00:00
Andrew Nacin
2e6372a4a7
Update swfupload binary.
...
git-svn-id: http://core.svn.wordpress.org/trunk@24468 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-06-21 03:16:52 +00:00
Andrew Nacin
95800ae4f2
Validate post password hash.
...
git-svn-id: http://core.svn.wordpress.org/trunk@24466 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-06-21 03:00:26 +00:00
Andrew Nacin
be01fce99f
Show a relative path in an upload error message.
...
git-svn-id: http://core.svn.wordpress.org/trunk@24463 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-06-21 02:29:26 +00:00
Andrew Nacin
e27d41d8e7
Add strict check to wp_verify_nonce() to avoid issues when it is improperly called.
...
git-svn-id: http://core.svn.wordpress.org/trunk@24461 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-06-21 02:11:31 +00:00
Andrew Nacin
9f10b33324
Have wpdb::flush() reset more variables.
...
git-svn-id: http://core.svn.wordpress.org/trunk@24459 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-06-21 01:32:54 +00:00
Andrew Nacin
03e2f6fb30
Add strict check to phpass's CheckPassword() method to avoid issues when the method is improperly called.
...
git-svn-id: http://core.svn.wordpress.org/trunk@24457 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-06-21 01:21:12 +00:00
Mark Jaquith
bf35040898
Squash some PHP notices in taxonomy queries.
...
props hakre, wonderboymusic. fixes #16465 .
git-svn-id: http://core.svn.wordpress.org/trunk@24456 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-06-20 17:21:13 +00:00
Mark Jaquith
1b84d2140a
Prevent an offset error if the first menu item is a separator.
...
props phill_brown. fixes #23182
git-svn-id: http://core.svn.wordpress.org/trunk@24455 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-06-20 16:45:45 +00:00
Andrew Nacin
06933ac440
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: http://core.svn.wordpress.org/trunk@24454 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-06-20 14:27:37 +00:00
Andrew Nacin
80c30af9e8
Update Akismet external to 2.5.8. For trunk.
...
git-svn-id: http://core.svn.wordpress.org/trunk@24451 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-06-20 02:44:55 +00:00
Bot (Assets)
a95909e425
Compress scripts/styles: 3.6-beta3-24450.
...
git-svn-id: http://core.svn.wordpress.org/trunk@24450 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-06-19 22:58:57 +00:00
Andrew Nacin
d80469f8a5
Fix storage of illegal_names. Add an upgrade routine to fix bad values.
...
props SergeyBiryukov.
see #23418 .
for trunk.
git-svn-id: http://core.svn.wordpress.org/trunk@24448 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-06-19 22:06:42 +00:00
Mark Jaquith
e1923d4783
Restore code that returns the existing media object if it already exists.
...
props programmin, adamsilverstein. fixes #24062
git-svn-id: http://core.svn.wordpress.org/trunk@24447 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-06-19 21:55:17 +00:00
Andrew Nacin
3231e8cbd0
Pass $post to hooks in edit-form-advanced.php including edit_form_advanced and edit_form_after_*. fixes #24611 .
...
git-svn-id: http://core.svn.wordpress.org/trunk@24446 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-06-19 21:10:51 +00:00
Andrew Nacin
7addff9967
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: http://core.svn.wordpress.org/trunk@24444 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-06-19 08:33:10 +00:00
Andrew Nacin
5f1a1eb77c
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: http://core.svn.wordpress.org/trunk@24442 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-06-19 08:15:04 +00:00
Andrew Nacin
bb1234c4be
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: http://core.svn.wordpress.org/trunk@24439 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-06-19 08:11:59 +00:00
Andrew Nacin
0cf7acf4a9
Fix context for get_post() in the deprecated wp_get_single_post(). fixes #24602 .
...
git-svn-id: http://core.svn.wordpress.org/trunk@24436 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-06-19 07:58:28 +00:00
Bot (Translations)
06f96735c1
POT, generated from r24434
...
git-svn-id: http://core.svn.wordpress.org/trunk@24435 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-06-18 22:14:13 +00:00
Lance Willett
b512e9b6a9
Twenty Eleven: use get_content_url()
instead of get_the_post_format_url()
. Fixes #23618 .
...
git-svn-id: http://core.svn.wordpress.org/trunk@24434 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-06-18 21:40:14 +00:00
Andrew Nacin
69581bd827
Pass value and expiration to result hooks in set_transient() and set_site_transient(). props johnbillion, fixes #24583 .
...
git-svn-id: http://core.svn.wordpress.org/trunk@24433 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-06-16 04:06:12 +00:00
Bot (Assets)
91186ec868
Compress scripts/styles: 3.6-beta3-24432.
...
git-svn-id: http://core.svn.wordpress.org/trunk@24432 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-06-09 00:58:58 +00:00
Andrew Ozz
aff66a7d07
Autosave: properly set autosaveLast when TinyMCE is the default editor. Prevents firing autosave when there are no changes. See #23220
...
git-svn-id: http://core.svn.wordpress.org/trunk@24431 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-06-09 00:45:01 +00:00
Bot (Assets)
6ce2016042
Compress scripts/styles: 3.6-beta3-24430.
...
git-svn-id: http://core.svn.wordpress.org/trunk@24430 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-06-07 18:58:57 +00:00
Helen Hou-Sandí
bd231c209f
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: http://core.svn.wordpress.org/trunk@24429 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-06-07 17:15:53 +00:00
Lance Willett
42056fdae6
Twenty Thirteen: fix minor RTL and mobile visual display bugs, props obenland. Fixes #24524 .
...
git-svn-id: http://core.svn.wordpress.org/trunk@24428 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-06-07 17:01:22 +00:00
Bot (Assets)
bd21a110d4
Compress scripts/styles: 3.6-beta3-24427.
...
git-svn-id: http://core.svn.wordpress.org/trunk@24427 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-06-07 16:58:58 +00:00
Helen Hou-Sandí
b9c5b62965
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: http://core.svn.wordpress.org/trunk@24426 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-06-07 15:11:42 +00:00
Andrew Nacin
4263262f40
Use wp_revisions_enabled(). props ethitter. fixes #24525 .
...
git-svn-id: http://core.svn.wordpress.org/trunk@24425 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-06-07 02:06:22 +00:00
Bot (Translations)
b2fc7d1b8b
POT, generated from r24423
...
git-svn-id: http://core.svn.wordpress.org/trunk@24424 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-06-06 19:14:10 +00:00
Lance Willett
693d4e0984
Twenty Thirteen: remove html5
arguments now that add_theme_support
call is in place. Props obenland, see r24421 and #23850 .
...
git-svn-id: http://core.svn.wordpress.org/trunk@24423 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-06-06 18:29:32 +00:00
Bot (Translations)
b73e4d4e50
POT, generated from r24421
...
git-svn-id: http://core.svn.wordpress.org/trunk@24422 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-06-06 18:14:04 +00:00
Lance Willett
7bb95a77ef
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: http://core.svn.wordpress.org/trunk@24421 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-06-06 17:20:40 +00:00
Bot (Assets)
fb16cb6b39
Compress scripts/styles: 3.6-beta3-24420.
...
git-svn-id: http://core.svn.wordpress.org/trunk@24420 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-06-06 16:58:53 +00:00
Mark Jaquith
cb3afeb56b
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: http://core.svn.wordpress.org/trunk@24419 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-06-06 16:49:25 +00:00
Helen Hou-Sandí
99c0762fca
Remove obsolete CSS related to post formats UI. See #24452 , #24502 .
...
git-svn-id: http://core.svn.wordpress.org/trunk@24418 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-06-06 15:40:17 +00:00
Andrew Nacin
5969819038
`add_theme_support( 'html5', array( 'comment-list', 'search-form', 'comment-form' ) );'
...
props obenland.
see #23850 .
git-svn-id: http://core.svn.wordpress.org/trunk@24417 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-06-06 15:31:34 +00:00
Bot (Assets)
17acd37457
Compress scripts/styles: 3.6-beta3-24416.
...
git-svn-id: http://core.svn.wordpress.org/trunk@24416 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-06-06 14:58:54 +00:00
Dominik Schilling
0bba1877c4
Remove post format icons next to header on edit post screen. fixes #24502 . see #24452 .
...
git-svn-id: http://core.svn.wordpress.org/trunk@24415 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-06-06 14:45:25 +00:00
Mark Jaquith
5626969d0b
Restore post format previewing.
...
props azaozz. fixes #24483
git-svn-id: http://core.svn.wordpress.org/trunk@24414 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-06-06 14:39:08 +00:00
Bot (Translations)
a98047f084
POT, generated from r24412
...
git-svn-id: http://core.svn.wordpress.org/trunk@24413 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-06-06 01:14:28 +00:00
Lance Willett
16d40fde2a
Twenty Thirteen markup cleanup:
...
* Remove trailing slashes on void elements such as `meta` and `link`
* Remove `type` attribute from `script` element
Props retlehs, fixes #24499 .
git-svn-id: http://core.svn.wordpress.org/trunk@24412 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-06-06 00:29:07 +00:00
Lance Willett
38c19a5fde
Twenty Thirteen: improve backward compatibility escape hatch for pre-3.6 versions:
...
* Switch to the built-in method of providing a back link in `wp_die()` for the Customizer
* Use WP_DEFAULT_THEME for both arguments during theme switching to simplify the logic
* Prevent the 3.3 and earlier theme preview action gracefully
Props obenland for patches, fixes #24441 .
git-svn-id: http://core.svn.wordpress.org/trunk@24411 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-06-06 00:22:09 +00:00
Dominik Schilling
173c3da21f
Update MediaElement.js to 2.12.0. see #24183 .
...
git-svn-id: http://core.svn.wordpress.org/trunk@24410 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-06-05 21:50:23 +00:00
Sergey Biryukov
115866d483
Fix E_STRICT notice in WP_Theme_Install_List_Table::_js_vars(). see #24356 .
...
git-svn-id: http://core.svn.wordpress.org/trunk@24409 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-06-05 16:51:07 +00:00
Andrew Ozz
5642a56311
Post locks:
...
- When a post is locked, ensure the 'Go back' button doesn't reload the same screen. If no referrer, change the button from 'Go back' to 'Go to All Posts'/'Go to All Pages' etc.
- Remove restriction on checking locks only for posts.
See #23697 .
git-svn-id: http://core.svn.wordpress.org/trunk@24408 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-06-05 03:01:59 +00:00
Bot (Assets)
ea4aa44ed1
Compress scripts/styles: 3.6-beta3-24407.
...
git-svn-id: http://core.svn.wordpress.org/trunk@24407 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-06-05 00:59:01 +00:00