Commit Graph

11704 Commits

Author SHA1 Message Date
Mark Jaquith
e29dc811f7 Use attachment.url only if it is available, else fall back to props.url.
see #24046. see [24009].

git-svn-id: https://develop.svn.wordpress.org/trunk@24017 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-17 17:57:51 +00:00
Mark Jaquith
ff064c5422 Use get_post_format() instead of assuming we already have it.
* Fixes an issue where image posts without a title could not be deleted

fixes #23887. see #24046. props WraithKenny, SergeyBiryukov.

git-svn-id: https://develop.svn.wordpress.org/trunk@24015 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-17 17:49:44 +00:00
bumpbot
b6a6786b60 Compress scripts/styles: 3.6-beta1-24010.
git-svn-id: https://develop.svn.wordpress.org/trunk@24010 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-17 13:51:57 +00:00
Ryan Boren
da23d9b7b8 Revert attachment.url back to props.url. Fixes error that prevents inserting media into the editor.
see #24046


git-svn-id: https://develop.svn.wordpress.org/trunk@24009 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-17 13:50:12 +00:00
bumpbot
46eb88eec5 Compress scripts/styles: 3.6-beta1-24008.
git-svn-id: https://develop.svn.wordpress.org/trunk@24008 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-17 06:58:39 +00:00
Mark Jaquith
793f27f07e New Post Format UI chooser treatment in response to testing.
* Bigger icons
* Format description under each
* UI hides after choice
* Saving without choosing implies "Standard"
* Helpful text, with "Change format" link

see #24046. props lessbloat, wonderboymusic.

git-svn-id: https://develop.svn.wordpress.org/trunk@24006 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-17 04:08:46 +00:00
Mark Jaquith
e1c6e9f2da Make get_the_post_format_image() work when intermediate_image_sizes is empty.
props lancewillett. fixes #24060.

git-svn-id: https://develop.svn.wordpress.org/trunk@24003 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-16 21:31:37 +00:00
Sergey Biryukov
a2b9d958df * Add start/end markers to the regex patterns in audio and video embed handlers.
* Move the handler functions registration to wp_maybe_load_embeds().
* Rename both functions to match the wp_embed_handler_* pattern.
* Move the functions closer to wp_embed_handler_googlevideo().

props kovshenin. fixes #24092.

git-svn-id: https://develop.svn.wordpress.org/trunk@24000 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-16 11:06:31 +00:00
Sergey Biryukov
891333e1cb Fix several copy/paste errors in register_deactivation_hook() description. props Caspie. fixes #24097.
git-svn-id: https://develop.svn.wordpress.org/trunk@23999 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-16 09:53:02 +00:00
Sergey Biryukov
18d6bf6198 Add missing semicolon. props kovshenin. see #23831.
git-svn-id: https://develop.svn.wordpress.org/trunk@23998 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-15 23:03:13 +00:00
bumpbot
d0e94ab6ff Compress scripts/styles: 3.6-beta1-23997.
git-svn-id: https://develop.svn.wordpress.org/trunk@23997 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-15 20:58:38 +00:00
bumpbot
c8b9284500 Compress scripts/styles: 3.6-beta1-23995.
git-svn-id: https://develop.svn.wordpress.org/trunk@23996 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-15 18:58:41 +00:00
Mark Jaquith
95c3de8a9f Link post format images if a URL is provided. Make the URL available via get_the_post_format_url().
props wonderboymusic, obenland. fixes #23964.

git-svn-id: https://develop.svn.wordpress.org/trunk@23992 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-14 16:59:52 +00:00
bumpbot
5863223d73 Compress scripts/styles: 3.6-beta1-23990.
git-svn-id: https://develop.svn.wordpress.org/trunk@23990 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-14 16:58:35 +00:00
Mark Jaquith
d87dd076d4 Constrain large videos from rendering bigger than $content_width on both frontend and backend.
props wonderboymusic. fixes #23955.

git-svn-id: https://develop.svn.wordpress.org/trunk@23989 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-14 16:43:26 +00:00
Dominik Schilling (ocean90)
c907f0f4a7 Don't print links for unsupported file types in wp_video_shortcode()/wp_audio_shortcode(). Return them instead.
props SergeyBiryukov. fixes #24075.

