Skip to:
Content

BuddyPress.org

Ticket #8194: 8194.2.patch

File 8194.2.patch, 3.0 KB (added by passoniate, 5 years ago)

Patch Update

  • src/bp-activity/js/mentions.js

     
    135135                                },
    136136
    137137                                /**
    138                                  * Override default behaviour which inserts junk tags in the WordPress Visual editor.
     138                                 * Override default behavior which inserts junk tags in the WordPress Visual editor.
    139139                                 *
    140140                                 * @param {unknown} $inputor Element which we're inserting content into.
    141141                                 * @param {string) content The content that will be inserted.
  • tests/phpunit/testcases/groups/template.php

     
    527527        /**
    528528         * Default sort order should be the joined date
    529529         *
    530          * @tickett BP5106
     530         * @ticket BP5106
    531531         * @group bp_group_has_members
    532532         */
    533533        public function test_bp_group_has_members_default_order() {
  • tests/phpunit/testcases/members/class-bp-signup.php

     
    6565         * @group add
    6666         */
    6767        public function test_add_no_visibility_level_set_should_use_default_visiblity_level() {
    68                 // Update field_1's default visiblity to 'adminsonly'
     68                // Update field_1's default visibility to 'adminsonly'.
    6969                bp_xprofile_update_field_meta( 1, 'default_visibility', 'adminsonly' );
    7070
    7171                // Add new signup without a custom field visibility set for field_1.
  • tests/phpunit/testcases/notifications/class-bp-notifications-notification.php

     
    3333                $actual = wp_list_pluck( $n, 'id' );
    3434                $this->assertEquals( $expected, $actual );
    3535
    36                 // reset copmonent toggles
     36                // reset component toggles.
    3737                if ( $groups_toggle ) {
    3838                        buddypress()->active_components['groups'] = 1;
    3939                } else {
     
    7575                // Check that the correct items are pulled up
    7676                $this->assertEquals( 1, $n );
    7777
    78                 // reset copmonent toggles
     78                // reset component toggles.
    7979                if ( $groups_toggle ) {
    8080                        buddypress()->active_components['groups'] = 1;
    8181                } else {
  • tests/phpunit/testcases/xprofile/cache.php

     
    133133                bp_xprofile_add_meta( $f, 'field', 'field_foo', 'field_bar' );
    134134                bp_xprofile_add_meta( $d->id, 'data', 'data_foo', 'data_bar' );
    135135
    136                 // prime cache
     136                // Prime cache.
    137137                bp_has_profile( array(
    138138                        'user_id' => $u,
    139139                        'profile_group_id' => $g,