Commit Graph

10915 Commits

Author SHA1 Message Date
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
Mark Jaquith
503210913d Use GET for nav menu selection, and default action.
fixes #23813. props helen.

git-svn-id: http://core.svn.wordpress.org/trunk@23807 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-27 08:51:17 +00:00
Andrew Ozz
04c5aefbea Logged out warnings: add fallback text dialog for:
- The login page has "X-Frame-Options: DENY" header.
- Cross-domain when displaying on the front-end on multisite with domain mapping.
- The site forces ssl login but not ssl admin.

Add onbeforeunload prompt to counter (frame-busting) JS redirects. Move the JS and CSS into separate files. See #23295.

git-svn-id: http://core.svn.wordpress.org/trunk@23805 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-27 08:43:11 +00:00
Bot (Assets)
16632826c9 Compress scripts/styles: 3.6-alpha-23791.
git-svn-id: http://core.svn.wordpress.org/trunk@23791 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-22 20:58:37 +00:00
Andrew Ozz
4064312308 Editor: fix switching Text to Visual and back if TinyMCE fails to initialise, fixes #23235
git-svn-id: http://core.svn.wordpress.org/trunk@23790 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-22 20:43:37 +00:00
Bot (Assets)
cab1999ed9 Compress scripts/styles: 3.6-alpha-23787.
git-svn-id: http://core.svn.wordpress.org/trunk@23788 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-22 18:58:40 +00:00
Sergey Biryukov
218d757979 Update RTL styles for Customizer. see #23449.
git-svn-id: http://core.svn.wordpress.org/trunk@23784 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-22 17:46:48 +00:00
Bot (Assets)
0292c24b94 Compress scripts/styles: 3.6-alpha-23779.
git-svn-id: http://core.svn.wordpress.org/trunk@23779 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-22 16:58:37 +00:00
Sergey Biryukov
6c392af24b Fix text direction for color picker in Customizer in RTL. props yoavf, mark-k. fixes #23740.
git-svn-id: http://core.svn.wordpress.org/trunk@23777 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-22 16:07:01 +00:00
Bot (Assets)
bd164e628f Compress scripts/styles: 3.6-alpha-23770.
git-svn-id: http://core.svn.wordpress.org/trunk@23770 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-21 16:58:38 +00:00
Peter Westwood
9d6988a221 Revisions: UI Update.
* Refines the UI to make it clearer and easier to use
* Introduces weighted tickmarks
* Fixes comparison bugs.

See #23497 props adamsilverstein


git-svn-id: http://core.svn.wordpress.org/trunk@23769 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-21 15:54:11 +00:00
Mark Jaquith
ebdcf967a3 Show a playable audio/video preview on the Edit Attachment screen.
props wonderboymusic. fixes #23726

git-svn-id: http://core.svn.wordpress.org/trunk@23768 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-21 05:17:25 +00:00
Bot (Assets)
8b613ac0ea Compress scripts/styles: 3.6-alpha-23767.
git-svn-id: http://core.svn.wordpress.org/trunk@23767 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-21 04:58:38 +00:00
Mark Jaquith
12d3fc7999 Add functions for generating metadata for video and audio, using the
ID3 library. Also allows themes/plugins to add thumbnail support
to these media types. Think stuff like album art, movie covers, and
video freeze-frames.

props wonderboymusic. fixes #23673

