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
Andrew Ozz
7ebe9d62c6
Post formats: connect labels with fields, move the two css blocks dealing with formats next to each other, see #23938
...
git-svn-id: https://develop.svn.wordpress.org/trunk@23926 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-06 21:40:58 +00:00
Andrew Nacin
2f7c193378
Remove dead code. Removed in [23445], accidentally reinstated in [23554]. This was found during wp_reset_vars() cleanup. see #21767 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@23925 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-06 20:47:12 +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
Sergey Biryukov
c868bd8540
Avoid an undefined index notice in wp_read_video_metadata(). props ocean90. fixes #23953 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@23923 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-06 00:29:12 +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
Lance Willett
ef43637fa2
Twenty Thirteen: style the the "Login to Reply" link correctly, props obenland. Fixes #23943 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@23920 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-05 16:35:27 +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
Helen Hou-Sandi
6fa6b65574
Show labels and remove improperly-used placeholders for post format fields. props Ipstenu, azaozz. see #23938 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@23918 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-05 02:37:13 +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
4200e2702f
Use correct class. see #23933 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@23915 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-05 00:20:19 +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
Andrew Nacin
7ef23da2b0
WP_Upgrader: Add upgrader_process_complete hooks and add a abort_if_destination_exists flag (default is true). props dd32. see #18200 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@23912 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-04 21:10:54 +00:00
Sergey Biryukov
4c15b933e8
Use correct function name. props ocean90. fixes #23942 . see #23927 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@23911 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-04 21:03:35 +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
Sergey Biryukov
3095f5af6b
Use correct id attribute. props ocean90. fixes #23937 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@23909 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-04 20:58:33 +00:00
Sergey Biryukov
244974e838
Fix typo in revisions JS/CSS. props mgibbs189, JustinSainton. fixes #23941 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@23908 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-04 20:49:26 +00:00
Andrew Nacin
c9deeed6e9
Use get_post() in lieu of direct query in wp_ajax_replyto_comment(). fixes #23940 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@23907 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-04 18:44:38 +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
Mark Jaquith
6bae3a6eda
A little more revisions js/php cleanup. see #23901 . props kovshenin, ocean90.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@23904 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-04 16:03:21 +00:00
Andrew Nacin
a4bf14e7da
Use correct option name when deleting embed_autourls. props SergeyBiryukov. see #23715 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@23902 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-04 15:55:53 +00:00
Mark Jaquith
25c799470e
Revisions CSS cleanup.
...
props ocean90. fixes #23933
git-svn-id: https://develop.svn.wordpress.org/trunk@23901 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-04 15:49:28 +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
4ca0a4c8bb
Don't use jQuery.on('ready'). props obenland. see #23875 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@23891 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-03 17:29:59 +00:00
Andrew Nacin
50dffde71f
Replace $user_id removed in [23889] with a direct function call. see #23665 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@23890 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-03 04:37:50 +00:00
Andrew Nacin
085141a6ba
No need to check for the presence of a current user in a privileged ajax action. see #23665 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@23889 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-03 04:34:14 +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