Mark Jaquith
177556309d
Standardize post format postmeta keys around the ones already used by the Crowd Favorite plugin.
...
props wonderboymusic. fixes #24010 .
git-svn-id: https://develop.svn.wordpress.org/trunk@24021 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-17 20:57:44 +00:00
bumpbot
1845759157
Compress scripts/styles: 3.6-beta1-24018.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24018 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-17 18:58:38 +00:00
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
Andrew Nacin
62e7bbe52a
Third parameter for shortcode_atts() for audio and video shortcodes. props obenland, see #23282 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@23921 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-05 17:46:31 +00:00
bumpbot
1ab752e30a
Compress scripts/styles: 3.6-beta1-23919.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@23919 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-05 02:58:49 +00:00
bumpbot
9e833974f6
Compress scripts/styles: 3.6-beta1-23917.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@23917 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-05 00:58:45 +00:00
Andrew Ozz
2c3a012631
In the HTML outputted from get_search_form(): remove incrementing the IDs for XHTML after the first call, remove the <div> wrapper for HTML5. Props obenland, props bpetty. Fixes #16539
...
git-svn-id: https://develop.svn.wordpress.org/trunk@23916 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-05 00:26:53 +00:00
Sergey Biryukov
576b34af42
Check for [\r\n\t ] instead of \s in get_content_chat() to avoid UTF-8 issues. see #23625 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@23914 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-04 23:43:59 +00:00
bumpbot
d658c85491
Compress scripts/styles: 3.6-beta1-23913.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@23913 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-04 22:58:47 +00:00
bumpbot
17b8f04592
Compress scripts/styles: 3.6-beta1-23909.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@23910 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-04 20:58:48 +00:00
Mark Jaquith
cb4b384500
3.6-beta1
...
git-svn-id: https://develop.svn.wordpress.org/trunk@23906 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-04 16:09:09 +00:00
bumpbot
21e5147be6
Compress scripts/styles: 3.6-alpha-23905.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@23905 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-04 16:06:50 +00:00
bumpbot
12142ddb77
Compress scripts/styles: 3.6-alpha-23900.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@23900 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-04 08:58:49 +00:00
Mark Jaquith
2ab2451508
Standardize the post format theme API functions with the_post_format_THING() and get_the_post_format_THING().
...
fixes #23927
git-svn-id: https://develop.svn.wordpress.org/trunk@23899 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-04 08:09:02 +00:00
Mark Jaquith
8351c2e87d
Further cleanup of revisions code. Probably not the last.
...
see #23901 . props adamsilverstein, azaozz, ocean90.
git-svn-id: https://develop.svn.wordpress.org/trunk@23898 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-04 07:53:49 +00:00
Andrew Nacin
afacb030f5
Remove _wp_delete_nav_menu(). wp_delete_nav_menu() should instead remove the menu from theme locations, which was the only difference between the functions. see #23119 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@23897 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-04 04:28:12 +00:00
Andrew Nacin
55955c2087
Prevent classid="clsid:undefined". props SergeyBiryukov. see #23876 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@23896 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-03 20:55:20 +00:00
Andrew Nacin
c735c265a2
Prevent a JS error when working with embedded media in TinyMCE.
...
props wonderboymusic. fixes #23876 .
git-svn-id: https://develop.svn.wordpress.org/trunk@23895 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-03 20:49:41 +00:00
bumpbot
1b201fa81c
Compress scripts/styles: 3.6-alpha-23894.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@23894 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-03 18:58:47 +00:00
Andrew Nacin
96b8dc3dec
Backbone 1.0.0.
...
Update media JS to reflect changes. Please open new tickets for remaining issues.
props koopersmith.
fixes #23830 .
git-svn-id: https://develop.svn.wordpress.org/trunk@23893 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-03 17:40:52 +00:00
Andrew Nacin
7f5d5dc940
jQuery UI 1.10.2.
...
props ocean90. fixes #23370 .
git-svn-id: https://develop.svn.wordpress.org/trunk@23892 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-03 17:36:25 +00:00
Andrew Nacin
cc88fc4d85
Pass the tag object instead of just the tag ID to topic_count_text_callback. see [23741]. see #21198 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@23888 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-03 03:55:05 +00:00
bumpbot
b813f82c55
Compress scripts/styles: 3.6-alpha-23887.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@23887 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-02 22:58:42 +00:00
Andrew Ozz
28a928ddb1
Autosave: use heartbeat to determine when connection is lost and disable the Save and Publish buttons. Re-enable the buttons when connection is restored. Props dh-shredder, see #23220
...
git-svn-id: https://develop.svn.wordpress.org/trunk@23886 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-02 22:51:09 +00:00
Andrew Ozz
8a8d7369d7
Revisions: remove the new _wp_last_revision_matches_current_post(), can be replaced by a simple revisions version check. Fixes #23913
...
git-svn-id: https://develop.svn.wordpress.org/trunk@23885 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-02 19:39:48 +00:00
Ryan Boren
c0e42b5666
Preserve alpha in WP_Image_Editor_GD when images are not resized.
...
Props joehoyle
see #23039
git-svn-id: https://develop.svn.wordpress.org/trunk@23884 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-01 15:21:19 +00:00
bumpbot
311d7429d0
Compress scripts/styles: 3.6-alpha-23883.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@23883 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-31 00:58:35 +00:00
Andrew Ozz
ec5c661c7d
Heartbeat: improve setting the errorstate, add ajaxurl to the settings object when loading on the front-end, some code cleanup, see #23216
...
git-svn-id: https://develop.svn.wordpress.org/trunk@23882 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-30 23:32:12 +00:00
Andrew Ozz
93f1856d06
Logged out warnings: by default, load only in the admin. Plugins and themes can load on the front-end when needed, see #23295
...
git-svn-id: https://develop.svn.wordpress.org/trunk@23881 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-30 19:17:09 +00:00
Mark Jaquith
3f1f5162b6
Avoid PHP notice on blank chat lines. props SergeyBiryukov. see #23625
...
git-svn-id: https://develop.svn.wordpress.org/trunk@23880 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-30 17:04:08 +00:00
Mark Jaquith
26ba022571
Chat post format code cleanup.
...
see #23625 . props obenland.
git-svn-id: https://develop.svn.wordpress.org/trunk@23876 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-29 21:06:37 +00:00
bumpbot
9ffb607ce2
Compress scripts/styles: 3.6-alpha-23875.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@23875 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-29 20:58:38 +00:00
Mark Jaquith
a2855f94b3
Sanity checks on image metadata to avoid warnings, etc.
...
fixes #23733 . props wonderboymusic.
git-svn-id: https://develop.svn.wordpress.org/trunk@23873 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-29 20:51:35 +00:00
Mark Jaquith
f18cddb1e1
Make sure the first revision is seen as coming from emptiness, so it can be restored.
...
props adamsilverstein. fixes #23898 .
git-svn-id: https://develop.svn.wordpress.org/trunk@23872 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-29 20:50:09 +00:00
Mark Jaquith
9b90cd1698
Fix some Insert-into-Post for Audio/Video bugs.
...
props wonderboymusic. see #23831 .
git-svn-id: https://develop.svn.wordpress.org/trunk@23870 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-29 20:35:23 +00:00
Sergey Biryukov
43e15b47d4
Make a copy of post content to avoid changing it in get_the_image(). Remove unnecessary assignment from get_the_media(). props wonderboymusic for initial patch. fixes #23888 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@23869 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-29 19:10:31 +00:00
Sergey Biryukov
1a96cb8355
Make sure the autosave post exists before getting its meta. props kovshenin. fixes #23539 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@23867 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-29 16:37:46 +00:00
Sergey Biryukov
729396af3a
Move _show_post_preview() back next to _set_preview(). see #23539 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@23866 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-29 16:31:33 +00:00
bumpbot
07b28e52f7
Compress scripts/styles: 3.6-alpha-23865.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@23865 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-29 12:58:38 +00:00
Mark Jaquith
07f5ffd015
Use the revisioned post format metadata when previewing.
...
fixes #23539 . props kovshenin.
git-svn-id: https://develop.svn.wordpress.org/trunk@23862 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-29 12:08:42 +00:00
bumpbot
7053d85f91
Compress scripts/styles: 3.6-alpha-23860.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@23860 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-29 10:58:36 +00:00
Mark Jaquith
c85d50ac3c
Revision our post format postmeta.
...
props kovshenin, WraithKenny. see #20564 .
git-svn-id: https://develop.svn.wordpress.org/trunk@23859 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-29 10:37:44 +00:00
bumpbot
38e8fd6923
Compress scripts/styles: 3.6-alpha-23857.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@23857 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-29 08:58:41 +00:00
bumpbot
50b9f427b5
Compress scripts/styles: 3.6-alpha-23852.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@23852 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-29 06:58:40 +00:00
Andrew Ozz
4525912f59
Post revisions:
...
- Always update the revision version when updating post authors.
- Check if revisions have been updated and return early.
- Update the revisions by direct query to avoid resetting post_modified.
- Fix a bug where we may be comparing with an autosave but need to compare with the latest revision.
Fixes #16215 .
git-svn-id: https://develop.svn.wordpress.org/trunk@23849 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-29 05:28:44 +00:00
Mark Jaquith
fe4da10a48
Add compat code for 'image' post format.
...
see #19570 . props wonderboymusic.
git-svn-id: https://develop.svn.wordpress.org/trunk@23847 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-29 05:21:23 +00:00
bumpbot
fc753f9803
Compress scripts/styles: 3.6-alpha-23846.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@23846 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-29 04:58:39 +00:00
Mark Jaquith
e7cde8715f
Post Format UI.
...
* Icons
* Selection
* Prompt text
* Special fields
* Styling
* Sparkles
This is going to need testing, polish, and love.
see #19570 . props melchoyce, helen, wonderboymusic, lessbloat, rachelbaker, aaroncampbell, DrewAPicture, ryelle.
git-svn-id: https://develop.svn.wordpress.org/trunk@23843 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-29 03:35:41 +00:00
Mark Jaquith
191ceb01cd
Use the wp_insert_post hook to save revisions, so we save revisions for
...
an initial wp_insert_post() run, not just updates.
see #16215
git-svn-id: https://develop.svn.wordpress.org/trunk@23842 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-28 23:45:19 +00:00
Mark Jaquith
e187d14142
Move the "look for the first media attachment" code below the "look
...
in the post content for media" code, so that it is the method of last
resort. This way, if you attach AND embed media, you won't get duplication.
fixes #23879
git-svn-id: https://develop.svn.wordpress.org/trunk@23840 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-28 07:28:27 +00:00
Mark Jaquith
2b9b1080ec
Rename the_extra_content() to the_remaining_content().
...
fixes #23877 .
git-svn-id: https://develop.svn.wordpress.org/trunk@23836 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-28 05:59:18 +00:00