Commit Graph

11011 Commits

Author SHA1 Message Date
Andrew Ozz
6573ffa1e1 Revisions: look at the version of the earliest revision when checking whether to upgrade the revisions authors, see #16215
git-svn-id: http://core.svn.wordpress.org/trunk@24026 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-04-18 05:02:57 +00:00
Sergey Biryukov
5f2f48135b Rename some variables for consistency. Remove redundant absint() call. see #24010.
git-svn-id: http://core.svn.wordpress.org/trunk@24024 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-04-18 00:40:36 +00:00
Bot (Assets)
c68aecdba2 Compress scripts/styles: 3.6-beta1-24023.
git-svn-id: http://core.svn.wordpress.org/trunk@24023 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-04-17 22:58:38 +00:00
Bot (Assets)
c6f065991e Compress scripts/styles: 3.6-beta1-24021.
git-svn-id: http://core.svn.wordpress.org/trunk@24022 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-04-17 20:58:42 +00:00
Mark Jaquith
412161de03 Standardize post format postmeta keys around the ones already used by the Crowd Favorite plugin.
props wonderboymusic. fixes #24010.

git-svn-id: http://core.svn.wordpress.org/trunk@24021 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-04-17 20:57:44 +00:00
Dominik Schilling
670c0e173f Revisions UI: Disable previous and next buttons when you're on the first, and last node. Put revision ticks above the slider range. props lessbloat for initial patch. see #23899.
git-svn-id: http://core.svn.wordpress.org/trunk@24020 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-04-17 20:12:25 +00:00
Dominik Schilling
45a9b723ee Revisions: Clean up JavaScript variable names, see #23901.
git-svn-id: http://core.svn.wordpress.org/trunk@24019 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-04-17 19:34:21 +00:00
Sergey Biryukov
a1bbc975b4 Make sure the variables are always defined. props tlovett1, danielbachhuber. fixes #24034. fixes #24112.
git-svn-id: http://core.svn.wordpress.org/trunk@24011 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-04-17 15:36:13 +00:00
Bot (Assets)
3841d591e6 Compress scripts/styles: 3.6-beta1-24008.
git-svn-id: http://core.svn.wordpress.org/trunk@24008 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-04-17 06:58:39 +00:00
Mark Jaquith
81a2d77654 A little cleanup of post-formats.js
git-svn-id: http://core.svn.wordpress.org/trunk@24007 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-04-17 05:22:14 +00:00
Mark Jaquith
56d5d62a19 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: http://core.svn.wordpress.org/trunk@24006 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-04-17 04:08:46 +00:00
Mark Jaquith
755bece0bb Consistently apply class="title" to our options page h3 tags.
props norcross. fixes #24080.

git-svn-id: http://core.svn.wordpress.org/trunk@24002 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-04-16 20:19:29 +00:00
Bot (Assets)
3a0aeb8013 Compress scripts/styles: 3.6-beta1-23997.
git-svn-id: http://core.svn.wordpress.org/trunk@23997 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-04-15 20:58:38 +00:00
Bot (Assets)
0c4cd3cd94 Compress scripts/styles: 3.6-beta1-23995.
git-svn-id: http://core.svn.wordpress.org/trunk@23996 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-04-15 18:58:41 +00:00
Dominik Schilling
2feeb121ff Revisions UI: Increase the text contrast/color for the diffs. see #23810.
git-svn-id: http://core.svn.wordpress.org/trunk@23995 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-04-15 18:57:04 +00:00
Dominik Schilling
731f040664 Revisions UI: Remove the "To:" prefix from the header when viewing a single revision. Also prefix a revision field with a label.
props SergeyBiryukov, adamsilverstein, faishal. fixes #23903.

git-svn-id: http://core.svn.wordpress.org/trunk@23994 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-04-15 18:40:17 +00:00
Sergey Biryukov
4cb9074985 Remove unused variables introduced in [23843]. see #19570.
git-svn-id: http://core.svn.wordpress.org/trunk@23993 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-04-15 18:16:01 +00:00
Bot (Assets)
ff09215e32 Compress scripts/styles: 3.6-beta1-23990.
git-svn-id: http://core.svn.wordpress.org/trunk@23990 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-04-14 16:58:35 +00:00
Mark Jaquith
de45c749df Constrain large videos from rendering bigger than $content_width on both frontend and backend.
props wonderboymusic. fixes #23955.

