Commit Graph

10805 Commits

Author SHA1 Message Date
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
Ryan Boren
5f809d1d22 Use wp_unslash() instead of stripslashes() and stripslashes_deep(). Use wp_slash() instead of add_magic_quotes().
see #21767


git-svn-id: http://core.svn.wordpress.org/trunk@23563 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-01 17:00:25 +00:00
Sergey Biryukov
4aca3c1e89 Consistently apply 'preview_post_link' filter. fixes #19378.
git-svn-id: http://core.svn.wordpress.org/trunk@23560 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-01 16:46:25 +00:00
Ryan Boren
ea480a8a90 There is no need to strip the output of get_site_option().
see #21767


git-svn-id: http://core.svn.wordpress.org/trunk@23556 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-01 16:37:24 +00:00
Ryan Boren
43a7e695e9 Revert 23416, 23419, 23445 except for wp_reset_vars() changes. We are going a different direction with the slashing cleanup, so resetting to a clean slate. see #21767
git-svn-id: http://core.svn.wordpress.org/trunk@23554 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-01 16:28:40 +00:00
Sergey Biryukov
0bb47182a4 Remove redundant esc_url() call. props pauldewouters. fixes #23643.
git-svn-id: http://core.svn.wordpress.org/trunk@23553 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-01 16:27:03 +00:00
Sergey Biryukov
87f2c02462 Ensure that get_nav_menu_locations() always returns an array. props JustinSainton for initial patch. fixes #23508.
git-svn-id: http://core.svn.wordpress.org/trunk@23550 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-01 15:51:16 +00:00
Bot (Assets)
507b33ce41 Compress scripts/styles: 3.6-alpha-23542.
git-svn-id: http://core.svn.wordpress.org/trunk@23542 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-02-28 22:58:40 +00:00
Andrew Nacin
44669adf16 Imporove a selector targeting taxonomy meta boxes. props SergeyBiryukov. see #22975.
Uses correct patch, reverting [23517].



git-svn-id: http://core.svn.wordpress.org/trunk@23536 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-02-28 20:50:32 +00:00
Andrew Nacin
401e88e387 Ignore protected meta keys in meta_form(). see #18786.
git-svn-id: http://core.svn.wordpress.org/trunk@23534 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-02-28 19:51:29 +00:00
Bot (Assets)
73ff644661 Compress scripts/styles: 3.6-alpha-23530.
git-svn-id: http://core.svn.wordpress.org/trunk@23530 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-02-28 19:07:34 +00:00