Mark Jaquith
70eedabc2b
Drop some wrapper functions
...
* `get_attached_audio()` (use `get_attached_media( 'audio' )`)
* `get_attached_images()` (use `get_attached_media( 'image' )`)
* `get_attached_videos()` (use `get_attached_media( 'video' )`)
props wonderboymusic. fixes #23843 .
git-svn-id: https://develop.svn.wordpress.org/trunk@24571 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-05 20:41:49 +00:00
Dominik Schilling (ocean90)
38e7f8d441
Remove the_post_format_gallery(). see #24452 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24570 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-05 20:37:12 +00:00
Dominik Schilling (ocean90)
f89a4f5b21
Remove img_html_to_post_id(). It's unused since [24555]. fixes #24610 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24569 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-05 18:45:41 +00:00
Mark Jaquith
101031bcf4
@-silence an Imagick call that causes a warning in PHP 5.4.
...
props DH-Shredder. fixes #24539 .
git-svn-id: https://develop.svn.wordpress.org/trunk@24568 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-05 18:43:45 +00:00
Mark Jaquith
5312ae444b
Recombine a fragmented help paragraph so its integrity does not depend on translaters noticing a trailing space in the first sentence.
...
props xibe. fixes #24546 .
git-svn-id: https://develop.svn.wordpress.org/trunk@24567 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-05 18:39:27 +00:00
Mark Jaquith
664664d2a1
Push menu settings checkboxes down to a new line to avoid weird overlaps in some languages.
...
props SergeyBiryukov. see #24546 .
git-svn-id: https://develop.svn.wordpress.org/trunk@24566 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-05 18:39:21 +00:00
Mark Jaquith
e87e8f608a
Revisions improvements
...
* Consolidated router code
* Corrected routing behavior
* Tooltip model
* Removed mouse dragging code
props adamsilverstein, ocean90. see #24425 .
git-svn-id: https://develop.svn.wordpress.org/trunk@24565 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-05 17:44:47 +00:00
Mark Jaquith
159b426ef5
Don't display errors for XML-RPC requests, as they malform the response.
...
fixes #23811 . props kovshenin, markoheijnen.
git-svn-id: https://develop.svn.wordpress.org/trunk@24564 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-05 17:38:14 +00:00
Mark Jaquith
12ff8a31c3
Prevent invalid queries in certain empty-array-passing meta_query cases.
...
fixes #22096 . props wonderboymusic.
git-svn-id: https://develop.svn.wordpress.org/trunk@24563 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-05 16:40:46 +00:00
Mark Jaquith
08c5b3f725
Instead of saying that scaling up images will result in fuzzy images, just say that it's not supported (because it isn't).
...
fixes #23713 . props ericlewis.
git-svn-id: https://develop.svn.wordpress.org/trunk@24562 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-05 15:45:43 +00:00
bumpbot
2fd98a828c
Compress scripts/styles: 3.6-beta4-24560.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24561 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-05 15:42:57 +00:00
Mark Jaquith
b275c9418f
Keep the Nav Menu walker from blowing up the layout on empty-titled items.
...
fixes #23254 . props cais, SergeyBiryukov.
git-svn-id: https://develop.svn.wordpress.org/trunk@24560 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-05 15:41:46 +00:00
Ryan Boren
2093f293c7
Don't sync the blog public option from noindex(). This can cause race conditions.
...
fixes #23155
git-svn-id: https://develop.svn.wordpress.org/trunk@24559 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-05 15:17:31 +00:00
Mark Jaquith
d8781a4f32
Keep the theme update thickbox from being obscured by the toolbar.
...
props ParadisePorridge, SergeyBiryukov. fixes #23984 .
git-svn-id: https://develop.svn.wordpress.org/trunk@24558 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-05 15:15:58 +00:00
Mark Jaquith
977c747f43
Hide the Revisions meta box content if no-JS, as JS is required to actually do anything with revisions.
...
fixes #24405 . props DrewAPicture, MikeHansenMe.
git-svn-id: https://develop.svn.wordpress.org/trunk@24557 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-05 15:04:24 +00:00
Mark Jaquith
ffa73b8fc5
Debounce the Revisions UI URL updates as you scrub, for a massive speedup and a reduction in URL history detritus.
...
see #24425
git-svn-id: https://develop.svn.wordpress.org/trunk@24556 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-04 08:30:36 +00:00
Mark Jaquith
00e2ca3b6f
Remove some more post format functions.
...
props wonderboymusic. fixes #24610 .
git-svn-id: https://develop.svn.wordpress.org/trunk@24555 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-04 06:57:00 +00:00
Dominik Schilling (ocean90)
cf6a29cfa1
Lose content removal and splitting from get_content_url(). And remove unneeded lines from [24400].
...
fixes #24484 .
git-svn-id: https://develop.svn.wordpress.org/trunk@24554 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-03 22:36:13 +00:00
Mark Jaquith
a6baa90a3d
Set autocomplete="off"
on the password reset form itself, in addition to the individual inputs, to work around a Chrome bug.
...
fixes #24364 . props azaozz.
git-svn-id: https://develop.svn.wordpress.org/trunk@24553 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-03 21:29:53 +00:00
Mark Jaquith
f120a109ff
Combat Chrome's insanely aggressive user/pass autofilling ಠ_ಠ
...
Chrome now ignores `autocomplete="off"` in <input>, so this hack uses
a hidden, non-named, non-empty input, right before the password field.
see #24364 . props azaozz, nacin, bobbingwide, aaroncampbell.
git-svn-id: https://develop.svn.wordpress.org/trunk@24552 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-03 21:24:02 +00:00
Mark Jaquith
a6177929c4
Rejigger some whitespace in anticipation of a fix for #24364 .
...
see #24364
git-svn-id: https://develop.svn.wordpress.org/trunk@24551 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-03 21:23:55 +00:00
Andrew Nacin
bc4b7fd0a5
Allow gallery to be inserted with no links on the images. props chipbennett, helgatheviking, aaroncampbell, wonderboymusic. fixes #18178 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24550 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-03 20:43:19 +00:00
Dominik Schilling (ocean90)
3690db14f7
Revisions UI update:
...
* Restore Compare two mode
* Restore tooltips
* RTL support
* First pass for URL routing and history
props adamsilverstein, see #24425 .
git-svn-id: https://develop.svn.wordpress.org/trunk@24549 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-03 20:27:19 +00:00
Andrew Nacin
9bac10425e
Remove attachment_url_to_postid(). props kovshenin, wonderboymusic. see #24458 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24548 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-03 20:23:48 +00:00
Andrew Nacin
58b96f9dd5
Call shortcode functions directly. props kovshenin, fixes #24505 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24547 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-03 20:19:00 +00:00
Andrew Nacin
8ceb51f88e
jQuery 1.10.2. props ocean90. fixes #24426 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24546 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-03 20:11:44 +00:00
Andrew Ozz
fb5b41aa7b
TinyMCE: normalize font size for H1 - H6 submenu, fixes #24586 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24545 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-03 02:03:19 +00:00
Andrew Ozz
5b48908f39
Heartbeat: fix comment spelling
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24544 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-03 01:59:46 +00:00
Andrew Ozz
8cc84ab4c9
Post locks: load the post locked dialog html in post-new.php too, see #23697 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24543 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-03 01:50:39 +00:00
Lance Willett
7a24b282a3
Twenty Thirteen: minor CSS cleanup for navigation, props gorgoglionemeister. Closes #24651 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24542 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-02 23:02:02 +00:00
Lance Willett
2be1017944
Twenty Thirteen: enqueue Genericons CSS file for use in visual editor styles. Props DrewAPicture, closes #24595 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24541 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-02 22:58:42 +00:00
Lance Willett
f729beedb5
Twenty Thirteen: update IE styles to match changes in r24524. See #23850 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24540 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-01 18:30:57 +00:00
Dominik Schilling (ocean90)
925e2f67ee
Replace the cite
element with a b
element to markup the comment author in comment_html5().
...
In HTML5 the `cite` element isn't valid for just an author's name.
"The cite element represents the title of a work [..] A person's name is not the title of a work" (http://www.w3.org/TR/html5/text-level-semantics.html#the-cite-element )
fixed #24522 .
git-svn-id: https://develop.svn.wordpress.org/trunk@24539 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-01 18:26:16 +00:00
potbot
1ac726b616
POT, generated from r24537
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24538 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-01 18:14:29 +00:00
Lance Willett
0d6adee1fb
Twenty Thirteen: cleanup for functions.php file, props obenland. See #24653 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24537 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-01 17:27:41 +00:00
Lance Willett
a925082e9b
Twenty Thirteen: update RTL styles to match changes in r24524, props obenland. See #23850 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24536 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-01 17:26:15 +00:00
Lance Willett
ae849e3550
Twenty Thirteen: ensure b
element in comment markup isn't bold. Props ocean90, see #24522 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24535 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-01 17:25:05 +00:00
bumpbot
5e24625852
Compress scripts/styles: 3.6-beta4-24534.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24534 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-01 16:11:01 +00:00
Dominik Schilling (ocean90)
a0aa4fa4b0
RTL: Use direction: ltr
for the URL inputs in the media frame. props DrewAPicture. fixed #24326 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24533 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-01 10:15:07 +00:00
Dominik Schilling (ocean90)
f4ec972104
Install: Fix the value of the for
attribute for the label of the username field.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24532 602fd350-edb4-49c9-b593-d223f7449a82
2013-06-30 11:18:35 +00:00
Dominik Schilling (ocean90)
f05db78268
Add a label to the second password field on User New and User Edit screen. props MikeHansenMe. fixes #20294 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24531 602fd350-edb4-49c9-b593-d223f7449a82
2013-06-30 11:13:34 +00:00
Sergey Biryukov
21704cfdc0
Make wp_mail() return the actual result of PHPMailer::Send() instead of always returning true. props chmac. fixes #23642 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24530 602fd350-edb4-49c9-b593-d223f7449a82
2013-06-29 23:03:13 +00:00
Dominik Schilling (ocean90)
b7591bb34e
Revisions UI: Fix table colgroup (Say what?) for post titles when they haven't been changed. see #24425 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24529 602fd350-edb4-49c9-b593-d223f7449a82
2013-06-29 17:45:02 +00:00
Andrew Ozz
1819e0f2c2
Nonce refresh:
...
- Update the heartbeat nonce when refreshing nonces on the Edit Post screen.
- After a user logs in from the auth-check dialog, speed up heatrbeat to check/refresh nonces on the Edit Post screen.
- Speeding up heartbeat: bring back the setting how long it should last (how many ticks).
- Add 'heartbeat-nonces-expired' jQuery event when nonces have expired and the user is logged in.
See #23295 , see #23216 .
git-svn-id: https://develop.svn.wordpress.org/trunk@24528 602fd350-edb4-49c9-b593-d223f7449a82
2013-06-29 01:31:44 +00:00
Andrew Ozz
a9d0ac3c6f
Post locked dialog: remove the "Go to" part from the button as it's not translatable. Fixes #24547 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24527 602fd350-edb4-49c9-b593-d223f7449a82
2013-06-27 21:59:48 +00:00
Andrew Nacin
836ebd6f0d
Twenty Thirteen: Update comment form selectors with new classes added in r24525.
...
props obenland.
fixes #23851 .
git-svn-id: https://develop.svn.wordpress.org/trunk@24526 602fd350-edb4-49c9-b593-d223f7449a82
2013-06-27 21:19:02 +00:00
Andrew Nacin
f8d88e8dd7
Comment form: Add HTML classes.
...
* #respond gains .comment-respond
* #reply-title gains .comment-reply-titlw
* form gains .comment-form
props obenland.
see #23851 .
git-svn-id: https://develop.svn.wordpress.org/trunk@24525 602fd350-edb4-49c9-b593-d223f7449a82
2013-06-27 21:18:08 +00:00
Andrew Nacin
c2350dee89
Improve the HTML classes for the new html5 format in get_search_form().
...
Update Twenty Thirteen to reflect the changes.
props obenland.
fixes #23850 .
git-svn-id: https://develop.svn.wordpress.org/trunk@24524 602fd350-edb4-49c9-b593-d223f7449a82
2013-06-27 20:45:12 +00:00
bumpbot
d1d4859b11
Compress scripts/styles: 3.6-beta4-24523.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24523 602fd350-edb4-49c9-b593-d223f7449a82
2013-06-27 18:25:01 +00:00
Sergey Biryukov
b08c2f8b55
Consistently use get_post_format_string() to get Standard post format name with the correct context. props johnbillion. fixes #23503 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24522 602fd350-edb4-49c9-b593-d223f7449a82
2013-06-27 06:56:45 +00:00