Commit Graph

21909 Commits

Author SHA1 Message Date
Mark Jaquith
15dc5a3718 Standardize the post format theme API functions with the_post_format_THING() and get_the_post_format_THING().
fixes #23927

git-svn-id: http://core.svn.wordpress.org/trunk@23899 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-04-04 08:09:02 +00:00
Mark Jaquith
2a38966a97 Further cleanup of revisions code. Probably not the last.
see #23901. props adamsilverstein, azaozz, ocean90.

git-svn-id: http://core.svn.wordpress.org/trunk@23898 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-04-04 07:53:49 +00:00
Andrew Nacin
10d898ecbb 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: http://core.svn.wordpress.org/trunk@23897 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-04-04 04:28:12 +00:00
Andrew Nacin
8fdaa65f91 Prevent classid="clsid:undefined". props SergeyBiryukov. see #23876.
git-svn-id: http://core.svn.wordpress.org/trunk@23896 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-04-03 20:55:20 +00:00
Andrew Nacin
7858e5e9a8 Prevent a JS error when working with embedded media in TinyMCE.
props wonderboymusic. fixes #23876.



git-svn-id: http://core.svn.wordpress.org/trunk@23895 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-04-03 20:49:41 +00:00
Bot (Assets)
0d19695389 Compress scripts/styles: 3.6-alpha-23894.
git-svn-id: http://core.svn.wordpress.org/trunk@23894 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-04-03 18:58:47 +00:00
Andrew Nacin
ec0e3724e1 Backbone 1.0.0.
Update media JS to reflect changes. Please open new tickets for remaining issues.

props koopersmith.
fixes #23830.



git-svn-id: http://core.svn.wordpress.org/trunk@23893 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-04-03 17:40:52 +00:00
Andrew Nacin
163ebbe809 jQuery UI 1.10.2.
props ocean90. fixes #23370.



git-svn-id: http://core.svn.wordpress.org/trunk@23892 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-04-03 17:36:25 +00:00
Andrew Nacin
155a7c2455 Don't use jQuery.on('ready'). props obenland. see #23875.
git-svn-id: http://core.svn.wordpress.org/trunk@23891 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-04-03 17:29:59 +00:00
Andrew Nacin
b62d398742 Replace $user_id removed in [23889] with a direct function call. see #23665.
git-svn-id: http://core.svn.wordpress.org/trunk@23890 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-04-03 04:37:50 +00:00
Andrew Nacin
b77e90c5bf No need to check for the presence of a current user in a privileged ajax action. see #23665.
git-svn-id: http://core.svn.wordpress.org/trunk@23889 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-04-03 04:34:14 +00:00
Andrew Nacin
18b07129c9 Pass the tag object instead of just the tag ID to topic_count_text_callback. see [23741]. see #21198.
git-svn-id: http://core.svn.wordpress.org/trunk@23888 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-04-03 03:55:05 +00:00
Bot (Assets)
5040c95c34 Compress scripts/styles: 3.6-alpha-23887.
git-svn-id: http://core.svn.wordpress.org/trunk@23887 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-04-02 22:58:42 +00:00
Andrew Ozz
2466f6a726 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: http://core.svn.wordpress.org/trunk@23886 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-04-02 22:51:09 +00:00
Andrew Ozz
51826e4cde Revisions: remove the new _wp_last_revision_matches_current_post(), can be replaced by a simple revisions version check. Fixes #23913
git-svn-id: http://core.svn.wordpress.org/trunk@23885 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-04-02 19:39:48 +00:00
Ryan Boren
6806d48a90 Preserve alpha in WP_Image_Editor_GD when images are not resized.
Props joehoyle
see #23039


git-svn-id: http://core.svn.wordpress.org/trunk@23884 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-04-01 15:21:19 +00:00
Bot (Assets)
b7d31db410 Compress scripts/styles: 3.6-alpha-23883.
git-svn-id: http://core.svn.wordpress.org/trunk@23883 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-31 00:58:35 +00:00
Andrew Ozz
651534f24e 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: http://core.svn.wordpress.org/trunk@23882 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-30 23:32:12 +00:00
Andrew Ozz
bdc3e9bdb9 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: http://core.svn.wordpress.org/trunk@23881 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-30 19:17:09 +00:00
Mark Jaquith
4b50a68937 Avoid PHP notice on blank chat lines. props SergeyBiryukov. see #23625
git-svn-id: http://core.svn.wordpress.org/trunk@23880 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-30 17:04:08 +00:00
Sergey Biryukov
4a03b8dd61 Consistently show "Customize" item in the admin menu. props ethitter. fixes #21413.
git-svn-id: http://core.svn.wordpress.org/trunk@23879 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-29 23:25:06 +00:00
Sergey Biryukov
ea4acee9f9 Use correct escaping function. see #23900.
git-svn-id: http://core.svn.wordpress.org/trunk@23878 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-29 22:20:18 +00:00
Lance Willett
63fb23321b Twenty Thirteen: update Chat post format styles to match markup changes in r23876. See #23869.
git-svn-id: http://core.svn.wordpress.org/trunk@23877 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-29 21:14:43 +00:00
Mark Jaquith
6d085d83d5 Chat post format code cleanup.
see #23625. props obenland.

