Skip to:
Content

BuddyPress.org

Changeset 11179


Ignore:
Timestamp:
10/06/2016 06:06:52 PM (10 years ago)
Author:
r-a-y
Message:

Admin: Only show dismissable notice on the Plugins page.

See #7196.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/bp-core/admin/bp-core-admin-functions.php

    r11175 r11179  
    12571257 */
    12581258function bp_core_admin_php53_admin_notice() {
     1259        // If not on the Plugins page, stop now.
     1260        if ( 'plugins' !== get_current_screen()->parent_base ) {
     1261                return;
     1262        }
     1263
    12591264        if ( ! current_user_can( 'update_core' ) ) {
    12601265                return;
Note: See TracChangeset for help on using the changeset viewer.