Skip to:
Content

BuddyPress.org

Changeset 5994


Ignore:
Timestamp:
04/17/2012 02:05:11 PM (10 years ago)
Author:
boonebgorges
Message:

More consistent _deprecated_argument() warning in BP_Activity_Template::construct(). See #3797

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-activity/bp-activity-template.php

    r5993 r5994  
    118118        // Backward compatibility with old method of passing arguments
    119119        if ( !is_array( $args ) || func_num_args() > 1 ) {
    120             _deprecated_argument( __METHOD__, '1.6', sprintf( __( 'Arguments passed to %s should be in an associative array. See the inline documentation for more details.', 'buddypress' ), __METHOD__ ) );
    121        
     120            _deprecated_argument( __METHOD__, '1.6', sprintf( __( 'Arguments passed to %1$s should be in an associative array. See the inline documentation at %2$s for more details.', 'buddypress' ), __METHOD__, __FILE__ ) );
     121
    122122            $old_args_keys = array(
    123123                0 => 'page',
Note: See TracChangeset for help on using the changeset viewer.