Skip to:
Content

BuddyPress.org

Ticket #7638: 7638.diff

File 7638.diff, 1.5 KB (added by 1naveengiri, 7 years ago)

Adding patch for typo error in function doc comment.

  • src/bp-xprofile/classes/class-bp-xprofile-user-admin.php

    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 { 
    8888                 * We cannot simply use add_thickbox() here as WordPress is not playing
    8989                 * nice with Thickbox width/height see https://core.trac.wordpress.org/ticket/17249
    9090                 * 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
    9292                 */
    9393                wp_enqueue_style ( 'thickbox' );
    9494                wp_enqueue_script( 'media-upload' );
  • tests/phpunit/testcases/core/functions/bpVerifyNonceRequest.php

    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 { 
    4949                $_SERVER['SERVER_PORT'] = 80;
    5050                $_SERVER['REQUEST_URI'] = '/wordpress/';
    5151
    52                 // add port number and subdirecotry to home URL for testing
     52                // add port number and subdirectory to home URL for testing
    5353                add_filter( 'home_url', array( $this, 'add_port_and_subdirectory_to_home_url' ), 10, 3 );
    5454
    5555                // test bp_verify_nonce_request()