git-svn-id: http://core.svn.wordpress.org/trunk@23989 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-04-14 16:43:26 +00:00
Bot (Assets)
1275da6ecd Compress scripts/styles: 3.6-beta1-23987.
git-svn-id: http://core.svn.wordpress.org/trunk@23987 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-04-14 02:58:39 +00:00
Mark Jaquith
21bb61466a Only say we accept a raw video/audio embed code for unfiltered_html users.
props wonderboymusic. see #23961

git-svn-id: http://core.svn.wordpress.org/trunk@23985 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-04-14 01:21:47 +00:00
Mark Jaquith
697bf3d70e Only remove ONE piece of media from the content in setup_postdata().
props wonderboymusic. fixes #24052.

git-svn-id: http://core.svn.wordpress.org/trunk@23984 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-04-14 01:11:44 +00:00
Bot (Assets)
ce42190a4c Compress scripts/styles: 3.6-beta1-23983.
git-svn-id: http://core.svn.wordpress.org/trunk@23983 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-04-13 00:58:37 +00:00
Andrew Ozz
e315287283 Fix accidental revert of revisions comparison in [23981]
git-svn-id: http://core.svn.wordpress.org/trunk@23982 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-04-13 00:45:47 +00:00
Andrew Ozz
76302d7d3c Post locks: make sure we never overwrite a draft when it's locked, clean up wp_ajax_autosave() and make wp-refresh-post-lock a bit more robust, see #23697
git-svn-id: http://core.svn.wordpress.org/trunk@23981 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-04-13 00:41:15 +00:00
Bot (Assets)
17204391be Compress scripts/styles: 3.6-beta1-23980.
git-svn-id: http://core.svn.wordpress.org/trunk@23980 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-04-12 22:58:39 +00:00
Mark Jaquith
94c5f0aca1 Use ID3 data for audio and video
fixes #23926. props wonderboymusic, SergeyBiryukov, johnbillion.

git-svn-id: http://core.svn.wordpress.org/trunk@23979 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-04-12 22:27:24 +00:00
Dominik Schilling
57dca8c80e Set a height for post title input
Firefox ​ignores the line-height because it declares line-height with `normal !important` in one of it's browser stylesheets. This can result in missing dots above umlauts.

props helen, lessbloat.
fixes #23189


git-svn-id: http://core.svn.wordpress.org/trunk@23976 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-04-12 21:19:22 +00:00
Andrew Ozz
44752d0dad 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: http://core.svn.wordpress.org/trunk@23975 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-04-12 19:29:21 +00:00
Ryan Boren
003941b2e7 Use API instead of bare SQL queries in site-users.php.
see #21767


git-svn-id: http://core.svn.wordpress.org/trunk@23974 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-04-12 13:35:45 +00:00
Bot (Assets)
aa441349c8 Compress scripts/styles: 3.6-beta1-23970.
git-svn-id: http://core.svn.wordpress.org/trunk@23970 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-04-11 22:58:39 +00:00
Mark Jaquith
4a3ced1433 Enforce video dimensions.
props wonderboymusic. see #23831.

git-svn-id: http://core.svn.wordpress.org/trunk@23969 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-04-11 22:34:05 +00:00
Helen Hou-Sandí
bf12a91981 Add .edit-form-section class to the comment edit form for correct spacing. fixes #23240.
git-svn-id: http://core.svn.wordpress.org/trunk@23955 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-04-10 19:20:13 +00:00
Sergey Biryukov
4471620636 Fix copy/paste error in user-new.php. props tivnet. fixes #24022.
git-svn-id: http://core.svn.wordpress.org/trunk@23950 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-04-10 16:13:59 +00:00
Sergey Biryukov
97e19c7c3a Fix typo in upgrade_100(). props tivnet, bpetty. fixes #24020.
git-svn-id: http://core.svn.wordpress.org/trunk@23949 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-04-10 16:04:36 +00:00
Ryan Boren
63e67b414b Allow turning off the post formats UI via a show_post_format_ui filter.
Props johnbillion
see #23929


