Commit Graph

10905 Commits

Author SHA1 Message Date
Bot (Assets)
d148e3d6f2 Compress scripts/styles: 3.6-alpha-23905.
git-svn-id: http://core.svn.wordpress.org/trunk@23905 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-04-04 16:06:50 +00:00
Mark Jaquith
90c2110475 A little more revisions js/php cleanup. see #23901. props kovshenin, ocean90.
git-svn-id: http://core.svn.wordpress.org/trunk@23904 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-04-04 16:03:21 +00:00
Andrew Nacin
14e31c8ec6 Use correct option name when deleting embed_autourls. props SergeyBiryukov. see #23715.
git-svn-id: http://core.svn.wordpress.org/trunk@23902 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-04-04 15:55:53 +00:00
Mark Jaquith
979b1c14c3 Revisions CSS cleanup.
props ocean90. fixes #23933

git-svn-id: http://core.svn.wordpress.org/trunk@23901 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-04-04 15:49:28 +00:00
Bot (Assets)
c1c8cf2744 Compress scripts/styles: 3.6-alpha-23900.
git-svn-id: http://core.svn.wordpress.org/trunk@23900 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-04-04 08:58:49 +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
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 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
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
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
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
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
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
Mark Jaquith
22b45b2fbb Add compat code for 'image' post format.
see #19570. props wonderboymusic.

git-svn-id: http://core.svn.wordpress.org/trunk@23847 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-29 05:21:23 +00:00
Bot (Assets)
2840f02efc Compress scripts/styles: 3.6-alpha-23846.
git-svn-id: http://core.svn.wordpress.org/trunk@23846 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-29 04:58:39 +00:00
Mark Jaquith
bcc9c61e57 Post Format prompt copy tweaks. props sabreuse. see #19570
git-svn-id: http://core.svn.wordpress.org/trunk@23845 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-29 04:19:44 +00:00
Mark Jaquith
adb61a1876 Nav Menus help tab updates.
fixes #23608. props DrewAPicture, Ipstenu, JerrySarcastic.

git-svn-id: http://core.svn.wordpress.org/trunk@23844 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-29 03:39:34 +00:00
Mark Jaquith
c93e0231af 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: http://core.svn.wordpress.org/trunk@23843 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-29 03:35:41 +00:00
Mark Jaquith
3ad740c9c8 Kill the HR on revisions page. see #23497
git-svn-id: http://core.svn.wordpress.org/trunk@23834 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-28 03:17:03 +00:00
Bot (Assets)
3872a8cb55 Compress scripts/styles: 3.6-alpha-23833.
git-svn-id: http://core.svn.wordpress.org/trunk@23833 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-28 02:58:39 +00:00
Mark Jaquith
ab9b0206c8 Make sure that the ID of the right revision is not less than the ID of the left revision
see #23497

git-svn-id: http://core.svn.wordpress.org/trunk@23832 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-28 02:49:55 +00:00
Mark Jaquith
6b79783e63 correct a revision/tooltip mismatch.
props adamsilverstein. see #23497

git-svn-id: http://core.svn.wordpress.org/trunk@23831 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-28 01:51:12 +00:00
Mark Jaquith
cccb2939db Fix a longstanding "off by one" revision authorship bug.
* Fixes old revision data on the fly when you open a post for editing.
* Uses post_name of revisions to store a post version number (-v1), so we know what has been fixed.
* Latest version should also have a revision stored, whereas before it did not.

props adamsilverstein, mdawaffe. fixes #16215.

git-svn-id: http://core.svn.wordpress.org/trunk@23823 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-27 20:21:38 +00:00
Mark Jaquith
acfeb6f20f Take revision control out of the realm of a pure constant. Make it filterable.
* New filter: wp_revisions_to_keep

props ethitter, SergeyBiryukov. fixes #22289.

git-svn-id: http://core.svn.wordpress.org/trunk@23818 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-27 18:11:56 +00:00
Bot (Assets)
13378a55ed Compress scripts/styles: 3.6-alpha-23815.
git-svn-id: http://core.svn.wordpress.org/trunk@23815 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-27 14:58:40 +00:00
Mark Jaquith
d174e5c7ef *Very* rough runthough of revisions.js for JS style, variable names, etc.
Consider this the lawnmower that precedes Daryl's scissors.

see #23497

git-svn-id: http://core.svn.wordpress.org/trunk@23813 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-27 12:59:41 +00:00
Bot (Assets)
1da56efd04 Compress scripts/styles: 3.6-alpha-23812.
git-svn-id: http://core.svn.wordpress.org/trunk@23812 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-27 12:58:43 +00:00
Mark Jaquith
19810a259c Move nav menus to a tabbed interface, so that users with a lot of locations can do bulk assignment.
props DrewAPicture, lessbloat. fixes #23770

git-svn-id: http://core.svn.wordpress.org/trunk@23810 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-27 11:46:08 +00:00
Bot (Assets)
98c3cf6e4b Compress scripts/styles: 3.6-alpha-23809.
git-svn-id: http://core.svn.wordpress.org/trunk@23809 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-27 08:58:40 +00:00
Mark Jaquith
271030746c RTL for Nav Menu tweaks. see #23641. see #23645. props lessbloat
git-svn-id: http://core.svn.wordpress.org/trunk@23808 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-27 08:53:26 +00:00