Commit Graph

8224 Commits

Author SHA1 Message Date
ryan 8553c6bf47 Bump
git-svn-id: http://svn.automattic.com/wordpress/branches/3.1@18049 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-25 20:31:40 +00:00
ryan 2349eda7c7 Bump
git-svn-id: http://svn.automattic.com/wordpress/branches/3.1@18043 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-25 18:10:20 +00:00
ryan 1ff3c1e1a4 Mark import attachments as private. Schedule job to delete old import attachments. Introduce attachment context.
git-svn-id: http://svn.automattic.com/wordpress/branches/3.1@18023 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-24 15:57:28 +00:00
ryan 6fcc6b739a Use correct keys
git-svn-id: http://svn.automattic.com/wordpress/branches/3.1@18020 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-24 15:55:03 +00:00
ryan 4c0827af14 Sanitize guid on save and display. Sanitize mime type on save. Don't allow changing mime type via edit form handlers. Protect hidden meta.
git-svn-id: http://svn.automattic.com/wordpress/branches/3.1@18018 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-24 15:53:22 +00:00
ryan 9428fe6b04 Use esc_url() once again.
git-svn-id: http://svn.automattic.com/wordpress/branches/3.1@18017 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-24 15:51:20 +00:00
ryan 17ba8a49f5 Add a nonce.
git-svn-id: http://svn.automattic.com/wordpress/branches/3.1@18016 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-24 15:49:47 +00:00
dd32 51014a6638 * Allow Pagination for Must-Use/Dropin plugins
* Move help text into WP_Plugins_List_Table
Fixes #17327 for 3.1