git-svn-id: http://core.svn.wordpress.org/trunk@23946 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-04-09 22:43:28 +00:00
Sergey Biryukov
e3e667056d Add alt attribute for selected image. see #19570.
git-svn-id: http://core.svn.wordpress.org/trunk@23940 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-04-09 17:12:47 +00:00
Sergey Biryukov
af0815a45c Fix inconsistent id attributes. props kovshenin. fixes #24006.
git-svn-id: http://core.svn.wordpress.org/trunk@23939 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-04-09 17:08:25 +00:00
Sergey Biryukov
beffadaefc Fix closing tag in revisions UI. props adamsilverstein. fixes #23999.
git-svn-id: http://core.svn.wordpress.org/trunk@23934 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-04-08 23:38:48 +00:00
Helen Hou-Sandí
bd4cc15d68 Remove unnecessary label, placeholder, and class for a hidden input. see #23938.
git-svn-id: http://core.svn.wordpress.org/trunk@23931 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-04-07 16:49:56 +00:00
Andrew Ozz
9fe85b154e 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: http://core.svn.wordpress.org/trunk@23929 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-04-06 23:43:05 +00:00
Andrew Ozz
33dd4b3d69 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: http://core.svn.wordpress.org/trunk@23928 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-04-06 23:18:52 +00:00
Bot (Assets)
98fc1a774a Compress scripts/styles: 3.6-beta1-23927.
git-svn-id: http://core.svn.wordpress.org/trunk@23927 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-04-06 22:58:42 +00:00
Andrew Ozz
50ff2315a6 Post formats: connect labels with fields, move the two css blocks dealing with formats next to each other, see #23938
git-svn-id: http://core.svn.wordpress.org/trunk@23926 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-04-06 21:40:58 +00:00
Andrew Nacin
eb142744d8 Remove dead code. Removed in [23445], accidentally reinstated in [23554]. This was found during wp_reset_vars() cleanup. see #21767.
git-svn-id: http://core.svn.wordpress.org/trunk@23925 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-04-06 20:47:12 +00:00
Sergey Biryukov
8d546ad739 Avoid an undefined index notice in wp_read_video_metadata(). props ocean90. fixes #23953.
git-svn-id: http://core.svn.wordpress.org/trunk@23923 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-04-06 00:29:12 +00:00
Bot (Assets)
6da5f5f2d1 Compress scripts/styles: 3.6-beta1-23919.
git-svn-id: http://core.svn.wordpress.org/trunk@23919 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-04-05 02:58:49 +00:00
Helen Hou-Sandí
42412f66b1 Show labels and remove improperly-used placeholders for post format fields. props Ipstenu, azaozz. see #23938.
git-svn-id: http://core.svn.wordpress.org/trunk@23918 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-04-05 02:37:13 +00:00
Bot (Assets)
bbed923f5a Compress scripts/styles: 3.6-beta1-23917.
git-svn-id: http://core.svn.wordpress.org/trunk@23917 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-04-05 00:58:45 +00:00
Sergey Biryukov
c7dabe0e5d Use correct class. see #23933.
git-svn-id: http://core.svn.wordpress.org/trunk@23915 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-04-05 00:20:19 +00:00
Bot (Assets)
2d4b834a16 Compress scripts/styles: 3.6-beta1-23913.
git-svn-id: http://core.svn.wordpress.org/trunk@23913 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-04-04 22:58:47 +00:00
Andrew Nacin
bc7082a7c3 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: http://core.svn.wordpress.org/trunk@23912 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-04-04 21:10:54 +00:00
Bot (Assets)
9fbd318d49 Compress scripts/styles: 3.6-beta1-23909.
git-svn-id: http://core.svn.wordpress.org/trunk@23910 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-04-04 20:58:48 +00:00
Sergey Biryukov
f5bcbce283 Use correct id attribute. props ocean90. fixes #23937.
git-svn-id: http://core.svn.wordpress.org/trunk@23909 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-04-04 20:58:33 +00:00
Sergey Biryukov
9e78cd0042 Fix typo in revisions JS/CSS. props mgibbs189, JustinSainton. fixes #23941.
git-svn-id: http://core.svn.wordpress.org/trunk@23908 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-04-04 20:49:26 +00:00
Andrew Nacin
3015605cae Use get_post() in lieu of direct query in wp_ajax_replyto_comment(). fixes #23940.
git-svn-id: http://core.svn.wordpress.org/trunk@23907 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-04-04 18:44:38 +00:00
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