Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
07/06/2022 10:46:45 AM (2 years ago)
Author:
imath
Message:

Remove unnecessary 3rd argument when using has_action()

has_action() only accepts 2 arguments.

Props oztaser

Fixes #8635

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/bp-members/bp-members-blocks.php

    r13204 r13296  
    527527
    528528        // Only enqueue common/specific scripts and data once per page load.
    529         if ( ! has_action( 'wp_footer', 'bp_members_blocks_add_script_data', 1 ) ) {
     529        if ( ! has_action( 'wp_footer', 'bp_members_blocks_add_script_data' ) ) {
    530530            wp_set_script_translations( 'bp-dynamic-members-script', 'buddypress' );
    531531            wp_enqueue_script( 'bp-dynamic-members-script' );
Note: See TracChangeset for help on using the changeset viewer.