WordPress.org

Make WordPress Core

Changeset 45065


Ignore:
Timestamp:
03/28/2019 10:02:10 PM (22 months ago)
Author:
johnbillion
Message:

Options, Meta APIs: Remove an accidental short array syntax in the tests.

See #43561

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tests/phpunit/tests/meta/deleteMetadata.php

    r45064 r45065  
    152152        $post_id = self::factory()->post->create();
    153153        $meta_id = add_metadata( 'post', $post_id, 'my_key', 'my_value' );
    154         add_action( 'delete_post_meta', [ $this, 'action_check_object_id_is_int' ], 10, 2 );
     154        add_action( 'delete_post_meta', array( $this, 'action_check_object_id_is_int' ), 10, 2 );
    155155        delete_metadata_by_mid( 'post', $meta_id );
    156156    }
Note: See TracChangeset for help on using the changeset viewer.