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
Andrew Nacin
6204be9e9c
`add_theme_support( 'html5', array( 'comment-list', 'search-form', 'comment-form' ) );'
...
props obenland.
see #23850 .
git-svn-id: https://develop.svn.wordpress.org/trunk@24417 602fd350-edb4-49c9-b593-d223f7449a82
2013-06-06 15:31:34 +00:00
bumpbot
4130788d81
Compress scripts/styles: 3.6-beta3-24416.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24416 602fd350-edb4-49c9-b593-d223f7449a82
2013-06-06 14:58:54 +00:00
Dominik Schilling (ocean90)
02d7e84ab6
Remove post format icons next to header on edit post screen. fixes #24502 . see #24452 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24415 602fd350-edb4-49c9-b593-d223f7449a82
2013-06-06 14:45:25 +00:00
Mark Jaquith
31892c0226
Restore post format previewing.
...
props azaozz. fixes #24483
git-svn-id: https://develop.svn.wordpress.org/trunk@24414 602fd350-edb4-49c9-b593-d223f7449a82
2013-06-06 14:39:08 +00:00
potbot
06c8be82d4
POT, generated from r24412
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24413 602fd350-edb4-49c9-b593-d223f7449a82
2013-06-06 01:14:28 +00:00
Lance Willett
5a92c3184e
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: https://develop.svn.wordpress.org/trunk@24412 602fd350-edb4-49c9-b593-d223f7449a82
2013-06-06 00:29:07 +00:00
Lance Willett
5e6dbe3de0
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: https://develop.svn.wordpress.org/trunk@24411 602fd350-edb4-49c9-b593-d223f7449a82
2013-06-06 00:22:09 +00:00
Dominik Schilling (ocean90)
c9be4070d3
Update MediaElement.js to 2.12.0. see #24183 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24410 602fd350-edb4-49c9-b593-d223f7449a82
2013-06-05 21:50:23 +00:00
Sergey Biryukov
6d1975e335
Fix E_STRICT notice in WP_Theme_Install_List_Table::_js_vars(). see #24356 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24409 602fd350-edb4-49c9-b593-d223f7449a82
2013-06-05 16:51:07 +00:00
Andrew Ozz
2860f4769e
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: https://develop.svn.wordpress.org/trunk@24408 602fd350-edb4-49c9-b593-d223f7449a82
2013-06-05 03:01:59 +00:00
bumpbot
2a6b867ba1
Compress scripts/styles: 3.6-beta3-24407.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24407 602fd350-edb4-49c9-b593-d223f7449a82
2013-06-05 00:59:01 +00:00
Andrew Ozz
22f855d84e
Heartbeat: rename some vars/args to make them more intuitive, don't set user_id on every request, see #23216
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24406 602fd350-edb4-49c9-b593-d223f7449a82
2013-06-05 00:13:40 +00:00
Lance Willett
e802145548
Twenty Thirteen: correct PHPDoc for using `get_content_url()` to grab first link in post content. See #24469 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24405 602fd350-edb4-49c9-b593-d223f7449a82
2013-06-03 22:20:43 +00:00
Lance Willett
625724024b
Twenty Thirteen: clean up RTL styles per changes in r24391, see #24469 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24404 602fd350-edb4-49c9-b593-d223f7449a82
2013-06-03 22:17:09 +00:00
potbot
d5ac993525
POT, generated from r24402
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24403 602fd350-edb4-49c9-b593-d223f7449a82
2013-06-03 22:14:13 +00:00
Lance Willett
3bb3d6f97f
Twenty Thirteen: Clean up image attachment template and move logic to `twentythirteen_the_attached_image()` function. Props obenland, fixes #24479 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24402 602fd350-edb4-49c9-b593-d223f7449a82
2013-06-03 21:44:25 +00:00
Lance Willett
3fef0e7c6c
Twenty Thirteen: remove mention of `twentythirteen_comment()` in PHPDoc, props zeo. Closes #24482 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24401 602fd350-edb4-49c9-b593-d223f7449a82
2013-06-03 21:35:26 +00:00
Mark Jaquith
cf3f5acf71
Lose content removal and splitting from the media extraction functions.
...
see #24484
git-svn-id: https://develop.svn.wordpress.org/trunk@24400 602fd350-edb4-49c9-b593-d223f7449a82
2013-06-03 19:27:58 +00:00
Mark Jaquith
bf9dd62a78
Remove a bunch of Post Format template functions.
...
* get_post_format_meta()
* add_chat_detection_format()
* get_content_chat()
* get_the_post_format_chat()
* the_post_format_chat()
* get_content_quote()
* get_the_post_format_quote()
* the_post_format_quote()
* get_the_post_format_url()
* the_post_format_url()
* get_the_remaining_content()
* the_remaining_content()
see #24452
git-svn-id: https://develop.svn.wordpress.org/trunk@24399 602fd350-edb4-49c9-b593-d223f7449a82
2013-06-02 16:26:10 +00:00