git-svn-id: http://svn.automattic.com/wordpress/branches/3.1@17807 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-05 05:54:19 +00:00
ryan ad2b485a1e Validate post status against capabilities in press this. Props nacin. for 3.1
git-svn-id: http://svn.automattic.com/wordpress/branches/3.1@17710 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-26 18:06:50 +00:00
ryan e13b1c82de Bump
git-svn-id: http://svn.automattic.com/wordpress/branches/3.1@17707 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-26 15:47:16 +00:00
nacin fb4caf3e06 Add the filter in display_rows, rather than _display_rows. for 3.1.
git-svn-id: http://svn.automattic.com/wordpress/branches/3.1@17705 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-26 10:20:04 +00:00
nacin b4a7b06241 Remove vestige code, prevent over-escaping of post titles when using Quick Edit for hierarchical post types. fixes #17218 for the 3.1 branch.
git-svn-id: http://svn.automattic.com/wordpress/branches/3.1@17704 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-26 10:19:16 +00:00
ryan bc052a10bf esc_url_raw() when doing urlencode()
git-svn-id: http://svn.automattic.com/wordpress/branches/3.1@17585 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-01 19:36:04 +00:00
ryan b21b855c52 s/esc_url_raw/esc_url/. Props duck_. For 3.1
git-svn-id: http://svn.automattic.com/wordpress/branches/3.1@17583 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-01 19:30:28 +00:00
ryan c68f7ef382 Add some nonce checks to the uploaders. Props duck_. For 3.1.
git-svn-id: http://svn.automattic.com/wordpress/branches/3.1@17569 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-03-28 21:32:01 +00:00
nacin b6d689386b Remove two out of date strings from network contextual help. see #16988 for the 3.1 branch.
git-svn-id: http://svn.automattic.com/wordpress/branches/3.1@17567 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-03-28 18:01:30 +00:00
nacin 4dd235d1e3 3.1.1 beta 1.
git-svn-id: http://svn.automattic.com/wordpress/branches/3.1@17560 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-03-25 21:13:38 +00:00
azaozz 15629d2e5f Fix discrepancy in the nested loop in the Recent Comments dashboard widget, props ocean90, fixes #16846 for 3.1.1
git-svn-id: http://svn.automattic.com/wordpress/branches/3.1@17557 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-03-25 20:13:53 +00:00
ryan 5e09c87f1d Anchor network and user admins at the network domain and path rather than at the main site. Makes the redirects consistent with network_admin_url(). fixes #16652 for 3.1
git-svn-id: http://svn.automattic.com/wordpress/branches/3.1@17511 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-03-08 22:56:43 +00:00
ryan 7149f70a81 Mark theme preview iframe as a preview_iframe so that the admin bar doesn't show. Props tetele. fixes #16659 for 3.1
git-svn-id: http://svn.automattic.com/wordpress/branches/3.1@17503 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-03-08 21:54:48 +00:00
nacin 2bac601ee9 Avoid mangling the current site path variable with the search query. props greuben, fixes #16720 for the 3.1 branch.
git-svn-id: http://svn.automattic.com/wordpress/branches/3.1@17497 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-03-02 18:35:19 +00:00
nacin af09e49ba4 Avoid printf entirely. props SergeyBiryukov, fixes #16611 for 3.1.
git-svn-id: http://svn.automattic.com/wordpress/branches/3.1@17482 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-02-22 10:13:03 +00:00
nacin ff64d344f3 Use get_comments_number() in comments_bubble() method. Removes chance of sprintf arguments error due to percent encoding in URLs and kills unnecessary translations. Escape translations into attributes. esc_url on admin_url. fixes #16611 for the 3.1 branch.
git-svn-id: http://svn.automattic.com/wordpress/branches/3.1@17476 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-02-22 04:25:11 +00:00
nacin 46c2bc99bf Ensure we're matching the complete theme directory when excluding parent templates from the theme editor. props chrisbliss18, fixes #16607 for the 3.1 branch.
git-svn-id: http://svn.automattic.com/wordpress/branches/3.1@17470 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-02-21 18:55:48 +00:00
ryan d5cd365c06 Don't allow changing the post type. Props nacin. For 3.1
git-svn-id: http://svn.automattic.com/wordpress/branches/3.1@17458 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-02-16 18:58:40 +00:00
ryan c4289622f3 Make plugin and theme title columns narrower. Props garyc40. fixes #16563 for 3.1
git-svn-id: http://svn.automattic.com/wordpress/branches/3.1@17450 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-02-15 03:46:47 +00:00
nacin 14ca237999 s/owpbody/wpbody/. props ptahdunbar, fixes #16559 for 3.1.
git-svn-id: http://svn.automattic.com/wordpress/branches/3.1@17447 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-02-14 22:56:15 +00:00
markjaquith 4d159aec4b Do not output an HTML ID on the (potentially duplicate) hidden parent_id field. props nacin. fixes #13179 for 3.1
git-svn-id: http://svn.automattic.com/wordpress/branches/3.1@17446 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-02-13 14:44:36 +00:00
ryan 8dd892a91b Disallow and hide user removal (as opposed to deletion) for single site installs. Removal is a multisite concept. Props nacin. fixes #16501 for 3.1
git-svn-id: http://svn.automattic.com/wordpress/branches/3.1@17440 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-02-10 20:38:04 +00:00
ryan 1981ec619b Pink the whites.
git-svn-id: http://svn.automattic.com/wordpress/branches/3.1@17436 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-02-09 17:36:23 +00:00
ryan 64a20e2a11 Add additional promote_users checks. Show Add existing button only for multisite. Don't show bulk actions if user can't promote users. Show add new user menu if user has create_users but not promote_users. Props nacin. fixes #16501 for 3.1
git-svn-id: http://svn.automattic.com/wordpress/branches/3.1@17432 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-02-09 17:30:46 +00:00
markjaquith 91f95cb5a1 Skip authors that no longer exist when doing an export. props nacin. fixes #16479 for 3.1
git-svn-id: http://svn.automattic.com/wordpress/branches/3.1@17416 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-02-07 20:08:18 +00:00
markjaquith eb81c1524f A little escaping paranoia, just to be safe. (Already sanitized, higher up). for 3.1
git-svn-id: http://svn.automattic.com/wordpress/branches/3.1@17411 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-02-07 19:11:45 +00:00
ryan 8559a5f1a3 Preserve tag escaping. Props koopersmith, Nils Jueneman. For 3.1
git-svn-id: http://svn.automattic.com/wordpress/branches/3.1@17399 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-02-05 18:31:48 +00:00
ryan fe1823622a Properly encode the post title. Props koopersmith, nacin. For 3.1
git-svn-id: http://svn.automattic.com/wordpress/branches/3.1@17396 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-02-05 18:27:19 +00:00
ryan ca11f54e4c Add cap and type checks to media item fetch. For 3.1
git-svn-id: http://svn.automattic.com/wordpress/branches/3.1@17392 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-02-05 18:24:05 +00:00
ryan 8fdfe5aa1c Remove debug cruft. Props markmcwilliams. fixes #15530
git-svn-id: http://svn.automattic.com/wordpress/branches/3.1@17384 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-02-03 20:02:15 +00:00
markjaquith 286f033442 Remove unused/non-functional code with old-style CSRF checking. see #16499
git-svn-id: http://svn.automattic.com/wordpress/branches/3.1@17382 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-02-03 07:23:17 +00:00
nacin 6aaa33cee0 Add context to 'Format' string. props scribu, SergeyBiryukov, fixes #16423 for the 3.1 branch.
git-svn-id: http://svn.automattic.com/wordpress/branches/3.1@17373 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-31 14:44:33 +00:00
nacin 277be4ce51 Use array_intersec_assoc. props duck_, fixes #16378.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17369 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-27 19:37:38 +00:00
ryan f2feff7453 Admin bar CSS fix; removes unnecessary scrollbars. Props WraithKenny. fixes #15507
git-svn-id: http://svn.automattic.com/wordpress/trunk@17368 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-27 15:18:22 +00:00
westi 9400a59207 Don't redirect continually on empty search results pages. Fixes #16357 props garyc40
git-svn-id: http://svn.automattic.com/wordpress/trunk@17366 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-26 09:56:17 +00:00
ryan b2bf441bb1 Fix theme filtering when no JS. Props dd32. fixes #14936
git-svn-id: http://svn.automattic.com/wordpress/trunk@17364 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-25 20:00:42 +00:00
ryan 011cc6550e Add name to reassign user dropdown. Props nacin. fixes #16361
git-svn-id: http://svn.automattic.com/wordpress/trunk@17363 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-25 19:36:50 +00:00
ryan 75641ee14a Fix redirects for trashed post bulk ops. Props nacin, SergeyBiryukov. fixes #16355
git-svn-id: http://svn.automattic.com/wordpress/trunk@17362 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-25 19:30:24 +00:00
ryan b345e996c7 Pagination fixes. Props garyc40. fixes #16357
git-svn-id: http://svn.automattic.com/wordpress/trunk@17361 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-25 19:20:20 +00:00
ryan 4ffa4e4f4e Don't pass deprecated arg to update_blog_status(). Props PeteMall. fixes #15605
git-svn-id: http://svn.automattic.com/wordpress/trunk@17360 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-25 17:39:10 +00:00
westi 5268a0e7d8 Fix the bulk actions on Network > Sites and Network > Users. Fixes #16364
git-svn-id: http://svn.automattic.com/wordpress/trunk@17359 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-25 14:34:41 +00:00
markjaquith 7cb71c46d5 Make sure we don't double-add -user or -network suffixes in convert_to_screen(). props SergeyBiryukov. fixes #16348
git-svn-id: http://svn.automattic.com/wordpress/trunk@17356 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-24 04:16:55 +00:00
ryan 862b5e4da7 Update counts and pagination when trashing and moderating comments. Props garyc40, koopersmith, mdawaffe, nacin. fixes #15530
git-svn-id: http://svn.automattic.com/wordpress/trunk@17354 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-22 18:47:42 +00:00