Changeset 12636 for trunk/wp-admin/plugins.php
- Timestamp:
- 01/07/2010 07:41:13 AM (16 years ago)
- File:
-
- 1 edited
-
trunk/wp-admin/plugins.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/plugins.php
r12618 r12636 240 240 $menu_perms = get_site_option('menu_items', array()); 241 241 if ( !$menu_perms['plugins'] ) { 242 $message = sprintf( __( 'The plugins page is not visible to normal users. It must be activated first. %s' ), '<a href="ms-options.php#menu">' . __( 'Activate' ) . '</a>' ); 243 $message = str_replace( "'", "\'", "<div class='error'><p>$message</p></div>" ); 244 add_action( 'admin_notices', create_function( '', "echo '$message';" ) ); 242 add_action( 'admin_notices', '_admin_notice_multisite_activate_plugins_page' ); 245 243 } 246 244 }
Note: See TracChangeset
for help on using the changeset viewer.