Changeset 41290 for trunk/src/wp-admin/includes/ajax-actions.php
- Timestamp:
- 08/22/2017 02:01:36 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/ajax-actions.php
r41289 r41290 3705 3705 $plugins_url = ( 'import' === $pagenow ) ? admin_url( 'plugins.php' ) : network_admin_url( 'plugins.php' ); 3706 3706 3707 if ( current_user_can( 'activate_plugin s') && is_plugin_inactive( $install_status['file'] ) ) {3707 if ( current_user_can( 'activate_plugin', $install_status['file'] ) && is_plugin_inactive( $install_status['file'] ) ) { 3708 3708 $status['activateUrl'] = add_query_arg( array( 3709 3709 '_wpnonce' => wp_create_nonce( 'activate-plugin_' . $install_status['file'] ),
Note: See TracChangeset
for help on using the changeset viewer.