Commit Graph

2782 Commits

Author SHA1 Message Date
ryan 19afce5e23 Disallow and hide user removal (as opposed to deletion) for single site installs. Removal is a multisite concept. Props nacin. fixes #16501 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@17439 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-02-10 20:37:26 +00:00
ryan f63ccddadb Pink the whites.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17435 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-02-09 17:35:36 +00:00
ryan ba47c80ef7 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 trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@17431 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-02-09 17:30:26 +00:00
markjaquith 3dabc4a39e Skip authors that no longer exist when doing an export. props nacin. fixes #16479
git-svn-id: http://svn.automattic.com/wordpress/trunk@17415 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-02-07 19:58:41 +00:00
markjaquith dff3130153 A little escaping paranoia, just to be safe. (Already sanitized, higher up). for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@17410 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-02-07 19:11:17 +00:00
ryan 687c69d009 Properly encode the post title. Props koopersmith, nacin. For trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@17395 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-02-05 18:26:46 +00:00
ryan 5385398e76 Remove debug cruft. Props markmcwilliams. fixes #15530
git-svn-id: http://svn.automattic.com/wordpress/trunk@17383 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-02-03 20:00:21 +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
westi 035b3fb22a Switch _admin_search_query to use $_REQUEST so as to work for no-js searches sent over POST as well as url based searches over GET. See #14927
git-svn-id: http://svn.automattic.com/wordpress/trunk@17309 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-15 03:40:52 +00:00
ryan d0e923486b Improve presentation when there are no available themes. Props solarissmoke, garyc40. fixes #16196
git-svn-id: http://svn.automattic.com/wordpress/trunk@17303 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-15 00:35:29 +00:00
nacin dcbe9ba65d Prevent new bulk actions from being added through the bulk_actions-screen filter. fixes #16031 at least for 3.1.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17297 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-14 07:20:13 +00:00
nacin 7a38616d0f Hide the many extraneous meta boxes for pages by default too. see #14212.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17294 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-14 01:02:15 +00:00
westi 93465db918 The old methods are good enough in alot of cases where plugins want to extend simply. So un deprecate for now.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17293 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-13 23:19:51 +00:00
nacin 35066d7770 Remove the button too. props ryan, see #14647.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17291 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-13 22:56:10 +00:00
nacin b2d0685b2d Old files removal for 3.1, against r17285.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17290 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-13 22:19:05 +00:00
nacin c605738e8b Remove the TinyMCE media plugin. fixes #14647.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17288 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-13 21:57:30 +00:00
markjaquith bf473f3545 Show the author dropdown in quick edit even when there is only one contributor-or-higher user and the post belongs to someone who no longer has contributor-or-higher access. fixes #14420
git-svn-id: http://svn.automattic.com/wordpress/trunk@17284 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-13 07:14:12 +00:00
nacin 519449a9f9 Fix plugin-install column hiding and widths. props PeteMall, fixes #16210.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17281 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-13 01:50:23 +00:00
nacin d1c2b06a7e Use is_post_type_hierarchical() instead of hierarchical_display. fixes #16213.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17278 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-13 01:21:30 +00:00
nacin 9c1f2901cd Revert [17275] and [17276]. The rabbit hole is too deep. see #16166.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17277 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-13 00:50:35 +00:00
nacin 68c994d72b Move edit.php bulk actions code to a handler in the list table class. see #16166.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17276 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-13 00:34:18 +00:00
nacin 99171772c8 Force get_pagenum to validate max pages. Add sanity redirect code to upload.php. see #16187. props MarkJaquith, greuben.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17271 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-12 17:24:34 +00:00
nacin 7c5fd789ac Keep sorting and paging for bulk actions. props garyc40, see #16166.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17270 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-12 17:06:33 +00:00
nacin f1b634cfbe Document abstract methods in WP_List_Table.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17268 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-12 08:05:23 +00:00
nacin f9cdc3156d Leave the 'Try Again' link for the wp_die() when the themes API fails. props solarissmoke, fixes #16132.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17264 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-12 00:18:23 +00:00
nacin f5cdbd1ded Add nonces to instances where the list table display() method is overridden. see #16188.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17262 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-11 22:42:22 +00:00
nacin 6a7411f3b0 Nonce checks for internal linking and list table ajax. fixes #16188.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17255 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-11 20:03:50 +00:00
markjaquith 5e71ad01fd Remove the help prompt text on the Post Format UI. It gets annoying quickly. see #15638
git-svn-id: http://svn.automattic.com/wordpress/trunk@17250 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-11 18:56:23 +00:00
ryan 536564b8ff Selectively reset list-table forms rather than all forms to avoid stompage. Props koopersmith. fixes #16098
git-svn-id: http://svn.automattic.com/wordpress/trunk@17239 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-07 20:52:42 +00:00