Commit Graph

97 Commits

Author SHA1 Message Date
Ryan Boren 9ee8b20f30 First pass of user admin. Network admin and screen cleanups. see #14696
git-svn-id: https://develop.svn.wordpress.org/trunk@15746 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-07 19:34:18 +00:00
Ryan Boren 81896473cf Revert [15717]; it had extra bits in it
git-svn-id: https://develop.svn.wordpress.org/trunk@15718 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-04 19:28:31 +00:00
Ryan Boren 6eba2ab51d Fix user edit urls for network admin
git-svn-id: https://develop.svn.wordpress.org/trunk@15717 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-04 19:26:40 +00:00
Ryan Boren f81a980a70 Eliminate admin_notice_feed(). Props technosailor. fixes #14587
git-svn-id: https://develop.svn.wordpress.org/trunk@15679 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-01 18:34:25 +00:00
Andrew Nacin 9494e4ce7e Phpdoc argument/@param cleanups. props duck_, see #14783.
git-svn-id: https://develop.svn.wordpress.org/trunk@15590 602fd350-edb4-49c9-b593-d223f7449a82
2010-09-07 11:21:11 +00:00
Ryan Boren 126dc0a006 Move confirm_delete_users() to edit.php. Update links in edit.php. see #14435
git-svn-id: https://develop.svn.wordpress.org/trunk@15488 602fd350-edb4-49c9-b593-d223f7449a82
2010-08-02 18:10:43 +00:00
Ryan Boren 20ef146992 Move dashboard_quota in dashboard.php. Don't perform current_user_can check before init.
git-svn-id: https://develop.svn.wordpress.org/trunk@15487 602fd350-edb4-49c9-b593-d223f7449a82
2010-08-02 17:56:05 +00:00
Ryan Boren 7d0a19de0f Remove show_post_thumbnail_warning
git-svn-id: https://develop.svn.wordpress.org/trunk@15486 602fd350-edb4-49c9-b593-d223f7449a82
2010-08-02 17:29:34 +00:00
Ryan Boren 383b705801 Remove 'plugins page is not visible to normal users' notice. We're just not that into you.
git-svn-id: https://develop.svn.wordpress.org/trunk@15485 602fd350-edb4-49c9-b593-d223f7449a82
2010-08-02 17:25:54 +00:00
Ryan Boren 9d87a4c9a9 Update network upgrade links. see #14435
git-svn-id: https://develop.svn.wordpress.org/trunk@15484 602fd350-edb4-49c9-b593-d223f7449a82
2010-08-02 15:36:57 +00:00
Peter Westwood e9aae4a53a Ensure the language selection dropdown is output correctly. Fixes #14255 for trunk props SergeyBiryukov.
git-svn-id: https://develop.svn.wordpress.org/trunk@15381 602fd350-edb4-49c9-b593-d223f7449a82
2010-07-10 07:25:10 +00:00
Ryan Boren 494ee995b5 Use get_current_user() and get_current_user_id() instead of global . Props filofo. see #13934 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@15315 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-24 15:01:29 +00:00
Ron Rennick 3e360da417 add create site link to My Sites page, original patch props filosofo, fixes #13852
git-svn-id: https://develop.svn.wordpress.org/trunk@15228 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-11 17:18:17 +00:00
Ron Rennick 8c74a6057e die in non-async upload in [14716], see #12853
git-svn-id: https://develop.svn.wordpress.org/trunk@14717 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-18 01:34:01 +00:00
Ron Rennick 38036c72b9 only die on async upload error, see #12853
git-svn-id: https://develop.svn.wordpress.org/trunk@14716 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-18 01:25:13 +00:00
Ron Rennick c77318be51 observe fileupload_maxk in media uploader, see #12853
git-svn-id: https://develop.svn.wordpress.org/trunk@14694 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-16 20:09:56 +00:00
Andrew Nacin 6d40008887 @since for some new ms functions re: upload file size limits. see #12853.
git-svn-id: https://develop.svn.wordpress.org/trunk@14437 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-04 08:41:46 +00:00
Ron Rennick e35e6165ab limit upload size to site's available limit, see #12853
git-svn-id: https://develop.svn.wordpress.org/trunk@14420 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-03 22:40:02 +00:00
Ryan Boren d783952469 Strip trailing whites.
git-svn-id: https://develop.svn.wordpress.org/trunk@14404 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-03 20:26:11 +00:00
Ryan Boren 57a5a11660 Revert [14347] and [14372]. It broke more than we expected. Try again in 3.1. see #13051
git-svn-id: https://develop.svn.wordpress.org/trunk@14374 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-03 18:16:22 +00:00
Ryan Boren 7fcda10d46 Escape links by default. Props alexkingorg. see #13051
git-svn-id: https://develop.svn.wordpress.org/trunk@14347 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-02 22:53:59 +00:00
Andrew Nacin d5b8eeaa25 Use the correct defines in secret_salt_warning.
git-svn-id: https://develop.svn.wordpress.org/trunk@14329 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-01 22:50:55 +00:00
Andrew Nacin 5f0218032f Show > 100% blog space used in MS Right Now.
git-svn-id: https://develop.svn.wordpress.org/trunk@14327 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-01 22:06:48 +00:00
Andrew Nacin 8722ccc178 Use a class for update-nag, as especially in MS we're sometimes hooking in more than one per page.
git-svn-id: https://develop.svn.wordpress.org/trunk@14319 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-30 15:37:46 +00:00
Andrew Nacin 26f7f2be9d Clean up secret_salt_warning. Use stronger version of wp_generate_password. Shrink line-height of #update-nag so multiple-line messages don't look so awful, use padding instead.
git-svn-id: https://develop.svn.wordpress.org/trunk@14318 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-30 15:25:54 +00:00
Ryan Boren 4fea823167 Remove debug
git-svn-id: https://develop.svn.wordpress.org/trunk@14243 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-26 18:52:14 +00:00
Ryan Boren 92b7f84b59 Hook update_option_new_admin_email to add_option_new_admin_email so that the confirmation email gets set even when new_admin_email doesn't already exist. see #12192
git-svn-id: https://develop.svn.wordpress.org/trunk@14242 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-26 18:20:11 +00:00
Ron Rennick 310a7bcf05 escape the trailing underscore in SHOW TABLES LIKE in delete_blog, fixes #13099
git-svn-id: https://develop.svn.wordpress.org/trunk@14215 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-24 04:15:00 +00:00
Ryan Boren 8d9073103c Introduce get_super_admins(). Allow hard-coding a global super_admins array and bypassing site options. fixes #12815
git-svn-id: https://develop.svn.wordpress.org/trunk@14206 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-23 20:34:03 +00:00
Nikolay Bachiyski d6208f9a02 Help translators with meaning of MB and GB. They are definitely not Macbook and Great Britain
git-svn-id: https://develop.svn.wordpress.org/trunk@14177 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-21 17:44:21 +00:00
Andrew Nacin acb76fe42d More grant/revoke super admin improvements. fixes #12933.
git-svn-id: https://develop.svn.wordpress.org/trunk@14043 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-09 08:26:16 +00:00
Andrew Nacin 213aca7b04 Fix revoke_super_admin(). see #12933.
git-svn-id: https://develop.svn.wordpress.org/trunk@14042 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-09 07:17:42 +00:00
Andrew Nacin d07cfaff16 Revert [14011]. Add some actions. fixes #12109, see #12460.
git-svn-id: https://develop.svn.wordpress.org/trunk@14040 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-08 04:15:58 +00:00
Andrew Nacin 67dbb82d69 Stop a dismissed admin notice feed from appearing on the next page load. see #12912.
git-svn-id: https://develop.svn.wordpress.org/trunk@14038 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-08 03:31:51 +00:00
Ron Rennick 4b543dbc76 add permission checks to grant/revoke_super_admin(), see #12109, related #12460
git-svn-id: https://develop.svn.wordpress.org/trunk@14011 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-05 22:28:21 +00:00
Dion Hulse 028bd4322e Update broken translation. S/post thumbnail/featured image/
git-svn-id: https://develop.svn.wordpress.org/trunk@14007 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-05 09:15:35 +00:00
Andrew Nacin 5bf79d1d8e File-level phpdoc for multisite files.
git-svn-id: https://develop.svn.wordpress.org/trunk@13998 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-04 13:29:35 +00:00
Andrew Nacin db6a40aa27 Move add/remove super admin out of bulk edit and into user-edit.php. Introduce grant_super_admin() and revoke_super_admin(). Link to profile.php in ms-users user row for current user. Add defensive check by forcing IS_PROFILE_PAGE on user-edit if trying to edit your own user_id. see #12460
git-svn-id: https://develop.svn.wordpress.org/trunk@13941 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-02 06:46:07 +00:00
Mark Jaquith 9370ab3810 Huge MS refactoring and code cleanup. see #12460. props ocean90.
git-svn-id: https://develop.svn.wordpress.org/trunk@13918 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-01 21:21:27 +00:00
Ryan Boren 154e634767 Use get_home_url() and get_admin_url(). Props andreasnrb. see #12736
git-svn-id: https://develop.svn.wordpress.org/trunk@13896 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-30 19:13:38 +00:00
Ryan Boren dc9cefd8a5 Use network_*_url(). see #12736
git-svn-id: https://develop.svn.wordpress.org/trunk@13884 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-29 21:45:31 +00:00
Andrew Nacin 7f9b08bdb2 Use correct var in MS dashboard_quota(). props ocean90, see #12710. also fixes sprintf string.
git-svn-id: https://develop.svn.wordpress.org/trunk@13835 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-26 21:50:54 +00:00
Andrew Nacin e34ca97ae0 Change @since 3.0 to @since 3.0.0.
git-svn-id: https://develop.svn.wordpress.org/trunk@13827 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-26 19:13:36 +00:00
Andrew Nacin e5f55c5b3d Deprecate add_option_update_handler() and remove_option_update_handler() in favor of register_setting() and unregister_setting(). #11730
git-svn-id: https://develop.svn.wordpress.org/trunk@13805 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-22 23:03:31 +00:00
Andrew Nacin f5262bb86e Fix the MS admin notice feed.
git-svn-id: https://develop.svn.wordpress.org/trunk@13792 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-22 02:23:45 +00:00
Ron Rennick 2bcc218df8 add NONCE_SALT to secret_salt_warning(), see #11764
git-svn-id: https://develop.svn.wordpress.org/trunk@13768 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-19 20:48:59 +00:00
Ryan Boren e61755c853 Trim trailing whitespace
git-svn-id: https://develop.svn.wordpress.org/trunk@13733 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-17 16:27:25 +00:00
Ron Rennick 9fe9b2390f first pass on optional global terms, see #12589
git-svn-id: https://develop.svn.wordpress.org/trunk@13715 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-16 17:17:55 +00:00
Ron Rennick 830efa5339 move multisite upgrade functions to upgrade.php, see #11771
git-svn-id: https://develop.svn.wordpress.org/trunk@13618 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-08 16:31:12 +00:00
Ron Rennick 7f8ea354ac UI upgrade -> update, see #12517
git-svn-id: https://develop.svn.wordpress.org/trunk@13590 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-04 23:28:15 +00:00