git-svn-id: http://core.svn.wordpress.org/trunk@23876 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-29 21:06:37 +00:00
Bot (Assets)
9b90808fe9 Compress scripts/styles: 3.6-alpha-23875.
git-svn-id: http://core.svn.wordpress.org/trunk@23875 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-29 20:58:38 +00:00
Helen Hou-Sandí
c08fb9d182 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: http://core.svn.wordpress.org/trunk@23874 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-29 20:56:18 +00:00
Mark Jaquith
fec4b66f5b Sanity checks on image metadata to avoid warnings, etc.
fixes #23733. props wonderboymusic.

git-svn-id: http://core.svn.wordpress.org/trunk@23873 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-29 20:51:35 +00:00
Mark Jaquith
925e7f5bd6 Make sure the first revision is seen as coming from emptiness, so it can be restored.
props adamsilverstein. fixes #23898.

git-svn-id: http://core.svn.wordpress.org/trunk@23872 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-29 20:50:09 +00:00
Mark Jaquith
8c4aeb9188 Add "Customize" as first item under Appearance menu.
fixes #21413. props ryanhellyer, obenland, DrewAPicture

git-svn-id: http://core.svn.wordpress.org/trunk@23871 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-29 20:39:54 +00:00
Mark Jaquith
e3b7b18d26 Fix some Insert-into-Post for Audio/Video bugs.
props wonderboymusic. see #23831.

git-svn-id: http://core.svn.wordpress.org/trunk@23870 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-29 20:35:23 +00:00
Sergey Biryukov
c254787f0c 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: http://core.svn.wordpress.org/trunk@23869 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-29 19:10:31 +00:00
Sergey Biryukov
969cf51e6f Fix incorrect script handle and a notice. props ocean90. fixes #23896.
git-svn-id: http://core.svn.wordpress.org/trunk@23868 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-29 17:33:35 +00:00
Sergey Biryukov
90dd5c458e Make sure the autosave post exists before getting its meta. props kovshenin. fixes #23539.
git-svn-id: http://core.svn.wordpress.org/trunk@23867 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-29 16:37:46 +00:00
Sergey Biryukov
48f5701214 Move _show_post_preview() back next to _set_preview(). see #23539.
git-svn-id: http://core.svn.wordpress.org/trunk@23866 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-29 16:31:33 +00:00
Bot (Assets)
fb868a2164 Compress scripts/styles: 3.6-alpha-23865.
git-svn-id: http://core.svn.wordpress.org/trunk@23865 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-29 12:58:38 +00:00
Mark Jaquith
06f538ec9f Give the active post format tab a bit of emphasis.
git-svn-id: http://core.svn.wordpress.org/trunk@23864 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-29 12:37:40 +00:00
Mark Jaquith
1280773f4d Gallery is a no-UI post format.
git-svn-id: http://core.svn.wordpress.org/trunk@23863 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-29 12:17:52 +00:00
Mark Jaquith
1127ad37a8 Use the revisioned post format metadata when previewing.
fixes #23539. props kovshenin.

git-svn-id: http://core.svn.wordpress.org/trunk@23862 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-29 12:08:42 +00:00
Sergey Biryukov
fc26b5e683 Remove duplicate array keys. props kovshenin. see #19570.
git-svn-id: http://core.svn.wordpress.org/trunk@23861 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-29 11:07:09 +00:00
Bot (Assets)
427fc928b1 Compress scripts/styles: 3.6-alpha-23860.
git-svn-id: http://core.svn.wordpress.org/trunk@23860 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-29 10:58:36 +00:00
Mark Jaquith
8b3f9ab751 Revision our post format postmeta.
props kovshenin, WraithKenny. see #20564.

git-svn-id: http://core.svn.wordpress.org/trunk@23859 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-29 10:37:44 +00:00
Mark Jaquith
4dd2707c60 Simplify the accordion sibling-section-closing JS.
see #23890

git-svn-id: http://core.svn.wordpress.org/trunk@23858 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-29 09:30:48 +00:00
Bot (Assets)
fc3522a1b7 Compress scripts/styles: 3.6-alpha-23857.
git-svn-id: http://core.svn.wordpress.org/trunk@23857 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-29 08:58:41 +00:00
Mark Jaquith
06c8737aec Use jQuery.on() properly in accordion code. Some other cleanup.
see #23890.

git-svn-id: http://core.svn.wordpress.org/trunk@23856 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-29 08:28:58 +00:00
Mark Jaquith
a1ef45a3ec Remove duplicated code that was accidentally committed in [23417].
fixes #23889. props DrewAPicture.

git-svn-id: http://core.svn.wordpress.org/trunk@23855 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-29 07:50:40 +00:00
Mark Jaquith
9c80f135d0 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: http://core.svn.wordpress.org/trunk@23854 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-29 07:46:24 +00:00
Mark Jaquith
fb78aa819e Use jQuery.on() properly. Add some slideUp()/slideDown() transitions to ease post format switches. see #19570
git-svn-id: http://core.svn.wordpress.org/trunk@23853 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-29 07:06:21 +00:00
Bot (Assets)
a33987528b Compress scripts/styles: 3.6-alpha-23852.
git-svn-id: http://core.svn.wordpress.org/trunk@23852 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-29 06:58:40 +00:00
Mark Jaquith
43ca132c43 Defer JS to document ready
git-svn-id: http://core.svn.wordpress.org/trunk@23851 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-29 06:42:54 +00:00
Mark Jaquith
5e20a29f04 Clean up mixed spaces/tabs in post-formats.js
git-svn-id: http://core.svn.wordpress.org/trunk@23850 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-29 06:33:55 +00:00