Commit Graph

11709 Commits

Author SHA1 Message Date
Sergey Biryukov
2bcf4b8802 Only show database errors if WP_DEBUG_DISPLAY is enabled. props cheeserolls, storkontheroof, crazycoders. fixes #22203.
git-svn-id: http://core.svn.wordpress.org/trunk@24027 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-04-18 09:51:02 +00:00
Andrew Ozz
2407b26f69 Revisions: when upgrading the revision author don't add a copy of the post as latest revision when some of the revisions are already at v1. See #16215
git-svn-id: http://core.svn.wordpress.org/trunk@24025 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-04-18 04:43:59 +00:00
Bot (Assets)
c68aecdba2 Compress scripts/styles: 3.6-beta1-24023.
git-svn-id: http://core.svn.wordpress.org/trunk@24023 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-04-17 22:58:38 +00:00
Bot (Assets)
c6f065991e Compress scripts/styles: 3.6-beta1-24021.
git-svn-id: http://core.svn.wordpress.org/trunk@24022 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-04-17 20:58:42 +00:00
Mark Jaquith
412161de03 Standardize post format postmeta keys around the ones already used by the Crowd Favorite plugin.
props wonderboymusic. fixes #24010.

git-svn-id: http://core.svn.wordpress.org/trunk@24021 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-04-17 20:57:44 +00:00
Bot (Assets)
81b300582e Compress scripts/styles: 3.6-beta1-24018.
git-svn-id: http://core.svn.wordpress.org/trunk@24018 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-04-17 18:58:38 +00:00
Mark Jaquith
51e5c3436e Use attachment.url only if it is available, else fall back to props.url.
see #24046. see [24009].

git-svn-id: http://core.svn.wordpress.org/trunk@24017 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-04-17 17:57:51 +00:00
Mark Jaquith
7c1ef6c33a 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: http://core.svn.wordpress.org/trunk@24015 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-04-17 17:49:44 +00:00
Bot (Assets)
db4df8ab8b Compress scripts/styles: 3.6-beta1-24010.
git-svn-id: http://core.svn.wordpress.org/trunk@24010 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-04-17 13:51:57 +00:00
Ryan Boren
d1675fcea4 Revert attachment.url back to props.url. Fixes error that prevents inserting media into the editor.
see #24046


git-svn-id: http://core.svn.wordpress.org/trunk@24009 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-04-17 13:50:12 +00:00
Bot (Assets)
3841d591e6 Compress scripts/styles: 3.6-beta1-24008.
git-svn-id: http://core.svn.wordpress.org/trunk@24008 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-04-17 06:58:39 +00:00
Mark Jaquith
56d5d62a19 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: http://core.svn.wordpress.org/trunk@24006 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-04-17 04:08:46 +00:00
Mark Jaquith
b6ae99abdb Make get_the_post_format_image() work when intermediate_image_sizes is empty.
props lancewillett. fixes #24060.

git-svn-id: http://core.svn.wordpress.org/trunk@24003 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-04-16 21:31:37 +00:00
Sergey Biryukov
508cbd464b * 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: http://core.svn.wordpress.org/trunk@24000 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-04-16 11:06:31 +00:00
Sergey Biryukov
ed6941a0f4 Fix several copy/paste errors in register_deactivation_hook() description. props Caspie. fixes #24097.
git-svn-id: http://core.svn.wordpress.org/trunk@23999 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-04-16 09:53:02 +00:00
Sergey Biryukov
0f8c735175 Add missing semicolon. props kovshenin. see #23831.
git-svn-id: http://core.svn.wordpress.org/trunk@23998 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-04-15 23:03:13 +00:00
Bot (Assets)
3a0aeb8013 Compress scripts/styles: 3.6-beta1-23997.
git-svn-id: http://core.svn.wordpress.org/trunk@23997 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-04-15 20:58:38 +00:00
Bot (Assets)
0c4cd3cd94 Compress scripts/styles: 3.6-beta1-23995.
git-svn-id: http://core.svn.wordpress.org/trunk@23996 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-04-15 18:58:41 +00:00
Mark Jaquith
df5e61ad54 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: http://core.svn.wordpress.org/trunk@23992 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-04-14 16:59:52 +00:00
Bot (Assets)
ff09215e32 Compress scripts/styles: 3.6-beta1-23990.
git-svn-id: http://core.svn.wordpress.org/trunk@23990 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-04-14 16:58:35 +00:00
Mark Jaquith
de45c749df Constrain large videos from rendering bigger than $content_width on both frontend and backend.
props wonderboymusic. fixes #23955.

git-svn-id: http://core.svn.wordpress.org/trunk@23989 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-04-14 16:43:26 +00:00
Dominik Schilling
f715505934 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: http://core.svn.wordpress.org/trunk@23988 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-04-14 10:33:44 +00:00
Bot (Assets)
1275da6ecd Compress scripts/styles: 3.6-beta1-23987.
git-svn-id: http://core.svn.wordpress.org/trunk@23987 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-04-14 02:58:39 +00:00
Mark Jaquith
259f4fdef4 Allow the content of no-title audio, video, quote, and image posts to be blanked.
props wonderboymusic. fixes #23623.

git-svn-id: http://core.svn.wordpress.org/trunk@23986 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-04-14 01:43:01 +00:00
Mark Jaquith
697bf3d70e Only remove ONE piece of media from the content in setup_postdata().
props wonderboymusic. fixes #24052.

