[wp-trac] [WordPress Trac] #12460: Overhaul of some multisite files (was: ugly UI under network)
WordPress Trac
wp-trac at lists.automattic.com
Wed Mar 31 10:50:18 UTC 2010
#12460: Overhaul of some multisite files
-------------------------------+--------------------------------------------
Reporter: Denis-de-Bernardy | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: 3.0
Component: Multisite | Version: 3.0
Severity: normal | Keywords: has-patch
-------------------------------+--------------------------------------------
Comment(by ocean90):
Here is it.[[BR]]
I fixed a lot of bugs, improved the ui and cleaned up the code. Here in
detail:[[BR]]
- ms-load.php
- add the site status 'mature' to ms_site_check()
- ms.dev.css
- removed unused code
- replaced mu with ms
- added some style for ms-sites.php
- changed/added background colors for site status
- code clean up
- ms.php
- improved the confirm_delete_users() function
- add option to delete the posts & links
- improved the output of dashboard_quota(), its now in a line with the
table above
- used get_admin_url() instead of ''$blog->domain . $blog->path''
- used admin_url(), selected() and esc_url()
- code clean up
- ms-edit.php
- reworked the HTTP_REFERER things, it uses now wp_get_referer(), it
eliminates the confusing $_POST['ref']
- used admin_url(), selected() and esc_url()
- fixed the allowed themes saving
- fixed the adding of an existing user to a site
- reworked ''case 'allblogs' '', because we use now bulk actions
- added current_user_can() check to mature functions
- improved ''case 'confirm' ''
- reactivated ''case 'deleteuser' '' (was a @todo on ms-users.php)
- reworked ''case 'allusers' '', because we use now bulk actions
- added ''case 'dodelete' '', because of the reworked
user_delete_confirm() on ms.php
- code clean up
- ms-options.php
- used ''include( 'admin-footer.php' )'' instead ''include('./admin-
footer.php');''
- code clean up
- ms-sites.php
- removed the exclamation marks, because we use full stops
- code clean up
- used checked(), esc_attr_e() instead echo esc_attr(),
- used some css classes from core (.disabled for textareas/inputs)
- sat 'Update Options' button in the center without fix marign
- add description to themes box
- reworked ''case 'list' ''
- built the bulk actions
- added site navigation like on all other sites
- removed the filter, because we can't used it at the moment, see
#12531
- some other little things, to match the edit.php for posts and pages
- added action links for mature site status
- removed the action links for the current site
- use an em-dash instead of a wrong registered date (#12747)
- ms-themes.php
- code clean up
- use checked()
- ms-users.php
- more or less the same as ms-sites.php :)
- my-sites.php
- added function to validate the primary site (was a @todo)
- improved the display for 4 columns
- fixed strings
- code clean up
--
Ticket URL: <http://core.trac.wordpress.org/ticket/12460#comment:9>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list