git-svn-id: https://develop.svn.wordpress.org/trunk@23988 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-14 10:33:44 +00:00
bumpbot
e0bc9ec705 Compress scripts/styles: 3.6-beta1-23987.
git-svn-id: https://develop.svn.wordpress.org/trunk@23987 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-14 02:58:39 +00:00
Mark Jaquith
0ac7d034a6 Allow the content of no-title audio, video, quote, and image posts to be blanked.
props wonderboymusic. fixes #23623.

git-svn-id: https://develop.svn.wordpress.org/trunk@23986 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-14 01:43:01 +00:00
Mark Jaquith
74319333ed Only remove ONE piece of media from the content in setup_postdata().
props wonderboymusic. fixes #24052.

git-svn-id: https://develop.svn.wordpress.org/trunk@23984 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-14 01:11:44 +00:00
bumpbot
807bdbd44b Compress scripts/styles: 3.6-beta1-23983.
git-svn-id: https://develop.svn.wordpress.org/trunk@23983 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-13 00:58:37 +00:00
bumpbot
24fd168099 Compress scripts/styles: 3.6-beta1-23980.
git-svn-id: https://develop.svn.wordpress.org/trunk@23980 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-12 22:58:39 +00:00
Mark Jaquith
ad170c3ccd Fix some Skype chat parsing issues.
props wonderboymusic. see #23625.

git-svn-id: https://develop.svn.wordpress.org/trunk@23978 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-12 22:22:41 +00:00
Mark Jaquith
553fc5b9af Update MediaElement.js to 2.11.3
props wonderboymusic, John Dyer. see #23831.

git-svn-id: https://develop.svn.wordpress.org/trunk@23977 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-12 21:48:16 +00:00
Andrew Ozz
239ccffe14 Revisions: compare revisions by date in wp_ajax_revisions_data(), deprecate the $parent arg in wp_list_post_revisions() as now revisions always include a copy of the current post, props adamsilverstein, see #23901
git-svn-id: https://develop.svn.wordpress.org/trunk@23975 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-12 19:29:21 +00:00
Ryan Boren
c3e471a535 Use prepare() for the duplicate comment query in wp_allow_comment().
see #21767


git-svn-id: https://develop.svn.wordpress.org/trunk@23973 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-12 13:25:16 +00:00
bumpbot
0e4de5bb97 Compress scripts/styles: 3.6-beta1-23970.
git-svn-id: https://develop.svn.wordpress.org/trunk@23970 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-11 22:58:39 +00:00
Mark Jaquith
79c4e52ffa Enforce video dimensions.
props wonderboymusic. see #23831.

git-svn-id: https://develop.svn.wordpress.org/trunk@23969 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-11 22:34:05 +00:00
Mark Jaquith
b340e0a6c8 Update MediaElement.js to 2.11.1
Also get rid of its non-minified JS/CSS files.

props wonderboymusic, ocean90. fixes #24015.

git-svn-id: https://develop.svn.wordpress.org/trunk@23968 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-11 22:13:44 +00:00
bumpbot
514d5d2204 Compress scripts/styles: 3.6-beta1-23960.
git-svn-id: https://develop.svn.wordpress.org/trunk@23960 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-10 22:58:42 +00:00
Ryan Boren
c5e0ff6017 Update MediaElement.js to 2.11.0.
Props wonderboymusic
see #24015


git-svn-id: https://develop.svn.wordpress.org/trunk@23958 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-10 22:38:30 +00:00
Mark Jaquith
518aaabfab Don't allow images to be set as featured image until they have been processed.
props kadamwhite. fixes #23317.

