Andrew Nacin
1fd6c87716
Don't show "Preview" for locked, non-public post types. props aaroncampbell. fixed #24139 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24799 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-27 06:57:42 +00:00
Mark Jaquith
30a17c9ab9
Reinstate 'label' property of nav menu items. Fixes a regression from [22234].
...
Fixes #24840 . Props johnbillion.
git-svn-id: https://develop.svn.wordpress.org/trunk@24798 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-27 06:50:59 +00:00
Lance Willett
54d6613428
Twenty Thirteen: clear comment form paragraph elements to ensure layout doesn't break with long labels (like with Spanish). Props Frank Klein, closes #24843 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24797 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-26 19:28:46 +00:00
potbot
f1f99b721d
POT, generated from r24795
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24796 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-24 22:14:05 +00:00
Lance Willett
6eb7f2f9ab
Twenty Thirteen: small tweaks to stylesheet description for clarity.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24795 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-24 21:41:39 +00:00
Mark Jaquith
a91b02322e
3.6-RC2
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24794 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-24 07:15:05 +00:00
bumpbot
48889c8a8a
Compress scripts/styles: 3.6-RC1-24793.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24793 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-24 06:57:40 +00:00
Mark Jaquith
77873dedcc
Oops. Forgot that we support a PHP version from 2007. Either that or I've been doing a lot of JS.
...
Props kovshenin. See [24789].
git-svn-id: https://develop.svn.wordpress.org/trunk@24792 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-24 06:36:29 +00:00
Andrew Nacin
8a54be6786
jQuery.noConflict(). see [24781]. see #24821 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24791 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-24 06:33:54 +00:00
Andrew Nacin
5ca8aa7447
Revisions changes.
...
* Eliminates the bloated Revisions meta box in favor of 'Revisions: #' in the publish box.
* Adds ability to compare autosave to current post, when revisions are disabled.
* Makes autosaves stand out visually, including "Restore This Autosave".
Also:
* Adds missing capability check for restoring a revision.
* When no revision matches the post's current modified time, avoid marking an autosave as 'current'.
* Fixes wp_get_post_autosave() to return an autosave even when revisions are disabled.
* Add 'check_enabled' arg to wp_get_post_revisions(); false avoids the wp_revisions_enabled() check.
* Adds a responsive slider that is narrower for fewer versions. props markjaquith.
see #24804 .
git-svn-id: https://develop.svn.wordpress.org/trunk@24790 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-24 06:08:14 +00:00
Mark Jaquith
2b63b67768
Fix some sizing issues with video embeds, and improve video/audio embed shortcode flexibility.
...
* `loop`, `autoplay`, and `preload` are now available via the shortcode. Use them non-annoyingly, please!
* Attributes that pass through the filters are now proper key/value pairs, not an array of `key="value"` strings.
* `preload` defaults to `metadata` for videos. This fixes the vertical video preview and Safari ogv/webm playback issues.
* Wrap a div around video embeds to combat a ME.js issue with responsive width=100% themes. Props kovshenin.
Fixes #24134 , #24798 .
git-svn-id: https://develop.svn.wordpress.org/trunk@24789 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-24 05:52:49 +00:00
Andrew Nacin
abb0f1d882
Remove curly quotes from auto content generation for audio tracks on upload. Texturize should be doing this on display.
...
props tollmanz.
fixes 24810.
git-svn-id: https://develop.svn.wordpress.org/trunk@24788 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-24 05:47:00 +00:00
Andrew Nacin
d96ec623a0
Autosave: Don't save an autosave unnecessarily when the post editor loads and TinyMCE is the default editor.
...
Delete such useless autosaves when we detect them in edit-form-advanced.php.
see #7392 .
git-svn-id: https://develop.svn.wordpress.org/trunk@24787 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-24 05:37:53 +00:00
Andrew Nacin
22b54914ff
Update MediaElement.js to a new 2.12.1 (untagged) build. see #24183 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24786 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-24 05:35:17 +00:00
Lance Willett
a57e1fbddd
Twenty Thirteen: better display for lists next to left-aligned captions. Props rdall for initial patches, closes #24797 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24785 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-23 21:45:01 +00:00
Andrew Nacin
610c593fda
Media: Fix embedding of audio/video players when the file was just uploaded.
...
While uploading, we know an attachment's filename but not its mime type. Check specifically for extensions. Check for type as a convenience when it is available.
fixes #24449 .
git-svn-id: https://develop.svn.wordpress.org/trunk@24784 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-23 17:29:55 +00:00
Mark Jaquith
d8310e4c7e
Allow `the_title_attribute()` to receive a `post` argument, and use this in `get_adjacent_post_rel_link()` to make sure tags are stripped from the title output there.
...
Fixes #24232 .
git-svn-id: https://develop.svn.wordpress.org/trunk@24783 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-23 16:05:40 +00:00
Andrew Nacin
76ecd259fd
Add iWork formats to valid upload filetypes. key, numbers, pages. props barry, fixes #24621 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24782 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-23 15:29:26 +00:00
Andrew Nacin
499cfdb81d
Use production version of jQuery Migrate when not SCRIPT_DEBUG, which silences issues.
...
Minify jQuery as well. These were both unminified for ease of debugging.
fixes #24821 .
git-svn-id: https://develop.svn.wordpress.org/trunk@24781 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-23 15:28:25 +00:00
Andrew Nacin
0f052ef6af
Do set_url_scheme() for Preview action link in the posts list table. props reidburke, fixes #23886 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24780 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-23 15:04:55 +00:00
Andrew Nacin
1dad588c39
Use commas, not semicolons, to separate meta viewport values. props bobbravo2. see #24777 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24779 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-23 07:27:56 +00:00
bumpbot
3bf080b2ee
Compress scripts/styles: 3.6-RC1-24778.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24778 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-23 06:25:03 +00:00
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