Ticket #2432: hide_add_cat_if_user_cannot_add_cats.diff
| File hide_add_cat_if_user_cannot_add_cats.diff, 434 bytes (added by , 21 years ago) |
|---|
-
wp-admin/admin-header.php
3 3 if (!isset($_GET["page"])) require_once('admin.php'); 4 4 if ( $editing ) { 5 5 $dbx_js = true; 6 $cat_js = true; 6 if ( current_user_can('manage_categories') ) 7 $cat_js = true; 7 8 } 8 9 if ( $list_js || $cat_js ) 9 10 $sack_js = true;
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)