Andrew Nacin
65cc9c5d2a
Media: Add awareness to Attachment Display Settings that audio and video can be embedded.
...
Also:
* Add file length metadata to Attachment Details.
* Round the kb/s bitrate on post.php.
fixes #24449 .
git-svn-id: https://develop.svn.wordpress.org/trunk@24777 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-23 05:39:08 +00:00
bumpbot
6cd90cfb14
Compress scripts/styles: 3.6-RC1-24776.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24776 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-23 04:58:52 +00:00
Mark Jaquith
251f729cb1
Revisions: a tiny one-pixel and z-index tweak for Firefox.
...
Props adamsilverstein. See #24736 .
git-svn-id: https://develop.svn.wordpress.org/trunk@24775 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-23 03:41:54 +00:00
Andrew Nacin
3664274461
Autosave:
...
* Remove editor.js as a dependency for autosave.js, as it was in 3.5.
* Remove heartbeat.js as an implicit dependency.
* Abstract out the serialization of title/content/excerpt for comparisons.
props azaozz.
fixes #24756 .
git-svn-id: https://develop.svn.wordpress.org/trunk@24774 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-23 03:05:21 +00:00
bumpbot
e1ce64b505
Compress scripts/styles: 3.6-RC1-24773.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24773 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-22 22:58:51 +00:00
Mark Jaquith
fb95ae95f0
Revisions: Don't pin controls to the top in IE 7.
...
Seriously IE 7 users, this is more consideration than your browser deserves. You can thank us by upgrading.
See #24736 . Props adamsilverstein.
git-svn-id: https://develop.svn.wordpress.org/trunk@24772 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-22 22:37:02 +00:00
Mark Jaquith
43902fb740
Fix a media regression in [24110] that could cause duplicate models.
...
Props garyc40. Fixes #24753 . See #24094 , #23830 .
git-svn-id: https://develop.svn.wordpress.org/trunk@24771 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-22 22:24:33 +00:00
Mark Jaquith
a0df1d139a
Revisions: Bump the tooltips up one pixel to prevent a Firefox hover-loop bug on the upper-border of the scrubber.
...
See #24736 .
git-svn-id: https://develop.svn.wordpress.org/trunk@24770 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-22 22:04:38 +00:00
Mark Jaquith
c8480cf1ae
Revisions: RTL for [24761].
...
Props ocean90. See #24804 .
git-svn-id: https://develop.svn.wordpress.org/trunk@24769 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-22 21:09:55 +00:00
Mark Jaquith
dcc7719f54
Revisions: tweak how tickmarks are rendered, to play nice with browsers who always round subpixel values down (Safari, Opera).
...
Also, some IE tweaks.
Fixes #24736 . Props adamsilverstein, markjaquith, ocean90.
git-svn-id: https://develop.svn.wordpress.org/trunk@24768 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-22 21:09:49 +00:00
Andrew Nacin
d79eda6612
Rename limit-response-size to limit_response_size. see #23472 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24767 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-22 18:55:05 +00:00
Andrew Nacin
51dc69ccc7
Remove debug.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24766 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-22 17:13:41 +00:00
Andrew Nacin
b7dba77c45
Confirm we are dealing with an Imagick object. see #24539 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24765 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-22 17:01:00 +00:00
bumpbot
7164de7311
Compress scripts/styles: 3.6-RC1-24764.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24764 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-22 06:58:52 +00:00
Andrew Nacin
8f3464fe4f
Fix strings in revisions UI. see #24804 , [24761].
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24763 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-22 05:32:14 +00:00
Andrew Nacin
841d93ed30
Move _local_storage_notice() to admin/includes/template.php. props azaozz, see #24756 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24762 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-22 05:09:49 +00:00
Mark Jaquith
56f1a3fa32
Revisions: Pinned controls, layout tweaks, copy tweaks, misc.
...
* When you scroll down the diff view, the controls will pin to the top.
* The revisions meta view was cleaned up. Copy changes.
* Loading indicator in the center of the screen (so it follows as you scroll).
* Tooltips "flip" when you cross the center line, so that they don't hit the container edge and wrap for later revisions.
* The "Restore" button's inactive state is handled on render, instead of after.
* Make sure we always have a current revision, even if the timestamp doesn't work out on the most recent one.
See #24804 . Props markjaquith, nacin, ocean90, aaroncampbell.
git-svn-id: https://develop.svn.wordpress.org/trunk@24761 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-22 05:05:45 +00:00
Andrew Nacin
24243ae134
Make update_option() consistent with add_option() for how serializable data is stored in the object cache.
...
props rmccue.
fixes #23381 .
git-svn-id: https://develop.svn.wordpress.org/trunk@24760 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-22 04:24:13 +00:00
Andrew Nacin
80260b9ef9
Add a default post_title value to wp_insert_attachment() to avoid a notice when there is no ID3 title.
...
props wonderboymusic.
see #24805 .
git-svn-id: https://develop.svn.wordpress.org/trunk@24759 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-20 20:20:47 +00:00
Andrew Nacin
d0c4c4c334
Check that we have a database connection in wpdb::_real_escape(). see #24773 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24758 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-20 20:16:21 +00:00
bumpbot
40153f6e16
Compress scripts/styles: 3.6-RC1-24757.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24757 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-20 06:58:59 +00:00
Mark Jaquith
7852bf8701
Revisions: hide tick marks and tooltips for IE 7.
...
Not worth the effort it would take to get them to work.
Props adamsilverstein. Fixes #24736 .
git-svn-id: https://develop.svn.wordpress.org/trunk@24756 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-20 06:15:28 +00:00
Andrew Nacin
9b72b3f3c2
Update MediaElement.js to include i18n fixes that were accepted upstream. Add strings to script-loader.
...
props SergeyBiryukov.
see #24183 .
git-svn-id: https://develop.svn.wordpress.org/trunk@24755 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-19 19:21:08 +00:00
bumpbot
ca1ac92ba4
Compress scripts/styles: 3.6-RC1-24754.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24754 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-19 16:59:02 +00:00
Mark Jaquith
e43a442bad
WORLD WAR Z-INDEX: Restoration of sanity to revisions/slider/menu z-index values.
...
The year is 2013. It is a period of DOM unrest. Sliders have hoarded
all available z-index, leading to an arms race. What started as a local
squabble soon escalated into a global conflict. The flyout menus were
the first of the collateral damage, trodden underfoot by mighty warring
enemies they couldn't effectively challenge. It was said they were
betrayed by one of their own: the z-index-power-hungry non-active
currently-hovered submenu, whose z-index-power level was over 9000!
But there is hope. A small band of heroes has emerged. Using their
powers of "what were you thinking?" and "chill, no one needs a z-index
THAT high", they have begun to restore order and harmony to the DOM.
See #24736 . Props markjaquith, aaroncampbell, helen.
git-svn-id: https://develop.svn.wordpress.org/trunk@24753 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-19 15:47:04 +00:00
bumpbot
cfbcacfb5f
Compress scripts/styles: 3.6-RC1-24752.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24752 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-19 14:58:50 +00:00
Mark Jaquith
a8611d2a13
Revisions: Re-work how tick marks and tooltips are aligned. IE fixes.
...
* Pixel-based alignment of tooltips.
* Bottom-based alignment, so arrow lines up using CSS only.
* Better RTL styles (mostly mirror-imaged).
* Better RTL calculations in `revisions.js` (less logic).
* Better IE support.
See #24736 . Props markjaquith, adamsilverstein, ocean90.
git-svn-id: https://develop.svn.wordpress.org/trunk@24751 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-19 13:49:15 +00:00
bumpbot
e216254c06
Compress scripts/styles: 3.6-RC1-24750.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24750 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-19 02:58:49 +00:00
Andrew Nacin
4d7ef46b70
Simplify heartbeat API.
...
* Move to a method to check connection errors, a better framework for future changes.
* Remove start(), stop(), autostart.
props carldanley.
fixes #23216 .
git-svn-id: https://develop.svn.wordpress.org/trunk@24749 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-19 01:39:48 +00:00
bumpbot
fd4edd145f
Compress scripts/styles: 3.6-RC1-24748.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24748 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-19 00:58:51 +00:00
Andrew Nacin
d1a1f8daa1
Post type support for local autosaves. props azaozz. see #24756 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24747 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-19 00:22:22 +00:00
bumpbot
76dae29fc7
Compress scripts/styles: 3.6-RC1-24746.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24746 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-18 22:58:50 +00:00
Andrew Nacin
56c59d7078
Remove the Spellchecker button from TinyMCE.
...
It appears Google has finally shut off the old private API it used. Spellcheckers built-in to browsers (and operating systems) seem to be the best alternative.
A WordPress plugin could still re-enable this TinyMCE plugin if they wanted.
props ryanduff for initial patch.
fixes #24789 .
git-svn-id: https://develop.svn.wordpress.org/trunk@24745 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-18 22:44:40 +00:00
Andrew Nacin
5d05c090ad
Remove old, less relevant and in some cases obsolete readme sections. see #23025 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24744 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-18 21:35:45 +00:00
Andrew Nacin
3176613bc0
Better 'Connection lost' notice that includes an indication of activity. fixes #24695 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24743 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-18 21:33:59 +00:00
bumpbot
23c24db59c
Compress scripts/styles: 3.6-RC1-24742.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24742 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-18 20:58:53 +00:00
potbot
7f0fd2113e
POT, generated from r24740
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24741 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-18 20:13:51 +00:00
Ryan Boren
57778b81b1
Introduce wp_style_add_data() as a wrapper for $wp_styles->add_data().
...
Props obenland, nacin
fixes #18753
git-svn-id: https://develop.svn.wordpress.org/trunk@24740 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-18 19:46:38 +00:00
potbot
574e40f63f
POT, generated from r24738
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24739 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-18 19:13:54 +00:00
Ryan Boren
f32bc0c541
Fire wp_auth_check_load() from admin_enqueue_scripts instead of admin_init so that it can access the current screen object.
...
Black list the update and upgrade screens.
Allow plugins to white/black list screens via the wp_auth_check_load filter.
Props nacin
see #23295
git-svn-id: https://develop.svn.wordpress.org/trunk@24738 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-18 19:06:35 +00:00
bumpbot
8d6bc51ede
Compress scripts/styles: 3.6-RC1-24737.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24737 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-18 18:58:49 +00:00
Andrew Nacin
5f2000fe2a
Twenty Thirteen: Go back to dates for style versions, partially changed in [24735]. see #24787 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24736 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-18 18:16:20 +00:00
Ryan Boren
5211399922
Allow absolute URLs in editor styles.
...
Props nacin, obenland
fixes #24787
git-svn-id: https://develop.svn.wordpress.org/trunk@24735 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-18 18:11:43 +00:00
Mark Jaquith
8415e7f1fe
Fixes and tweaks for the metabox accordion.
...
* Fixed hover issues in Customizer.
* Toned down the default active/hover style (as it is normally not the top level menu, and should not be so prominent).
* Allow the active section to be closed.
* Other misc fixes.
Props ocean90, helen. Fixes #23449 .
git-svn-id: https://develop.svn.wordpress.org/trunk@24734 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-18 17:42:53 +00:00
bumpbot
fb6badbc6f
Compress scripts/styles: 3.6-RC1-24733.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24733 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-18 16:58:54 +00:00
Mark Jaquith
3dd36021d8
Revisions: Better error handling.
...
* Shows an error message if the current diff can't be loaded.
* For bulk pre-loading, catches errors, and cuts subsequent requests in half, until eventually giving up.
* Some CSS fixes related to this, and the loading spinner.
* `wp.revisions.loadAll()` now returns a promise representing whether or not all revisions could be loaded.
Fixes #24758 .
git-svn-id: https://develop.svn.wordpress.org/trunk@24732 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-18 16:35:19 +00:00
Andrew Nacin
93943d6cb9
XML-RPC: Recursively escape arrays as before, to avoid stomping nested objects. fixes #21767 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24731 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-18 14:31:25 +00:00
Andrew Nacin
387d9cb94c
If two revisions were created at the same time, mark the one with the greater ID as current. Also avoid flagging autosaves as current. fixes #24782 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24730 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-18 14:10:33 +00:00
Mark Jaquith
ef63a55d8f
Revisions: use escaped templating for some of the tags.
...
Fixes #24775 .
git-svn-id: https://develop.svn.wordpress.org/trunk@24729 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-18 14:01:58 +00:00
Andrew Nacin
a1a78a7a6f
Update Akismet external to trunk (soon to be 2.5.9) to slurp in some string changes.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24728 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-18 13:24:19 +00:00