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
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
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
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 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
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
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
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
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
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
bumpbot
50b9f427b5
Compress scripts/styles: 3.6-alpha-23852.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@23852 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-29 06:58:40 +00:00
Mark Jaquith
37f14ced6b
Defer JS to document ready
...
git-svn-id: https://develop.svn.wordpress.org/trunk@23851 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-29 06:42:54 +00:00
Mark Jaquith
b34d814578
Clean up mixed spaces/tabs in post-formats.js
...
git-svn-id: https://develop.svn.wordpress.org/trunk@23850 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-29 06:33:55 +00:00
Mark Jaquith
fe4da10a48
Add compat code for 'image' post format.
...
see #19570 . props wonderboymusic.
git-svn-id: https://develop.svn.wordpress.org/trunk@23847 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-29 05:21:23 +00:00
bumpbot
fc753f9803
Compress scripts/styles: 3.6-alpha-23846.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@23846 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-29 04:58:39 +00:00
Mark Jaquith
0f9ebf4c63
Post Format prompt copy tweaks. props sabreuse. see #19570
...
git-svn-id: https://develop.svn.wordpress.org/trunk@23845 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-29 04:19:44 +00:00
Mark Jaquith
f290fe2b51
Nav Menus help tab updates.
...
fixes #23608 . props DrewAPicture, Ipstenu, JerrySarcastic.
git-svn-id: https://develop.svn.wordpress.org/trunk@23844 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-29 03:39:34 +00:00
Mark Jaquith
e7cde8715f
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: https://develop.svn.wordpress.org/trunk@23843 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-29 03:35:41 +00:00
Mark Jaquith
15a0ae209d
Kill the HR on revisions page. see #23497
...
git-svn-id: https://develop.svn.wordpress.org/trunk@23834 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-28 03:17:03 +00:00
bumpbot
9681287f64
Compress scripts/styles: 3.6-alpha-23833.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@23833 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-28 02:58:39 +00:00
Mark Jaquith
b134331956
Make sure that the ID of the right revision is not less than the ID of the left revision
...
see #23497
git-svn-id: https://develop.svn.wordpress.org/trunk@23832 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-28 02:49:55 +00:00
Mark Jaquith
240dc4b968
correct a revision/tooltip mismatch.
...
props adamsilverstein. see #23497
git-svn-id: https://develop.svn.wordpress.org/trunk@23831 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-28 01:51:12 +00:00
Mark Jaquith
54e229a8b8
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: https://develop.svn.wordpress.org/trunk@23823 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-27 20:21:38 +00:00
Mark Jaquith
404aa52ea2
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: https://develop.svn.wordpress.org/trunk@23818 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-27 18:11:56 +00:00
bumpbot
a60042072a
Compress scripts/styles: 3.6-alpha-23815.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@23815 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-27 14:58:40 +00:00
Mark Jaquith
348f0f4fd5
*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: https://develop.svn.wordpress.org/trunk@23813 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-27 12:59:41 +00:00
bumpbot
156cb9baab
Compress scripts/styles: 3.6-alpha-23812.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@23812 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-27 12:58:43 +00:00
Mark Jaquith
51708e83c6
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: https://develop.svn.wordpress.org/trunk@23810 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-27 11:46:08 +00:00