git-svn-id: https://develop.svn.wordpress.org/trunk@23956 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-10 22:26:55 +00:00
Dominik Schilling (ocean90)
ef0c6be239 jQuery Color 2.2.1. fixes #22562.
git-svn-id: https://develop.svn.wordpress.org/trunk@23954 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-10 17:29:55 +00:00
bumpbot
dd7b0786fa Compress scripts/styles: 3.6-beta1-23953.
git-svn-id: https://develop.svn.wordpress.org/trunk@23953 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-10 16:58:41 +00:00
Sergey Biryukov
a198eac988 Remove \s from regex in pingback_ping() to avoid UTF-8 issues. props tenpura. fixes #24001.
git-svn-id: https://develop.svn.wordpress.org/trunk@23952 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-10 16:29:00 +00:00
Sergey Biryukov
84fb704172 Reset transition property in toolbar CSS to avoid conflicts with themes. props kwight. fixes #24031.
git-svn-id: https://develop.svn.wordpress.org/trunk@23951 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-10 16:18:15 +00:00
Sergey Biryukov
6b040372c1 Remove duplicate array key. props tivnet. fixes #24021.
git-svn-id: https://develop.svn.wordpress.org/trunk@23948 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-10 15:55:53 +00:00
Mark Jaquith
f646510aaa No longer need to work around zend_hash_del_key_or_index bug. fixes #24029. see [4717]
git-svn-id: https://develop.svn.wordpress.org/trunk@23947 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-10 07:57:58 +00:00
Sergey Biryukov
4f5e194154 Use correct variable. fixes #24014. see #23119.
git-svn-id: https://develop.svn.wordpress.org/trunk@23941 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-09 20:50:45 +00:00
Sergey Biryukov
c579fc339b Use the function argument instead of the $post global in get_the_post_format_image(). props kovshenin. fixes #24003.
git-svn-id: https://develop.svn.wordpress.org/trunk@23938 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-09 16:28:09 +00:00
Sergey Biryukov
c436d61d37 Consistently use the function argument instead of the $post global in get_the_post_format_media(). props kovshenin. fixes #24003.
git-svn-id: https://develop.svn.wordpress.org/trunk@23937 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-09 13:42:53 +00:00
Ryan Boren
131e90a91a _wp_preview_terms_filter() should be @since 3.6.0. Standardize on 3.6.0 instead of 3.6.
See #20564


git-svn-id: https://develop.svn.wordpress.org/trunk@23936 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-09 13:05:21 +00:00
Sergey Biryukov
929cfec65c PHPDoc fixes and additions for post formats. props c3mdigital, DrewAPicture. fixes #23974.
git-svn-id: https://develop.svn.wordpress.org/trunk@23935 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-09 09:38:25 +00:00
Andrew Ozz
cd9306e6ac Revisions: don't set revisions post_author with get_post_meta( $ID, '_edit_last' ). Not needed since we create revisions after saving the post and breaks per-user autosaves, see #16215
git-svn-id: https://develop.svn.wordpress.org/trunk@23933 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-08 00:08:33 +00:00
Sergey Biryukov
6c981a7835 Fix inconsistent spacing in comment_form(). props sim, TravisHoffman. fixes #23878.
git-svn-id: https://develop.svn.wordpress.org/trunk@23932 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-07 23:57:35 +00:00
bumpbot
120caba65a Compress scripts/styles: 3.6-beta1-23930.
git-svn-id: https://develop.svn.wordpress.org/trunk@23930 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-07 00:58:39 +00:00
Andrew Ozz
7c4cebe1c5 Revisions: move the call to _wp_upgrade_revisions_of_post() to edit-form-advanced.php, in the code block checking whether we should show the revisions postbox. See #16215
git-svn-id: https://develop.svn.wordpress.org/trunk@23929 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-06 23:43:05 +00:00
Andrew Ozz
48dc22b9eb Revisions:
- Store the post format as meta on revisions (including autosaves).
- Add post formats data (post meta) when autosaving.
- Only add non-empty post formats data to revisions.
- Correct the post format when previewing a published post.
Props kovshenin, see #19570, see #20564.


git-svn-id: https://develop.svn.wordpress.org/trunk@23928 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-06 23:18:52 +00:00
bumpbot
0e3dd60eae Compress scripts/styles: 3.6-beta1-23927.
git-svn-id: https://develop.svn.wordpress.org/trunk@23927 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-06 22:58:42 +00:00
Sergey Biryukov
24a18ed5a1 Pass the post ID to the_title filter in post_formats_compat(). props danielbachhuber. see #23347.
git-svn-id: https://develop.svn.wordpress.org/trunk@23924 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-06 08:11:23 +00:00
Andrew Ozz
9231c52c70 Logged out warnings: fix phpdoc, props ocean90, see #23295
git-svn-id: https://develop.svn.wordpress.org/trunk@23922 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-05 23:28:40 +00:00