Andrew Nacin
7f396bfab0
Avoid possible array collision in dbDelta when recording index adds. props apimlott, wonderboymusic. fixes #21272 .
...
git-svn-id: http://core.svn.wordpress.org/trunk@24584 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-07-08 13:54:19 +00:00
Andrew Nacin
55b3c67413
Revert [23394] until there is a consensus on target="_blank" (or not) for these external links. see #20839 .
...
git-svn-id: http://core.svn.wordpress.org/trunk@24583 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-07-08 13:04:07 +00:00
Andrew Nacin
720f37c374
Expand human_time_diff() from minutes/hours/days to also include weeks/months/years. Fix off-by-one issue.
...
props SergeyBiryukov, westi.
fixes #9272 .
git-svn-id: http://core.svn.wordpress.org/trunk@24582 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-07-08 13:00:34 +00:00
Andrew Nacin
cbfc7470e2
Documentation for [24564]. see #23811 .
...
git-svn-id: http://core.svn.wordpress.org/trunk@24581 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-07-08 12:59:10 +00:00
Sergey Biryukov
6c89e06a2a
Avoid an undefined index notice. props DrewAPicture. fixes #22096 .
...
git-svn-id: http://core.svn.wordpress.org/trunk@24580 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-07-08 01:49:13 +00:00
Dominik Schilling
65f9f1710b
Revisions improvements
...
* Enable smooth sliding in Compare two mode
props adamsilverstein. see #24425 .
git-svn-id: http://core.svn.wordpress.org/trunk@24579 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-07-06 20:22:02 +00:00
Dominik Schilling
4fc5e70228
Revisions improvements
...
* Corrected routing behavior
* Simplified CSS for tooltips
* Compare two mode for RTL
* Support for posts without titles
props adamsilverstein, ocean90. see #24425 .
git-svn-id: http://core.svn.wordpress.org/trunk@24578 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-07-06 10:48:14 +00:00
Andrew Ozz
fa2a6b856e
Heartbeat:
...
- Pass the actual error to the jQuery event 'heartbeat-connection-lost'.
- When in error state, keep trying to connect even when no response is expected until the error is cleared.
See #23216 .
git-svn-id: http://core.svn.wordpress.org/trunk@24577 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-07-05 23:33:47 +00:00
Mark Jaquith
5f19c95249
Gracefully slide down the "{Name} is editing" notice portion of the post row, so everything isn't shifting down in an instant and throwing off people's clicks.
...
fixes #24553 . props kadamwhite, johnbillion.
git-svn-id: http://core.svn.wordpress.org/trunk@24576 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-07-05 23:17:25 +00:00
Dominik Schilling
e90986ae62
Revisions improvements
...
Revert mouse dragging code which was accidentally removed in [24565].
see #24425 .
git-svn-id: http://core.svn.wordpress.org/trunk@24575 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-07-05 22:54:17 +00:00
Dominik Schilling
b95c432870
Revisions: CSS cleanup, see #24425 .
...
git-svn-id: http://core.svn.wordpress.org/trunk@24574 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-07-05 22:15:37 +00:00
Andrew Nacin
71af3a2004
Remove pattern="" in the comment form (HTML5 mode) to avoid mistaken :invalid styles.
...
This was originally included for Opera 10, but is not needed as of Opera 11, and current is Opera 15.
props jorbin, markjaquith.
fixes #24475 .
git-svn-id: http://core.svn.wordpress.org/trunk@24573 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-07-05 21:59:10 +00:00
Mark Jaquith
86c7950173
Make sure get_post_gallery()
doesn't ever return an array when asked for a string.
...
props kovshenin, wonderboymusic, ocean90. fixes #24270 .
git-svn-id: http://core.svn.wordpress.org/trunk@24572 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-07-05 20:54:46 +00:00
Mark Jaquith
5da392a62f
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: http://core.svn.wordpress.org/trunk@24571 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-07-05 20:41:49 +00:00
Dominik Schilling
8c9c035d94
Remove the_post_format_gallery(). see #24452 .
...
git-svn-id: http://core.svn.wordpress.org/trunk@24570 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-07-05 20:37:12 +00:00
Dominik Schilling
26873abe38
Remove img_html_to_post_id(). It's unused since [24555]. fixes #24610 .
...
git-svn-id: http://core.svn.wordpress.org/trunk@24569 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-07-05 18:45:41 +00:00
Mark Jaquith
cc3bd4bca1
@-silence an Imagick call that causes a warning in PHP 5.4.
...
props DH-Shredder. fixes #24539 .
git-svn-id: http://core.svn.wordpress.org/trunk@24568 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-07-05 18:43:45 +00:00
Mark Jaquith
98ff20d1d4
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: http://core.svn.wordpress.org/trunk@24567 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-07-05 18:39:27 +00:00
Mark Jaquith
7296424bd2
Push menu settings checkboxes down to a new line to avoid weird overlaps in some languages.
...
props SergeyBiryukov. see #24546 .
git-svn-id: http://core.svn.wordpress.org/trunk@24566 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-07-05 18:39:21 +00:00
Mark Jaquith
37db654d60
Revisions improvements
...
* Consolidated router code
* Corrected routing behavior
* Tooltip model
* Removed mouse dragging code
props adamsilverstein, ocean90. see #24425 .
git-svn-id: http://core.svn.wordpress.org/trunk@24565 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-07-05 17:44:47 +00:00
Mark Jaquith
a62e681239
Don't display errors for XML-RPC requests, as they malform the response.
...
fixes #23811 . props kovshenin, markoheijnen.
git-svn-id: http://core.svn.wordpress.org/trunk@24564 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-07-05 17:38:14 +00:00
Mark Jaquith
24ac7c4ac5
Prevent invalid queries in certain empty-array-passing meta_query cases.
...
fixes #22096 . props wonderboymusic.
git-svn-id: http://core.svn.wordpress.org/trunk@24563 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-07-05 16:40:46 +00:00
Mark Jaquith
759298f8b8
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: http://core.svn.wordpress.org/trunk@24562 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-07-05 15:45:43 +00:00
Bot (Assets)
b3bff816f9
Compress scripts/styles: 3.6-beta4-24560.
...
git-svn-id: http://core.svn.wordpress.org/trunk@24561 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-07-05 15:42:57 +00:00
Mark Jaquith
92af914abe
Keep the Nav Menu walker from blowing up the layout on empty-titled items.
...
fixes #23254 . props cais, SergeyBiryukov.
git-svn-id: http://core.svn.wordpress.org/trunk@24560 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-07-05 15:41:46 +00:00
Ryan Boren
d04bce99e8
Don't sync the blog public option from noindex(). This can cause race conditions.
...
fixes #23155
git-svn-id: http://core.svn.wordpress.org/trunk@24559 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-07-05 15:17:31 +00:00
Mark Jaquith
211a3eec8b
Keep the theme update thickbox from being obscured by the toolbar.
...
props ParadisePorridge, SergeyBiryukov. fixes #23984 .
git-svn-id: http://core.svn.wordpress.org/trunk@24558 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-07-05 15:15:58 +00:00
Mark Jaquith
12ec3e4d69
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: http://core.svn.wordpress.org/trunk@24557 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-07-05 15:04:24 +00:00
Mark Jaquith
952b7acaca
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: http://core.svn.wordpress.org/trunk@24556 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-07-04 08:30:36 +00:00
Mark Jaquith
d0d6e4aa51
Remove some more post format functions.
...
props wonderboymusic. fixes #24610 .
git-svn-id: http://core.svn.wordpress.org/trunk@24555 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-07-04 06:57:00 +00:00
Dominik Schilling
6ba7413fbd
Lose content removal and splitting from get_content_url(). And remove unneeded lines from [24400].
...
fixes #24484 .
git-svn-id: http://core.svn.wordpress.org/trunk@24554 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-07-03 22:36:13 +00:00
Mark Jaquith
c8853cff92
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: http://core.svn.wordpress.org/trunk@24553 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-07-03 21:29:53 +00:00
Mark Jaquith
bd94dc655c
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: http://core.svn.wordpress.org/trunk@24552 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-07-03 21:24:02 +00:00
Mark Jaquith
5b8aad1039
Rejigger some whitespace in anticipation of a fix for #24364 .
...
see #24364
git-svn-id: http://core.svn.wordpress.org/trunk@24551 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-07-03 21:23:55 +00:00
Andrew Nacin
66054d7ffe
Allow gallery to be inserted with no links on the images. props chipbennett, helgatheviking, aaroncampbell, wonderboymusic. fixes #18178 .
...
git-svn-id: http://core.svn.wordpress.org/trunk@24550 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-07-03 20:43:19 +00:00
Dominik Schilling
f6ca108240
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: http://core.svn.wordpress.org/trunk@24549 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-07-03 20:27:19 +00:00
Andrew Nacin
98832852dc
Remove attachment_url_to_postid(). props kovshenin, wonderboymusic. see #24458 .
...
git-svn-id: http://core.svn.wordpress.org/trunk@24548 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-07-03 20:23:48 +00:00
Andrew Nacin
6500a24719
Call shortcode functions directly. props kovshenin, fixes #24505 .
...
git-svn-id: http://core.svn.wordpress.org/trunk@24547 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-07-03 20:19:00 +00:00
Andrew Nacin
585eda125a
jQuery 1.10.2. props ocean90. fixes #24426 .
...
git-svn-id: http://core.svn.wordpress.org/trunk@24546 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-07-03 20:11:44 +00:00
Andrew Ozz
2c93798e2b
TinyMCE: normalize font size for H1 - H6 submenu, fixes #24586 .
...
git-svn-id: http://core.svn.wordpress.org/trunk@24545 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-07-03 02:03:19 +00:00
Andrew Ozz
5d1439e247
Heartbeat: fix comment spelling
...
git-svn-id: http://core.svn.wordpress.org/trunk@24544 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-07-03 01:59:46 +00:00
Andrew Ozz
504c10dbba
Post locks: load the post locked dialog html in post-new.php too, see #23697 .
...
git-svn-id: http://core.svn.wordpress.org/trunk@24543 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-07-03 01:50:39 +00:00
Lance Willett
6be5522081
Twenty Thirteen: minor CSS cleanup for navigation, props gorgoglionemeister. Closes #24651 .
...
git-svn-id: http://core.svn.wordpress.org/trunk@24542 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-07-02 23:02:02 +00:00
Lance Willett
c9f348113b
Twenty Thirteen: enqueue Genericons CSS file for use in visual editor styles. Props DrewAPicture, closes #24595 .
...
git-svn-id: http://core.svn.wordpress.org/trunk@24541 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-07-02 22:58:42 +00:00
Lance Willett
c63d6d84f0
Twenty Thirteen: update IE styles to match changes in r24524. See #23850 .
...
git-svn-id: http://core.svn.wordpress.org/trunk@24540 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-07-01 18:30:57 +00:00
Dominik Schilling
f27e762085
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: http://core.svn.wordpress.org/trunk@24539 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-07-01 18:26:16 +00:00
Bot (Translations)
faf6603749
POT, generated from r24537
...
git-svn-id: http://core.svn.wordpress.org/trunk@24538 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-07-01 18:14:29 +00:00
Lance Willett
e958c7ca49
Twenty Thirteen: cleanup for functions.php file, props obenland. See #24653 .
...
git-svn-id: http://core.svn.wordpress.org/trunk@24537 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-07-01 17:27:41 +00:00
Lance Willett
44d65f04cc
Twenty Thirteen: update RTL styles to match changes in r24524, props obenland. See #23850 .
...
git-svn-id: http://core.svn.wordpress.org/trunk@24536 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-07-01 17:26:15 +00:00
Lance Willett
5be4fb5284
Twenty Thirteen: ensure b
element in comment markup isn't bold. Props ocean90, see #24522 .
...
git-svn-id: http://core.svn.wordpress.org/trunk@24535 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-07-01 17:25:05 +00:00