Commit Graph

2803 Commits

Author SHA1 Message Date
ryan 1611198696 Sanitize sort_column and sort_order in get_pages(). Escape search_term in WP_User_Search. Cast blog_id to int in get_blog_prefix(). Props duck_. For 3.1.
git-svn-id: http://svn.automattic.com/wordpress/branches/3.1@18357 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-27 21:38:51 +00:00
ryan 822c052b96 Hardening. Santizers for WPLANG and new_admin_email. Prevent stomping ID and filter. Validate locale filename. Props westi. For 3.1.
git-svn-id: http://svn.automattic.com/wordpress/branches/3.1@18356 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-27 21:36:48 +00:00
nacin 005d19caee Don't use array calling for post_status in wp_edit_attachments_query() to prevent any use of the deprecated query_string filter (as in, don't use it) from tanking the page. see #17556, #17559. for the 3.1 branch.
git-svn-id: http://svn.automattic.com/wordpress/branches/3.1@18054 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-26 05:43:33 +00:00
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
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 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 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 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 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
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
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 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 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
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
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
nacin 34358d9a42 Add orderby and order hidden fields to each list form, to allow for state. props SergeyBiryukov, fixes #16341.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17353 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-22 18:36:54 +00:00
nacin 45828057ed doaction buttons don't need a name, only an ID. fixes #16345.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17352 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-22 18:31:35 +00:00
nacin a1d3c1c62a Global comment_type in WP_Comments_List_Table::prepare_items(). props jorbin, fixes #16344.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17350 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-22 18:27:04 +00:00
nacin 19efd03fe8 Use only an ID, no name, on the 'Filter' buttons on list screens. see #16345.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17349 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-22 18:25:32 +00:00
ryan 498c93cb81 Revert [17327] and [15858]. Props markmcwilliams, JohnONolan, et al. see #16298 #8352
git-svn-id: http://svn.automattic.com/wordpress/trunk@17347 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-22 03:25:29 +00:00
markjaquith 47c8008257 Fix the comments "river." issue 9. props garyc40. see #16262
git-svn-id: http://svn.automattic.com/wordpress/trunk@17344 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-21 21:17:12 +00:00
markjaquith acd8d41b65 Fix inter-page navigating on Edit Comments screen when using keyboard shortcuts. props garyc40. see #16262
git-svn-id: http://svn.automattic.com/wordpress/trunk@17343 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-21 20:28:41 +00:00
nacin 385ac2ef74 Use get_column_count() instead of manual logic. props scribu, fixes #16279.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17342 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-21 07:39:21 +00:00
nacin 8dc4329246 Properly account for columns shown in the list table display_rows_or_placeholder methods. props garyc40, fixes #16279.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17339 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-20 22:19:34 +00:00
nacin 7061e7efe0 Don't sort the plugin name column. It doesn't stick between actions and is quite useless, so out it goes. fixes #16322.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17338 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-20 22:09:46 +00:00
nacin cda05de396 Don't allow the 'Path' column on sites.php to be hidden. see #16322.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17337 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-20 22:09:01 +00:00
nacin ee1a4eba16 Link to site-users and network/user-edit on sites.php. props PeteMall, see #16322.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17336 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-20 22:08:24 +00:00
westi 3c278d6421 Don't touch web.config when flushing rewrite rules if it is a multisite install. Fixes #16076 props nacin.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17328 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-19 16:49:46 +00:00
markjaquith df3882ab23 Fix the "Back to Authors and Users" link on Edit Users page. props SergeyBiryukov. fixes #16275
git-svn-id: http://svn.automattic.com/wordpress/trunk@17324 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-17 23:36:23 +00:00
nacin 37075f7f71 Remove AJAX from list tables. first pass. see #16262.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17322 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-16 21:47:24 +00:00
nacin 94eb65baa0 Revert [17270], [17273], see #16166, see #16262.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17321 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-16 21:34:38 +00:00
nacin a099ac06a7 Remove assignment that is later overridden. props PeteMall.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17319 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-16 05:47:21 +00:00
markjaquith e5a88166a9 Append -network or -user suffix in convert_to_screen(). props kawauso. fixes #16238
git-svn-id: http://svn.automattic.com/wordpress/trunk@17318 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-16 05:38:44 +00:00
nacin 49887cdd9a Offer the standard tags for the plugin name datapoint. props Kawauso, fixes #16241.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17310 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-15 07:26:45 +00:00