git-svn-id: http://core.svn.wordpress.org/trunk@23766 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-21 04:55:42 +00:00
Helen Hou-Sandí
d6fee50fd3 Lose the added column for post formats in the posts list table and add an icon before the title instead. Icons are clickable to filter the list table down to posts of that post type and format. props melchoyce for the icons. fixes #16047.
git-svn-id: http://core.svn.wordpress.org/trunk@23765 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-21 03:23:39 +00:00
Bot (Assets)
29e863400e Compress scripts/styles: 3.6-alpha-23764.
git-svn-id: http://core.svn.wordpress.org/trunk@23764 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-21 02:58:40 +00:00
Andrew Ozz
667e779968 Post locks: contain focus inside the dialog when tabbing, remove outline when focus is on the text, see #23697
git-svn-id: http://core.svn.wordpress.org/trunk@23763 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-21 00:57:27 +00:00
Bot (Assets)
23b1162d0b Compress scripts/styles: 3.6-alpha-23762.
git-svn-id: http://core.svn.wordpress.org/trunk@23762 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-20 06:13:30 +00:00
Sergey Biryukov
9f26938da3 Use placeholders in menu strings instead of manual concatenation. fixes #14045.
git-svn-id: http://core.svn.wordpress.org/trunk@23761 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-20 05:49:29 +00:00
Sergey Biryukov
f0a60fb9c9 Fix object name. props GaryJ. see #14045.
git-svn-id: http://core.svn.wordpress.org/trunk@23760 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-20 05:46:39 +00:00
Bot (Assets)
5d72bf7ea1 Compress scripts/styles: 3.6-alpha-23754.
git-svn-id: http://core.svn.wordpress.org/trunk@23754 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-19 18:58:40 +00:00
Helen Hou-Sandí
25c272856b Remove separate meta fields for image and gallery post formats. These are proving to be more confusing and labor-intensive from both a user and dev perspective than entering into the regular content editor. We will rely on good content parsing instead. See #19570, #23347.
git-svn-id: http://core.svn.wordpress.org/trunk@23753 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-19 17:18:07 +00:00
Bot (Assets)
9d9d86eea8 Compress scripts/styles: 3.6-alpha-23751.
git-svn-id: http://core.svn.wordpress.org/trunk@23751 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-19 04:58:37 +00:00
Ryan Boren
9890179bce Make the before() and after() methods in Bulk_Plugin_Upgrader_Skin and Bulk_Theme_Upgrader_Skin declarations match Bulk_Upgrader_Skin. Eliminates strict standards warning.
Props charlestonsw
fixes #23807


git-svn-id: http://core.svn.wordpress.org/trunk@23749 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-19 03:24:51 +00:00
Ryan Boren
43273611b8 RTL for Nav Menu tweaks. see #23641. see #23645. props DrewAPicture
git-svn-id: http://core.svn.wordpress.org/trunk@23748 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-19 03:16:24 +00:00
Andrew Ozz
043d31609f Bulk actions: do not move locked posts to the trash, props pdclark, see #23792
git-svn-id: http://core.svn.wordpress.org/trunk@23747 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-18 21:11:06 +00:00
Ryan Boren
dfd8479246 Fix i18n for revision diff strings displaying human time.
Props johnbillion
fixes #23723


git-svn-id: http://core.svn.wordpress.org/trunk@23743 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-18 17:58:30 +00:00
Ryan Boren
830c802c90 Don't allow changing the post format from quick edit and bulk edit. These do not have sufficient context to set the post format.
Props kovshenin
fixes #23426


git-svn-id: http://core.svn.wordpress.org/trunk@23742 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-18 17:24:24 +00:00
Ryan Boren
469d1a3099 Escape form action urls with esc_url() rather than esc_attr().
Props SergeyBiryukov
fixes #23266


git-svn-id: http://core.svn.wordpress.org/trunk@23739 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-18 14:01:25 +00:00
Ryan Boren
d967428a04 Cleanup additional capabilities display in user-edit.php. Mark a string for translation.
Props johnjamesjacoby, SergeyBiryukov
fixes #14267


git-svn-id: http://core.svn.wordpress.org/trunk@23737 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-18 13:27:57 +00:00
Andrew Ozz
30ad180d6a Create one autosave per user rather than a single autosave for all users. Remove unused code from autosave.js and wp_ajax_autosave(). See #23665.
git-svn-id: http://core.svn.wordpress.org/trunk@23735 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-16 21:15:43 +00:00
Bot (Assets)
d8421edcc5 Compress scripts/styles: 3.6-alpha-23734.
git-svn-id: http://core.svn.wordpress.org/trunk@23734 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-16 20:58:37 +00:00
Andrew Ozz
10f565cd6c Post locks: when a dialog is shown move focus to the text, see #23697
git-svn-id: http://core.svn.wordpress.org/trunk@23733 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-16 20:46:37 +00:00
Bot (Assets)
7a5b2c1e81 Compress scripts/styles: 3.6-alpha-23731.
git-svn-id: http://core.svn.wordpress.org/trunk@23731 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-16 06:58:41 +00:00
Andrew Ozz
2c5ad0030f Pass post format as a class to TinyMCE's body, props adamsilverstein, fixes #23198
git-svn-id: http://core.svn.wordpress.org/trunk@23730 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-16 05:57:54 +00:00
Mark Jaquith
53d12e91bc Introduce [audio] and [video] shortcodes, and use MediaElement.js to play them.
props wonderboymusic. see #23282.

git-svn-id: http://core.svn.wordpress.org/trunk@23729 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-16 05:25:44 +00:00
Bot (Assets)
af4dcdbef0 Compress scripts/styles: 3.6-alpha-23728.
git-svn-id: http://core.svn.wordpress.org/trunk@23728 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-16 04:58:37 +00:00
Mark Jaquith
9bd740f616 Accessibility revamp for nav menus.
props lessbloat. fixes #14045

