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
Sergey Biryukov
d26bddce5c
Consistently show "Customize" item in the admin menu. props ethitter. fixes #21413 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@23879 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-29 23:25:06 +00:00
Sergey Biryukov
f25bae2168
Use correct escaping function. see #23900 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@23878 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-29 22:20:18 +00:00
Lance Willett
ff64e5d3b3
Twenty Thirteen: update Chat post format styles to match markup changes in r23876. See #23869 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@23877 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-29 21:14:43 +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
Helen Hou-Sandi
bd32ccb3ca
Since post format meta for images now takes an attachment ID only, make sure we label it appropriately and don't do things like esc_url() the value. fixes #23900 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@23874 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-29 20:56:18 +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
c51895c997
Add "Customize" as first item under Appearance menu.
...
fixes #21413 . props ryanhellyer, obenland, DrewAPicture
git-svn-id: https://develop.svn.wordpress.org/trunk@23871 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-29 20:39:54 +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
3739c3a14e
Fix incorrect script handle and a notice. props ocean90. fixes #23896 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@23868 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-29 17:33:35 +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
eabfc6bd50
Give the active post format tab a bit of emphasis.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@23864 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-29 12:37:40 +00:00
Mark Jaquith
a7d3775328
Gallery is a no-UI post format.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@23863 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-29 12:17:52 +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
Sergey Biryukov
6813288d59
Remove duplicate array keys. props kovshenin. see #19570 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@23861 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-29 11:07:09 +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
Mark Jaquith
31858e2511
Simplify the accordion sibling-section-closing JS.
...
see #23890
git-svn-id: https://develop.svn.wordpress.org/trunk@23858 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-29 09:30:48 +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
Mark Jaquith
9910c64764
Use jQuery.on() properly in accordion code. Some other cleanup.
...
see #23890 .
git-svn-id: https://develop.svn.wordpress.org/trunk@23856 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-29 08:28:58 +00:00
Mark Jaquith
677254275c
Remove duplicated code that was accidentally committed in [23417].
...
fixes #23889 . props DrewAPicture.
git-svn-id: https://develop.svn.wordpress.org/trunk@23855 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-29 07:50:40 +00:00
Mark Jaquith
6c42dea13f
Do not attempt a slide transition if the current and switched-to post
...
formats both have no UI. Do not slide if clicking on the current format.
see #19570
git-svn-id: https://develop.svn.wordpress.org/trunk@23854 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-29 07:46:24 +00:00
Mark Jaquith
cb6e2622e0
Use jQuery.on() properly. Add some slideUp()/slideDown() transitions to ease post format switches. see #19570
...
git-svn-id: https://develop.svn.wordpress.org/trunk@23853 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-29 07:06:21 +00:00