Skip to:
Content

BuddyPress.org

Changeset 7587


Ignore:
Timestamp:
11/16/2013 11:33:39 PM (11 years ago)
Author:
boonebgorges
Message:

Pass $hook_suffix through bp_admin_enqueue_scripts wrapper filter.

Fixes #5247

Props imath

File:
1 edited

Legend:

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

    r7298 r7587  
    131131
    132132/**
    133  * Piggy back admin_notices action
     133 * Piggy back admin_enqueue_scripts action.
    134134 *
    135  * @since BuddyPress (1.7)
    136  * @uses do_action() Calls 'bp_admin_notices'
     135 * @since BuddyPress (1.7.0)
     136 *
     137 * @uses do_action() Calls 'bp_admin_enqueue_scripts''.
     138 *
     139 * @param string $hook_suffix The current admin page, passed to
     140 *        'admin_enqueue_scripts'.
    137141 */
    138 function bp_admin_enqueue_scripts() {
    139     do_action( 'bp_admin_enqueue_scripts' );
     142function bp_admin_enqueue_scripts( $hook_suffix = '' ) {
     143    do_action( 'bp_admin_enqueue_scripts', $hook_suffix );
    140144}
    141145
Note: See TracChangeset for help on using the changeset viewer.