Changeset 12893 for branches/2.8/wp-admin/includes/plugin.php
- Timestamp:
- 01/28/2010 10:07:51 PM (17 years ago)
- File:
-
- 1 edited
-
branches/2.8/wp-admin/includes/plugin.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/2.8/wp-admin/includes/plugin.php
r11629 r12893 593 593 594 594 $hookname = get_plugin_page_hookname( $file, '' ); 595 if (!empty ( $function ) && !empty ( $hookname ) )595 if (!empty ( $function ) && !empty ( $hookname ) && current_user_can( $access_level ) ) 596 596 add_action( $hookname, $function ); 597 597
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)