Andrew Ozz
19fb0f1153
Add "experimental" to heartbeat phpdoc, fixes #24855 for trunk.
...
git-svn-id: http://core.svn.wordpress.org/trunk@24818 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-07-28 20:54:48 +00:00
Andrew Nacin
02b214cd85
Allow has_post_format() to accept an array of formats to check. props ericmann. fixes #17320 .
...
git-svn-id: http://core.svn.wordpress.org/trunk@24817 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-07-28 20:48:09 +00:00
Jon Cave
df3a2bb591
Fix notice and show generic last update message if _edit_last references a nonexistent user.
...
Fixes #15498 .
git-svn-id: http://core.svn.wordpress.org/trunk@24816 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-07-28 20:35:51 +00:00
Mark Jaquith
174bbc20d8
Revisions: Combine our tooltip and from/to templates into one generic template
...
We had three copies of essentially the same template. Now just one, with minor logic inside.
Also fixes a bug where tooltip.revision was being initially set to a diff instead of a revision.
For trunk. See #24804 .
git-svn-id: http://core.svn.wordpress.org/trunk@24814 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-07-28 20:15:28 +00:00
Jon Cave
3999883feb
Remove unnecessary secret_salt_warning().
...
If salts/keys are not defined in wp-config.php then they will be generated
automatically and stored in the database. [19771] also deals with values
that are duplicated or set to default.
Fixes #14803 .
git-svn-id: http://core.svn.wordpress.org/trunk@24813 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-07-28 19:45:57 +00:00
Jon Cave
b0f446b5ba
Introduce a new endpoint mask for all archives, fixes #16303 .
...
git-svn-id: http://core.svn.wordpress.org/trunk@24812 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-07-28 19:18:19 +00:00
Michael Adams
ec6f40342a
Allow HTTPS URL enclosures.
...
Props markjaquith with a patch that predates all WordCamps.
Fixes #2875 .
git-svn-id: http://core.svn.wordpress.org/trunk@24810 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-07-28 19:07:43 +00:00
Jon Cave
dffea4e020
Drop leading / by retrieving the inner subpattern when matching attachment endpoints.
...
Fixes #22619
git-svn-id: http://core.svn.wordpress.org/trunk@24809 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-07-28 19:02:08 +00:00
Mark Jaquith
70491482c6
Fix the positioning of the post lock icon/layout in RTL mode.
...
Fixes #24850 for trunk. Props ocean90, rasheed.
git-svn-id: http://core.svn.wordpress.org/trunk@24808 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-07-28 19:01:37 +00:00
Michael Adams
f993cfd8e3
Fix inline docs for posts functions that no longer use $wpdb
.
...
Props jdgrimes, JustinSainton.
git-svn-id: http://core.svn.wordpress.org/trunk@24807 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-07-28 18:52:56 +00:00
Andrew Nacin
093982421b
Trunk is now 3.7-alpha.
...
git-svn-id: http://core.svn.wordpress.org/trunk@24806 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-07-28 18:48:36 +00:00
Mark Jaquith
1e189c9689
Add some missing PHPDoc @since
lines.
...
Fixes #24742 . Props DrewAPicture.
git-svn-id: http://core.svn.wordpress.org/trunk@24804 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-07-27 23:11:03 +00:00
Bot (Assets)
efa8b042f9
Compress scripts/styles: 3.6-RC2-24803.
...
git-svn-id: http://core.svn.wordpress.org/trunk@24803 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-07-27 12:16:23 +00:00
Andrew Nacin
16e5234d51
About page for 3.6.
...
* Colorful New Theme
* Write with Confidence
* Support for Audio and Video
* Under the Hood
Screenshots to come. Under the Hood to be finalized and thus not yet offered for translation.
props aaroncampbell, coffee2code, duck_, lessbloat, markjaquith, nacin, samuelsidler, siobhan.
see #24832 .
git-svn-id: http://core.svn.wordpress.org/trunk@24802 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-07-27 12:10:58 +00:00
Bot (Assets)
4cd737c99d
Compress scripts/styles: 3.6-RC2-24801.
...
git-svn-id: http://core.svn.wordpress.org/trunk@24801 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-07-27 08:58:53 +00:00
Mark Jaquith
ea1092eb7c
Parse attrs
before comparing to attachment.attributes
. Small efficiency gain.
...
Props garyc40. Fixes #24753 .
git-svn-id: http://core.svn.wordpress.org/trunk@24800 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-07-27 07:09:05 +00:00
Andrew Nacin
d07cc7be81
Don't show "Preview" for locked, non-public post types. props aaroncampbell. fixed #24139 .
...
git-svn-id: http://core.svn.wordpress.org/trunk@24799 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-07-27 06:57:42 +00:00
Mark Jaquith
84c50056b7
Reinstate 'label' property of nav menu items. Fixes a regression from [22234].
...
Fixes #24840 . Props johnbillion.
git-svn-id: http://core.svn.wordpress.org/trunk@24798 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-07-27 06:50:59 +00:00
Lance Willett
655a36fa21
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: http://core.svn.wordpress.org/trunk@24797 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-07-26 19:28:46 +00:00
Bot (Translations)
158e2e34c3
POT, generated from r24795
...
git-svn-id: http://core.svn.wordpress.org/trunk@24796 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-07-24 22:14:05 +00:00
Lance Willett
f816cdf895
Twenty Thirteen: small tweaks to stylesheet description for clarity.
...
git-svn-id: http://core.svn.wordpress.org/trunk@24795 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-07-24 21:41:39 +00:00
Mark Jaquith
df8bd7ca9b
3.6-RC2
...
git-svn-id: http://core.svn.wordpress.org/trunk@24794 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-07-24 07:15:05 +00:00
Bot (Assets)
91173f1f9c
Compress scripts/styles: 3.6-RC1-24793.
...
git-svn-id: http://core.svn.wordpress.org/trunk@24793 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-07-24 06:57:40 +00:00
Mark Jaquith
48eefd5240
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: http://core.svn.wordpress.org/trunk@24792 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-07-24 06:36:29 +00:00
Andrew Nacin
0c87edd981
jQuery.noConflict(). see [24781]. see #24821 .
...
git-svn-id: http://core.svn.wordpress.org/trunk@24791 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-07-24 06:33:54 +00:00
Andrew Nacin
c8fe64a602
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: http://core.svn.wordpress.org/trunk@24790 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-07-24 06:08:14 +00:00
Mark Jaquith
290d61138c
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: http://core.svn.wordpress.org/trunk@24789 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-07-24 05:52:49 +00:00
Andrew Nacin
bc0a60920d
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: http://core.svn.wordpress.org/trunk@24788 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-07-24 05:47:00 +00:00
Andrew Nacin
85cf232e23
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: http://core.svn.wordpress.org/trunk@24787 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-07-24 05:37:53 +00:00
Andrew Nacin
af708b5a71
Update MediaElement.js to a new 2.12.1 (untagged) build. see #24183 .
...
git-svn-id: http://core.svn.wordpress.org/trunk@24786 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-07-24 05:35:17 +00:00
Lance Willett
5f962bfbab
Twenty Thirteen: better display for lists next to left-aligned captions. Props rdall for initial patches, closes #24797 .
...
git-svn-id: http://core.svn.wordpress.org/trunk@24785 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-07-23 21:45:01 +00:00
Andrew Nacin
622709076b
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: http://core.svn.wordpress.org/trunk@24784 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-07-23 17:29:55 +00:00
Mark Jaquith
60c9de28b4
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: http://core.svn.wordpress.org/trunk@24783 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-07-23 16:05:40 +00:00
Andrew Nacin
a70604d441
Add iWork formats to valid upload filetypes. key, numbers, pages. props barry, fixes #24621 .
...
git-svn-id: http://core.svn.wordpress.org/trunk@24782 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-07-23 15:29:26 +00:00
Andrew Nacin
42572a9543
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: http://core.svn.wordpress.org/trunk@24781 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-07-23 15:28:25 +00:00
Andrew Nacin
1b9eb340af
Do set_url_scheme() for Preview action link in the posts list table. props reidburke, fixes #23886 .
...
git-svn-id: http://core.svn.wordpress.org/trunk@24780 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-07-23 15:04:55 +00:00
Andrew Nacin
d2224d687c
Use commas, not semicolons, to separate meta viewport values. props bobbravo2. see #24777 .
...
git-svn-id: http://core.svn.wordpress.org/trunk@24779 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-07-23 07:27:56 +00:00
Bot (Assets)
3e4a6f1364
Compress scripts/styles: 3.6-RC1-24778.
...
git-svn-id: http://core.svn.wordpress.org/trunk@24778 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-07-23 06:25:03 +00:00
Andrew Nacin
2c67dea9bc
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: http://core.svn.wordpress.org/trunk@24777 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-07-23 05:39:08 +00:00
Bot (Assets)
1d46c2fd3b
Compress scripts/styles: 3.6-RC1-24776.
...
git-svn-id: http://core.svn.wordpress.org/trunk@24776 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-07-23 04:58:52 +00:00
Mark Jaquith
ecf9a2b932
Revisions: a tiny one-pixel and z-index tweak for Firefox.
...
Props adamsilverstein. See #24736 .
git-svn-id: http://core.svn.wordpress.org/trunk@24775 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-07-23 03:41:54 +00:00
Andrew Nacin
bbc4aa5317
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: http://core.svn.wordpress.org/trunk@24774 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-07-23 03:05:21 +00:00
Bot (Assets)
80158fee6c
Compress scripts/styles: 3.6-RC1-24773.
...
git-svn-id: http://core.svn.wordpress.org/trunk@24773 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-07-22 22:58:51 +00:00
Mark Jaquith
435aa00d2d
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: http://core.svn.wordpress.org/trunk@24772 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-07-22 22:37:02 +00:00
Mark Jaquith
bbf338666e
Fix a media regression in [24110] that could cause duplicate models.
...
Props garyc40. Fixes #24753 . See #24094 , #23830 .
git-svn-id: http://core.svn.wordpress.org/trunk@24771 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-07-22 22:24:33 +00:00
Mark Jaquith
7aee678e69
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: http://core.svn.wordpress.org/trunk@24770 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-07-22 22:04:38 +00:00
Mark Jaquith
2077ce4a3d
Revisions: RTL for [24761].
...
Props ocean90. See #24804 .
git-svn-id: http://core.svn.wordpress.org/trunk@24769 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-07-22 21:09:55 +00:00
Mark Jaquith
991bab45a7
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: http://core.svn.wordpress.org/trunk@24768 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-07-22 21:09:49 +00:00
Andrew Nacin
5b1817fa4b
Rename limit-response-size to limit_response_size. see #23472 .
...
git-svn-id: http://core.svn.wordpress.org/trunk@24767 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-07-22 18:55:05 +00:00
Andrew Nacin
25e9adef27
Remove debug.
...
git-svn-id: http://core.svn.wordpress.org/trunk@24766 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-07-22 17:13:41 +00:00