Commit Graph

31 Commits

Author SHA1 Message Date
Andrew Nacin c2cf751035 number_format_i18n for role user counts. props sirzooro, fixes #18305.
git-svn-id: https://develop.svn.wordpress.org/trunk@18735 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-21 05:35:57 +00:00
Ryan Boren 1d3e616495 Introduce metadata_exists(), WP_User::get_data_by(), WP_User::get(), WP_User::has_prop(). Don't fill user objects with meta. Eliminate data duplication in cache and memory. Props scribu. see #15458
git-svn-id: https://develop.svn.wordpress.org/trunk@18597 602fd350-edb4-49c9-b593-d223f7449a82
2011-08-24 19:32:59 +00:00
Ryan Boren 4efc4641ac Don't add search wildcards to an empty string. fixes #17719
git-svn-id: https://develop.svn.wordpress.org/trunk@18179 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-07 16:05:04 +00:00
Ryan Boren 332d95b648 Validation fixes. Props ocean90, xknown. fixes #17364
git-svn-id: https://develop.svn.wordpress.org/trunk@18114 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-02 17:05:55 +00:00
Ryan Boren ccba8dfbf3 Validation fixes. Props ocean90, peaceablewhale. see #17364
git-svn-id: https://develop.svn.wordpress.org/trunk@18010 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-23 23:33:30 +00:00
Ryan Boren 9730cb8d15 Constructor cleanup. Props ocean90. fixes #16768
git-svn-id: https://develop.svn.wordpress.org/trunk@17771 602fd350-edb4-49c9-b593-d223f7449a82
2011-04-29 20:05:12 +00:00
Ryan Boren e431f630a2 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: https://develop.svn.wordpress.org/trunk@17439 602fd350-edb4-49c9-b593-d223f7449a82
2011-02-10 20:37:26 +00:00
Ryan Boren 7c37c82691 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: https://develop.svn.wordpress.org/trunk@17431 602fd350-edb4-49c9-b593-d223f7449a82
2011-02-09 17:30:26 +00:00
Mark Jaquith 5a60e327c2 Fix the "Back to Authors and Users" link on Edit Users page. props SergeyBiryukov. fixes #16275
git-svn-id: https://develop.svn.wordpress.org/trunk@17324 602fd350-edb4-49c9-b593-d223f7449a82
2011-01-17 23:36:23 +00:00
Andrew Nacin 2b4674a3b4 Remove AJAX from list tables. first pass. see #16262.
git-svn-id: https://develop.svn.wordpress.org/trunk@17322 602fd350-edb4-49c9-b593-d223f7449a82
2011-01-16 21:47:24 +00:00
Andrew Nacin 8030796b65 Remove assignment that is later overridden. props PeteMall.
git-svn-id: https://develop.svn.wordpress.org/trunk@17319 602fd350-edb4-49c9-b593-d223f7449a82
2011-01-16 05:47:21 +00:00
Ryan Boren a0a77f0380 Default to leading and trailing wildcards for site user searches. Require explicit trailing wildcard asterisk request for network user searches. Disallow leading wildcards for network user searches. Move wildcard policy up the stake, allowing more flexibility in WP_User_Query. Props SergeyBiryukov. fixes #16014
git-svn-id: https://develop.svn.wordpress.org/trunk@17189 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-30 23:38:21 +00:00
Ryan Boren 34ef8c8df9 Translations in title attributes require esc_attr().
git-svn-id: https://develop.svn.wordpress.org/trunk@17102 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-21 17:17:58 +00:00
scribu e58993fe2e Disable sorting by post count for now. See #15861
git-svn-id: https://develop.svn.wordpress.org/trunk@17024 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-17 10:25:27 +00:00
scribu e452616f40 Make WP_User_Query return regular objects by default. Fixes #15854
git-svn-id: https://develop.svn.wordpress.org/trunk@17013 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-17 00:38:15 +00:00
Andrew Nacin 266cd3f5df Replace check_permissions() with ajax_user_can(). New method returns true/false to current_user_can(), which we then handle in admin ajax. see #15326.
git-svn-id: https://develop.svn.wordpress.org/trunk@16992 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-16 09:18:28 +00:00
Andrew Nacin afecafe7ab Remove check_permissions() calls outside of AJAX context. Also only check for switch_themes in check_permissions() for the themes table. see #15326.
git-svn-id: https://develop.svn.wordpress.org/trunk@16990 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-16 08:43:22 +00:00
Ryan Boren 6dc2d07bc4 Pink trailing whites.
git-svn-id: https://develop.svn.wordpress.org/trunk@16900 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-13 21:21:50 +00:00
Andrew Nacin 19677466aa Fix logic inversion. see #15699.
git-svn-id: https://develop.svn.wordpress.org/trunk@16794 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-08 09:28:20 +00:00
Andrew Nacin aa29bef29a Don't check post counts in the network admin. props scribu, fixes #15699.
git-svn-id: https://develop.svn.wordpress.org/trunk@16775 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-07 20:54:04 +00:00
Pete Mall 7f3b087f38 Hide posts column for site-users. Props ocean90, see #15558
git-svn-id: https://develop.svn.wordpress.org/trunk@16573 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-24 19:51:36 +00:00
Pete Mall 0b83b57a70 Add screen option in site-users. Props duck_, see #15558
git-svn-id: https://develop.svn.wordpress.org/trunk@16570 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-24 16:54:53 +00:00
Pete Mall ac67c65fe4 Adapt user-list-table for network admin site-users. See #15558
git-svn-id: https://develop.svn.wordpress.org/trunk@16560 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-24 05:31:25 +00:00
scribu ef9b5fb1ec Document url_shorten() and use in more places. Props latz for initial patch. Fixes #15540
git-svn-id: https://develop.svn.wordpress.org/trunk@16536 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-22 17:17:31 +00:00
Andrew Nacin 862dabded8 s/Login/Username/ to restore 3.0 string. props demetris, fixes #15453.
git-svn-id: https://develop.svn.wordpress.org/trunk@16428 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-17 16:58:15 +00:00
scribu 83cfc820ce Make manage_users_custom_column hook consistent between WP_(MS)?_Users_List_Table. Fixes #14562
git-svn-id: https://develop.svn.wordpress.org/trunk@16354 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-13 20:47:34 +00:00
scribu a1c670189d remove leading <li> from get_views() and add it later. Fixes #15321
git-svn-id: https://develop.svn.wordpress.org/trunk@16205 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-05 14:34:09 +00:00
scribu 7edd2f0090 Default to get_current_screen() in list table classes. See #14579
git-svn-id: https://develop.svn.wordpress.org/trunk@16182 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-04 15:00:55 +00:00
Peter Westwood 817aa1975c Revert [16171] and [16172] - The class names were fine as they were and the MultiSite classes stand out more with the original naming.
git-svn-id: https://develop.svn.wordpress.org/trunk@16175 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-04 08:07:03 +00:00
scribu ed884411fe List-table Class Names: Consistency's Revenge. See #14579
git-svn-id: https://develop.svn.wordpress.org/trunk@16171 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-03 21:09:27 +00:00
Peter Westwood c4633bbd54 The big renaming of the list-table class files.
See #14579

git-svn-id: https://develop.svn.wordpress.org/trunk@16128 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-01 09:19:50 +00:00