git-svn-id: http://core.svn.wordpress.org/trunk@23984 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-04-14 01:11:44 +00:00
Bot (Assets)
ce42190a4c Compress scripts/styles: 3.6-beta1-23983.
git-svn-id: http://core.svn.wordpress.org/trunk@23983 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-04-13 00:58:37 +00:00
Bot (Assets)
17204391be Compress scripts/styles: 3.6-beta1-23980.
git-svn-id: http://core.svn.wordpress.org/trunk@23980 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-04-12 22:58:39 +00:00
Mark Jaquith
79075d6f6e Fix some Skype chat parsing issues.
props wonderboymusic. see #23625.

git-svn-id: http://core.svn.wordpress.org/trunk@23978 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-04-12 22:22:41 +00:00
Mark Jaquith
926445b1e8 Update MediaElement.js to 2.11.3
props wonderboymusic, John Dyer. see #23831.

git-svn-id: http://core.svn.wordpress.org/trunk@23977 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-04-12 21:48:16 +00:00
Andrew Ozz
44752d0dad 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: http://core.svn.wordpress.org/trunk@23975 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-04-12 19:29:21 +00:00
Ryan Boren
375cb66409 Use prepare() for the duplicate comment query in wp_allow_comment().
see #21767


git-svn-id: http://core.svn.wordpress.org/trunk@23973 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-04-12 13:25:16 +00:00
Bot (Assets)
aa441349c8 Compress scripts/styles: 3.6-beta1-23970.
git-svn-id: http://core.svn.wordpress.org/trunk@23970 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-04-11 22:58:39 +00:00
Mark Jaquith
4a3ced1433 Enforce video dimensions.
props wonderboymusic. see #23831.

git-svn-id: http://core.svn.wordpress.org/trunk@23969 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-04-11 22:34:05 +00:00
Mark Jaquith
03e8599e07 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: http://core.svn.wordpress.org/trunk@23968 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-04-11 22:13:44 +00:00
Bot (Assets)
50f0fe7785 Compress scripts/styles: 3.6-beta1-23960.
git-svn-id: http://core.svn.wordpress.org/trunk@23960 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-04-10 22:58:42 +00:00
Ryan Boren
338c2afd86 Update MediaElement.js to 2.11.0.
Props wonderboymusic
see #24015


git-svn-id: http://core.svn.wordpress.org/trunk@23958 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-04-10 22:38:30 +00:00
Mark Jaquith
262b3bd9b1 Don't allow images to be set as featured image until they have been processed.
props kadamwhite. fixes #23317.

git-svn-id: http://core.svn.wordpress.org/trunk@23956 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-04-10 22:26:55 +00:00
Dominik Schilling
d46e2d405b jQuery Color 2.2.1. fixes #22562.
git-svn-id: http://core.svn.wordpress.org/trunk@23954 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-04-10 17:29:55 +00:00
Bot (Assets)
7836f26b36 Compress scripts/styles: 3.6-beta1-23953.
git-svn-id: http://core.svn.wordpress.org/trunk@23953 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-04-10 16:58:41 +00:00
Sergey Biryukov
c955859738 Remove \s from regex in pingback_ping() to avoid UTF-8 issues. props tenpura. fixes #24001.
git-svn-id: http://core.svn.wordpress.org/trunk@23952 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-04-10 16:29:00 +00:00
Sergey Biryukov
fc8960a7fa Reset transition property in toolbar CSS to avoid conflicts with themes. props kwight. fixes #24031.
git-svn-id: http://core.svn.wordpress.org/trunk@23951 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-04-10 16:18:15 +00:00
Sergey Biryukov
d454a9c86b Remove duplicate array key. props tivnet. fixes #24021.
git-svn-id: http://core.svn.wordpress.org/trunk@23948 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-04-10 15:55:53 +00:00
Mark Jaquith
b2d13224ec No longer need to work around zend_hash_del_key_or_index bug. fixes #24029. see [4717]
git-svn-id: http://core.svn.wordpress.org/trunk@23947 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-04-10 07:57:58 +00:00
Sergey Biryukov
15e919bd24 Use correct variable. fixes #24014. see #23119.
git-svn-id: http://core.svn.wordpress.org/trunk@23941 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-04-09 20:50:45 +00:00
Sergey Biryukov
09317ba345 Use the function argument instead of the $post global in get_the_post_format_image(). props kovshenin. fixes #24003.
git-svn-id: http://core.svn.wordpress.org/trunk@23938 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-04-09 16:28:09 +00:00
Sergey Biryukov
0cf4b02a4f Consistently use the function argument instead of the $post global in get_the_post_format_media(). props kovshenin. fixes #24003.
git-svn-id: http://core.svn.wordpress.org/trunk@23937 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-04-09 13:42:53 +00:00
Ryan Boren
8bda27e12c _wp_preview_terms_filter() should be @since 3.6.0. Standardize on 3.6.0 instead of 3.6.
See #20564


git-svn-id: http://core.svn.wordpress.org/trunk@23936 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-04-09 13:05:21 +00:00
Sergey Biryukov
b4859e8411 PHPDoc fixes and additions for post formats. props c3mdigital, DrewAPicture. fixes #23974.
git-svn-id: http://core.svn.wordpress.org/trunk@23935 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-04-09 09:38:25 +00:00
Andrew Ozz
f0fdba27ba 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: http://core.svn.wordpress.org/trunk@23933 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-04-08 00:08:33 +00:00
Sergey Biryukov
2c63da143b Fix inconsistent spacing in comment_form(). props sim, TravisHoffman. fixes #23878.
git-svn-id: http://core.svn.wordpress.org/trunk@23932 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-04-07 23:57:35 +00:00