git-svn-id: http://core.svn.wordpress.org/trunk@23727 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-16 04:47:19 +00:00
Bot (Assets)
46baddba34 Compress scripts/styles: 3.6-alpha-23726.
git-svn-id: http://core.svn.wordpress.org/trunk@23726 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-15 22:58:35 +00:00
Andrew Ozz
99488cb638 Post locks: add Preview button when post is locked, fix the suggested places, see #23312
git-svn-id: http://core.svn.wordpress.org/trunk@23725 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-15 21:09:20 +00:00
Sergey Biryukov
63dfa74c9f Remove unused variables. props GaryJ. fixes #23789.
git-svn-id: http://core.svn.wordpress.org/trunk@23712 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-15 17:08:04 +00:00
Sergey Biryukov
099c3c6422 Remove unused variable. props DrewAPicture. fixes #23782.
git-svn-id: http://core.svn.wordpress.org/trunk@23710 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-15 16:23:36 +00:00
Bot (Assets)
0627279350 Compress scripts/styles: 3.6-alpha-23708.
git-svn-id: http://core.svn.wordpress.org/trunk@23708 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-15 14:58:36 +00:00
Mark Jaquith
83bb916b81 Turn the Nav Menu meta boxes into an accordion. Less sprawling and overwhelming.
* Registration stays the same — they're meta boxes
* Call `do_accordion_sections()` instead of `do_meta_boxes()` and they render as an accordion

props DrewAPicture, lessbloat, jkudish. fixes #23450. see #23449

git-svn-id: http://core.svn.wordpress.org/trunk@23707 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-15 13:16:38 +00:00
Andrew Ozz
21c2d8662c Logged out warnings: remove the logged out warning from autosave when in login_grace_period, see #23295
git-svn-id: http://core.svn.wordpress.org/trunk@23699 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-14 21:31:02 +00:00
Andrew Ozz
a224d8aaf7 Local autosave: set a temp cookie on submitting the form and change it on redirecting after the post is saved/updated, then use it to determine if saving worked properly. Removes the chance for false positives after saving/updating a post. See #23220
git-svn-id: http://core.svn.wordpress.org/trunk@23693 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-14 03:06:07 +00:00
Andrew Ozz
d46102d258 Logged out warnings, heartbeat: remove nopriv_autosave as it doubles the functionality of the logged out warnings, move wp_ajax_nopriv_heartbeat() under No-privilege Ajax handlers in ajax-actions.php, see #23295, see #23216
git-svn-id: http://core.svn.wordpress.org/trunk@23692 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-13 23:54:12 +00:00
Andrew Ozz
e9245269a7 Autosave to the browser's sessionStorage, compare this autosave to the post content on page load and let the user restore it when the data is not the same. First run, see #23220
git-svn-id: http://core.svn.wordpress.org/trunk@23683 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-13 10:08:16 +00:00
Bot (Assets)
1cafcbf0bb Compress scripts/styles: 3.6-alpha-23682.
git-svn-id: http://core.svn.wordpress.org/trunk@23682 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-13 00:58:39 +00:00
Andrew Ozz
3b4b058275 Post locks on the posts list screen: new icons for the lock, props empireoflight, show avatar for the user currently editing, props dh-shredder, see #23312
git-svn-id: http://core.svn.wordpress.org/trunk@23681 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-13 00:28:07 +00:00
Sergey Biryukov
28248c1b08 Make get_home_path() return consistent slashes. fixes #23175.
git-svn-id: http://core.svn.wordpress.org/trunk@23669 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-12 11:04:14 +00:00
Sergey Biryukov
f86b1502a0 Fix fatal error in WP_User_Query when searching users by URL. Move wp_is_large_network() to wp-includes. fixes #23683 for trunk.
git-svn-id: http://core.svn.wordpress.org/trunk@23664 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-12 09:19:55 +00:00
Sergey Biryukov
f29bb91f05 Fix missing i18n in auto-draft titles. fixes #23565.
git-svn-id: http://core.svn.wordpress.org/trunk@23663 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-12 08:57:27 +00:00
Bot (Assets)
b84dfe36bf Compress scripts/styles: 3.6-alpha-23662.
git-svn-id: http://core.svn.wordpress.org/trunk@23662 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-12 04:58:35 +00:00
Andrew Ozz
edb9333d40 Check post locks with heartbeat and display modal notifications when a post is locked or a user takes over editing, props dh-shredder, see #23697
git-svn-id: http://core.svn.wordpress.org/trunk@23661 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-12 03:22:30 +00:00
Sergey Biryukov
539ad97c8b Replace deprecated WP_Screen::is_network property with WP_Screen::in_admin( 'network' ). props bpetty. fixes #23215.
git-svn-id: http://core.svn.wordpress.org/trunk@23658 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-09 03:52:27 +00:00
Sergey Biryukov
b1d55a5796 Update Network Dashboard help text. props DrewAPicture, raggedrobins. see #23163.
git-svn-id: http://core.svn.wordpress.org/trunk@23657 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-09 03:18:26 +00:00
Sergey Biryukov
973985c2ce Prevent plugins with certain filenames from breaking links in the admin menu. props lightningspirit. fixes #22079.
git-svn-id: http://core.svn.wordpress.org/trunk@23656 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-09 02:48:49 +00:00
Bot (Assets)
65e8f3e3cd Compress scripts/styles: 3.6-alpha-23646.
git-svn-id: http://core.svn.wordpress.org/trunk@23646 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-07 22:58:48 +00:00
Mark Jaquith
adecc9f798 Add back "Add New" next to h2 on Nav Menus screen.
props DrewAPicture. see #23641

