Commit Graph

66 Commits

Author SHA1 Message Date
nacin
a189f21c45 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: http://svn.automattic.com/wordpress/trunk@16992 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-16 09:18:28 +00:00
nacin
cc08068dba 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: http://svn.automattic.com/wordpress/trunk@16990 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-16 08:43:22 +00:00
ryan
3949ce12d0 Pink trailing whites.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16900 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-13 21:21:50 +00:00
nacin
898e58d568 Fix logic inversion. see #15699.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16794 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-08 09:28:20 +00:00
nacin
944f37cd3e Don't check post counts in the network admin. props scribu, fixes #15699.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16775 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-07 20:54:04 +00:00
PeteMall
9855ee1aa2 Hide posts column for site-users. Props ocean90, see #15558
git-svn-id: http://svn.automattic.com/wordpress/trunk@16573 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-24 19:51:36 +00:00
PeteMall
652db28fad Add screen option in site-users. Props duck_, see #15558
git-svn-id: http://svn.automattic.com/wordpress/trunk@16570 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-24 16:54:53 +00:00
PeteMall
b27bd5b253 Adapt user-list-table for network admin site-users. See #15558
git-svn-id: http://svn.automattic.com/wordpress/trunk@16560 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-24 05:31:25 +00:00
scribu
0324721ed2 Document url_shorten() and use in more places. Props latz for initial patch. Fixes #15540
git-svn-id: http://svn.automattic.com/wordpress/trunk@16536 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-22 17:17:31 +00:00
nacin
d22cc9bd64 s/Login/Username/ to restore 3.0 string. props demetris, fixes #15453.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16428 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-17 16:58:15 +00:00
scribu
e496292ae5 Make manage_users_custom_column hook consistent between WP_(MS)?_Users_List_Table. Fixes #14562
git-svn-id: http://svn.automattic.com/wordpress/trunk@16354 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-13 20:47:34 +00:00
scribu
c0b067fcf5 remove leading <li> from get_views() and add it later. Fixes #15321
git-svn-id: http://svn.automattic.com/wordpress/trunk@16205 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-05 14:34:09 +00:00
scribu
c5a9fd309d Default to get_current_screen() in list table classes. See #14579
git-svn-id: http://svn.automattic.com/wordpress/trunk@16182 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-04 15:00:55 +00:00
westi
5e90c5d1c3 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: http://svn.automattic.com/wordpress/trunk@16175 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-04 08:07:03 +00:00
scribu
836ec33dca List-table Class Names: Consistency's Revenge. See #14579
git-svn-id: http://svn.automattic.com/wordpress/trunk@16171 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-03 21:09:27 +00:00
westi
ad92d629d6 The big renaming of the list-table class files.
See #14579

git-svn-id: http://svn.automattic.com/wordpress/trunk@16128 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-01 09:19:50 +00:00