diff --git a/src/bp-xprofile/classes/class-bp-xprofile-user-admin.php b/src/bp-xprofile/classes/class-bp-xprofile-user-admin.php
index c290591dc..f24a4e047 100644
a
|
b
|
class BP_XProfile_User_Admin { |
88 | 88 | * We cannot simply use add_thickbox() here as WordPress is not playing |
89 | 89 | * nice with Thickbox width/height see https://core.trac.wordpress.org/ticket/17249 |
90 | 90 | * Using media-upload might be interesting in the future for the send to editor stuff |
91 | | * and we make sure the tb_window is wide enougth |
| 91 | * and we make sure the tb_window is wide enough |
92 | 92 | */ |
93 | 93 | wp_enqueue_style ( 'thickbox' ); |
94 | 94 | wp_enqueue_script( 'media-upload' ); |
diff --git a/tests/phpunit/testcases/core/functions/bpVerifyNonceRequest.php b/tests/phpunit/testcases/core/functions/bpVerifyNonceRequest.php
index ef1bcab54..8294edec0 100644
a
|
b
|
class BP_Tests_Core_Functions_BPVerifyNonceRequest extends BP_UnitTestCase { |
49 | 49 | $_SERVER['SERVER_PORT'] = 80; |
50 | 50 | $_SERVER['REQUEST_URI'] = '/wordpress/'; |
51 | 51 | |
52 | | // add port number and subdirecotry to home URL for testing |
| 52 | // add port number and subdirectory to home URL for testing |
53 | 53 | add_filter( 'home_url', array( $this, 'add_port_and_subdirectory_to_home_url' ), 10, 3 ); |
54 | 54 | |
55 | 55 | // test bp_verify_nonce_request() |