git-svn-id: http://core.svn.wordpress.org/trunk@23641 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-07 17:04:32 +00:00
Andrew Nacin
1e555a03a1 Remove message slide-down effect on the nav-menus.php page. props lessbloat, fixes #23714.
git-svn-id: http://core.svn.wordpress.org/trunk@23640 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-07 17:03:15 +00:00
Peter Westwood
51db623107 Revisions: Updates to the new Revisions UI.
Various Updates including:
 * i18n fixes
 * Added tracking of what revision ID was restored
 * async fetching of diffs so that slider works sooner even with many revisions

See #23497 props adamsilverstein, ethitter


git-svn-id: http://core.svn.wordpress.org/trunk@23639 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-07 15:32:26 +00:00
Peter Westwood
082e9342b7 Revisions: Update the Styling for the Revisions UI props karmatosed see #23497.
git-svn-id: http://core.svn.wordpress.org/trunk@23638 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-07 15:11:23 +00:00
Sergey Biryukov
831afad92c When adding a new user in the admin, strip slashes from the password sent to the user by email. props hakre for initial patch. fixes #17018.
git-svn-id: http://core.svn.wordpress.org/trunk@23634 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-07 06:00:16 +00:00
Sergey Biryukov
caf591b7aa Declare the variable before using it. props danielbachhuber. fixes #23710.
git-svn-id: http://core.svn.wordpress.org/trunk@23632 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-07 04:46:19 +00:00
Andrew Nacin
ebe758b5c6 Use auto-draft rather than post_ID = 0 to detect whether we are adding a new post. see #23665.
git-svn-id: http://core.svn.wordpress.org/trunk@23631 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-06 23:55:54 +00:00
Bot (Assets)
ee6d4020c9 Compress scripts/styles: 3.6-alpha-23627.
git-svn-id: http://core.svn.wordpress.org/trunk@23627 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-06 22:58:49 +00:00
Mark Jaquith
dded305ec0 RTL for Nav Menu tweaks. see #23641. fixes #23645. props DrewAPicture.
git-svn-id: http://core.svn.wordpress.org/trunk@23623 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-06 19:37:25 +00:00
Mark Jaquith
68bc33d128 Tweak the Nav Menu UX, especially around menu creation.
props lessbloat, DrewAPicture, jkudish. fixes #23641

git-svn-id: http://core.svn.wordpress.org/trunk@23622 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-06 19:34:01 +00:00
Ryan Boren
da7db424de Call them network upgrades rather than network updates to better indicate that they are DB upgrades rather than code/file upgrades.
Improve the contextual help for the Network Upgrade screen.

Props DrewAPicture
fixes #23540


git-svn-id: http://core.svn.wordpress.org/trunk@23619 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-05 17:02:31 +00:00
Bot (Assets)
06762563eb Compress scripts/styles: 3.6-alpha-23617.
git-svn-id: http://core.svn.wordpress.org/trunk@23617 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-05 14:49:17 +00:00
Helen Hou-Sandí
fffc2e1ab1 Prevent an unseemly gap on the edit screen when nothing else displays before normal meta boxes. Give better HTML and visual structure to items added via edit_form_after_title and edit_form_after_editor. Using a class of .edit-form-section will now get you a 20px bottom margin; perfect for your additions to the post edit screen. fixes #23240.
git-svn-id: http://core.svn.wordpress.org/trunk@23615 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-04 23:22:17 +00:00
Sergey Biryukov
581975e9bf Add description for wp_dashboard_rss_output(). props aaronholbrook for initial patch. fixes #23301.
git-svn-id: http://core.svn.wordpress.org/trunk@23606 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-04 04:34:39 +00:00
Bot (Assets)
5c6f23dcef Compress scripts/styles: 3.6-alpha-23596.
git-svn-id: http://core.svn.wordpress.org/trunk@23596 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-03 22:58:36 +00:00
Ryan Boren
15a06a35ab Use wp_unslash() instead of stripslashes() and stripslashes_deep(). Use wp_slash() instead of add_magic_quotes().
see #WP21767


