Commit Graph

10819 Commits

Author SHA1 Message Date
Andrew Ozz 9288856e55 Post locks: add Preview button when post is locked, fix the suggested places, see #23312
git-svn-id: https://develop.svn.wordpress.org/trunk@23725 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-15 21:09:20 +00:00
Sergey Biryukov 06649a7832 Remove unused variables. props GaryJ. fixes #23789.
git-svn-id: https://develop.svn.wordpress.org/trunk@23712 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-15 17:08:04 +00:00
Sergey Biryukov e7d746e561 Remove unused variable. props DrewAPicture. fixes #23782.
git-svn-id: https://develop.svn.wordpress.org/trunk@23710 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-15 16:23:36 +00:00
bumpbot 117e132a94 Compress scripts/styles: 3.6-alpha-23708.
git-svn-id: https://develop.svn.wordpress.org/trunk@23708 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-15 14:58:36 +00:00
Mark Jaquith 6c5a64408a 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: https://develop.svn.wordpress.org/trunk@23707 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-15 13:16:38 +00:00
Andrew Ozz 860ccd0cba Logged out warnings: remove the logged out warning from autosave when in login_grace_period, see #23295
git-svn-id: https://develop.svn.wordpress.org/trunk@23699 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-14 21:31:02 +00:00
Andrew Ozz 5e71fb3992 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: https://develop.svn.wordpress.org/trunk@23693 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-14 03:06:07 +00:00
Andrew Ozz a1ae5c0d28 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: https://develop.svn.wordpress.org/trunk@23692 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-13 23:54:12 +00:00
Andrew Ozz 4ad27d6d14 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: https://develop.svn.wordpress.org/trunk@23683 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-13 10:08:16 +00:00
bumpbot 5e439e799e Compress scripts/styles: 3.6-alpha-23682.
git-svn-id: https://develop.svn.wordpress.org/trunk@23682 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-13 00:58:39 +00:00
Andrew Ozz 631980b5fa 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: https://develop.svn.wordpress.org/trunk@23681 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-13 00:28:07 +00:00
Sergey Biryukov 69566bbd21 Make get_home_path() return consistent slashes. fixes #23175.
git-svn-id: https://develop.svn.wordpress.org/trunk@23669 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-12 11:04:14 +00:00
Sergey Biryukov 514e6ca11f 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: https://develop.svn.wordpress.org/trunk@23664 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-12 09:19:55 +00:00
Sergey Biryukov 18d4ae9d54 Fix missing i18n in auto-draft titles. fixes #23565.
git-svn-id: https://develop.svn.wordpress.org/trunk@23663 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-12 08:57:27 +00:00
bumpbot 96f4a86553 Compress scripts/styles: 3.6-alpha-23662.
git-svn-id: https://develop.svn.wordpress.org/trunk@23662 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-12 04:58:35 +00:00
Andrew Ozz 92c30a26fb 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: https://develop.svn.wordpress.org/trunk@23661 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-12 03:22:30 +00:00
Sergey Biryukov aea7b67a2e Replace deprecated WP_Screen::is_network property with WP_Screen::in_admin( 'network' ). props bpetty. fixes #23215.
git-svn-id: https://develop.svn.wordpress.org/trunk@23658 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-09 03:52:27 +00:00
Sergey Biryukov aa44600be8 Update Network Dashboard help text. props DrewAPicture, raggedrobins. see #23163.
git-svn-id: https://develop.svn.wordpress.org/trunk@23657 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-09 03:18:26 +00:00
Sergey Biryukov d25b3c5c19 Prevent plugins with certain filenames from breaking links in the admin menu. props lightningspirit. fixes #22079.
git-svn-id: https://develop.svn.wordpress.org/trunk@23656 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-09 02:48:49 +00:00
bumpbot 5d98f47677 Compress scripts/styles: 3.6-alpha-23646.
git-svn-id: https://develop.svn.wordpress.org/trunk@23646 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-07 22:58:48 +00:00
Mark Jaquith 2f09df84f3 Add back "Add New" next to h2 on Nav Menus screen.
props DrewAPicture. see #23641

git-svn-id: https://develop.svn.wordpress.org/trunk@23641 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-07 17:04:32 +00:00
Andrew Nacin d049a2b1ed Remove message slide-down effect on the nav-menus.php page. props lessbloat, fixes #23714.
git-svn-id: https://develop.svn.wordpress.org/trunk@23640 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-07 17:03:15 +00:00
Peter Westwood ae4522b5f1 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: https://develop.svn.wordpress.org/trunk@23639 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-07 15:32:26 +00:00
Peter Westwood b88687d67e Revisions: Update the Styling for the Revisions UI props karmatosed see #23497.
git-svn-id: https://develop.svn.wordpress.org/trunk@23638 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-07 15:11:23 +00:00
Sergey Biryukov 7e7cf2bb94 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: https://develop.svn.wordpress.org/trunk@23634 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-07 06:00:16 +00:00
Sergey Biryukov 458b77814c Declare the variable before using it. props danielbachhuber. fixes #23710.
git-svn-id: https://develop.svn.wordpress.org/trunk@23632 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-07 04:46:19 +00:00
Andrew Nacin e2fa722fbb Use auto-draft rather than post_ID = 0 to detect whether we are adding a new post. see #23665.
git-svn-id: https://develop.svn.wordpress.org/trunk@23631 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-06 23:55:54 +00:00
bumpbot bc37473b87 Compress scripts/styles: 3.6-alpha-23627.
git-svn-id: https://develop.svn.wordpress.org/trunk@23627 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-06 22:58:49 +00:00
Mark Jaquith 5fdeae8ffd RTL for Nav Menu tweaks. see #23641. fixes #23645. props DrewAPicture.
git-svn-id: https://develop.svn.wordpress.org/trunk@23623 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-06 19:37:25 +00:00
Mark Jaquith d422fd5331 Tweak the Nav Menu UX, especially around menu creation.
props lessbloat, DrewAPicture, jkudish. fixes #23641