git-svn-id: http://core.svn.wordpress.org/trunk@23591 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-03 16:30:38 +00:00
Sergey Biryukov
becc1627d8 Remove unused function. fixes #23671.
git-svn-id: http://core.svn.wordpress.org/trunk@23587 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-03 00:06:09 +00:00
Sergey Biryukov
9791dc695b Fix checkbox synchronization on Edit Link screen. fixes #23670.
git-svn-id: http://core.svn.wordpress.org/trunk@23586 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-02 23:58:34 +00:00
Bot (Assets)
72e1b2fbc3 Compress scripts/styles: 3.6-alpha-23585.
git-svn-id: http://core.svn.wordpress.org/trunk@23585 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-02 22:58:34 +00:00
Sergey Biryukov
f288da4b7b Use correct variable. see [23575]. see #21767.
git-svn-id: http://core.svn.wordpress.org/trunk@23584 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-02 21:10:12 +00:00
Helen Hou-Sandí
299d23d31a Don't make ordered lists in help tabs look like bulleted lists. props ninnypants. fixes #23659.
git-svn-id: http://core.svn.wordpress.org/trunk@23583 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-02 17:47:48 +00:00
Bot (Assets)
ca7340c873 Compress scripts/styles: 3.6-alpha-23582.
git-svn-id: http://core.svn.wordpress.org/trunk@23582 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-01 22:58:38 +00:00
Helen Hou-Sandí
024a05300e * Simplify jQuery UI slider CSS and bring into line with admin styles.
* Merge styles into wp-admin.css and colors-*.css.
* Scope the CSS with a class so as not to conflict with the color picker, which also utilizes jQuery UI slider. Authors wanting to use built-in styling for sliders should add a class of `.wp-slider` to the container to be intialized.

props karmatosed, helen. see #23497.


git-svn-id: http://core.svn.wordpress.org/trunk@23581 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-01 19:24:03 +00:00
Andrew Nacin
b96c604833 Don't unslash variables that came from wp_reset_vars(). see #21767.
git-svn-id: http://core.svn.wordpress.org/trunk@23580 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-01 18:59:54 +00:00
Andrew Nacin
7b47322e22 Ensure the referer functions operate completely on unslashed data: wp_referer_field(), wp_original_referer_field(), wp_get_referer(), wp_get_original_referer().
Use wp_slash() instead of addslashes().

see #21767.



git-svn-id: http://core.svn.wordpress.org/trunk@23578 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-01 17:58:43 +00:00
Andrew Nacin
76c03073d9 Remove an unslash in the deprecated WP_User_Search, as search_term is already unslashed in the constructor. see #21767.
git-svn-id: http://core.svn.wordpress.org/trunk@23577 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-01 17:57:49 +00:00
Andrew Nacin
237f810852 Unslash early, directly on the superglobal. see #21767.
git-svn-id: http://core.svn.wordpress.org/trunk@23576 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-01 17:57:08 +00:00
Andrew Nacin
4e06d41b9f Assume that url_shorten() receives unslashed data, as it does in core usage. see #21767.
git-svn-id: http://core.svn.wordpress.org/trunk@23575 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-01 17:56:31 +00:00
Ryan Boren
09d2c65970 Always wp_unslash() the return of wp_get_referer().
see #21767


git-svn-id: http://core.svn.wordpress.org/trunk@23570 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-01 17:20:32 +00:00
Ryan Boren
f3a83744e9 Use wp_unslash() instead of stripslashes() and stripslashes_deep(). Use wp_slash() instead of add_magic_quotes().
git-svn-id: http://core.svn.wordpress.org/trunk@23567 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-01 17:14:09 +00:00
Sergey Biryukov
80f62f3c21 Add missing comma. props bradparbs. fixes #22507.
git-svn-id: http://core.svn.wordpress.org/trunk@23566 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-01 17:12:02 +00:00
Ryan Boren
68b11a7c8f Use prepare instead of escape.
see #21767


git-svn-id: http://core.svn.wordpress.org/trunk@23564 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-01 17:01:01 +00:00