git-svn-id: https://develop.svn.wordpress.org/trunk@23622 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-06 19:34:01 +00:00
Ryan Boren ec09b27a71 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: https://develop.svn.wordpress.org/trunk@23619 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-05 17:02:31 +00:00
bumpbot 32e9ee9d42 Compress scripts/styles: 3.6-alpha-23617.
git-svn-id: https://develop.svn.wordpress.org/trunk@23617 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-05 14:49:17 +00:00
Helen Hou-Sandi a847ce2f36 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: https://develop.svn.wordpress.org/trunk@23615 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-04 23:22:17 +00:00
Sergey Biryukov b87d12f45f Add description for wp_dashboard_rss_output(). props aaronholbrook for initial patch. fixes #23301.
git-svn-id: https://develop.svn.wordpress.org/trunk@23606 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-04 04:34:39 +00:00
bumpbot cb9f18d20f Compress scripts/styles: 3.6-alpha-23596.
git-svn-id: https://develop.svn.wordpress.org/trunk@23596 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-03 22:58:36 +00:00
Ryan Boren b78520da15 Use wp_unslash() instead of stripslashes() and stripslashes_deep(). Use wp_slash() instead of add_magic_quotes().
see #WP21767


git-svn-id: https://develop.svn.wordpress.org/trunk@23591 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-03 16:30:38 +00:00
Sergey Biryukov d6139ccade Remove unused function. fixes #23671.
git-svn-id: https://develop.svn.wordpress.org/trunk@23587 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-03 00:06:09 +00:00
Sergey Biryukov 22ec39f6e2 Fix checkbox synchronization on Edit Link screen. fixes #23670.
git-svn-id: https://develop.svn.wordpress.org/trunk@23586 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-02 23:58:34 +00:00
bumpbot 0c4b47f631 Compress scripts/styles: 3.6-alpha-23585.
git-svn-id: https://develop.svn.wordpress.org/trunk@23585 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-02 22:58:34 +00:00
Sergey Biryukov 83de7017df Use correct variable. see [23575]. see #21767.
git-svn-id: https://develop.svn.wordpress.org/trunk@23584 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-02 21:10:12 +00:00
Helen Hou-Sandi aae1d4ef75 Don't make ordered lists in help tabs look like bulleted lists. props ninnypants. fixes #23659.
git-svn-id: https://develop.svn.wordpress.org/trunk@23583 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-02 17:47:48 +00:00
bumpbot ec3fda3cc1 Compress scripts/styles: 3.6-alpha-23582.
git-svn-id: https://develop.svn.wordpress.org/trunk@23582 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-01 22:58:38 +00:00
Helen Hou-Sandi 45b4d47b02 * 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: https://develop.svn.wordpress.org/trunk@23581 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-01 19:24:03 +00:00
Andrew Nacin b617e4742a Don't unslash variables that came from wp_reset_vars(). see #21767.
git-svn-id: https://develop.svn.wordpress.org/trunk@23580 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-01 18:59:54 +00:00
Andrew Nacin 12882f9848 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: https://develop.svn.wordpress.org/trunk@23578 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-01 17:58:43 +00:00
Andrew Nacin 1b8afaa995 Remove an unslash in the deprecated WP_User_Search, as search_term is already unslashed in the constructor. see #21767.
git-svn-id: https://develop.svn.wordpress.org/trunk@23577 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-01 17:57:49 +00:00
Andrew Nacin e8e569ccd2 Unslash early, directly on the superglobal. see #21767.
git-svn-id: https://develop.svn.wordpress.org/trunk@23576 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-01 17:57:08 +00:00
Andrew Nacin 0d54b5febe Assume that url_shorten() receives unslashed data, as it does in core usage. see #21767.
git-svn-id: https://develop.svn.wordpress.org/trunk@23575 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-01 17:56:31 +00:00
Ryan Boren 37fae23001 Always wp_unslash() the return of wp_get_referer().
see #21767


git-svn-id: https://develop.svn.wordpress.org/trunk@23570 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-01 17:20:32 +00:00
Ryan Boren 436b32ef62 Use wp_unslash() instead of stripslashes() and stripslashes_deep(). Use wp_slash() instead of add_magic_quotes().
git-svn-id: https://develop.svn.wordpress.org/trunk@23567 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-01 17:14:09 +00:00