Skip to:
Content

BuddyPress.org

Ticket #9115: 9115.patch

File 9115.patch, 1.5 KB (added by shailu25, 13 months ago)

Patch Added

  • src/bp-xprofile/bp-xprofile-functions.php

    diff --git a/src/bp-xprofile/bp-xprofile-functions.php b/src/bp-xprofile/bp-xprofile-functions.php
    index e0ca139da..5d94df5ae 100644
    a b add_action( 'bp_core_activated_user', 'xprofile_sync_wp_profile', 10, 3 ); 
    894894 * @since 1.2.4
    895895 *
    896896 * @param object $errors Array of errors. Passed by reference.
    897  * @param bool   $update Whether or not being upated.
     897 * @param bool   $update Whether or not being updated.
    898898 * @param object $user   User object whose profile is being synced. Passed by reference.
    899899 */
    900900function xprofile_sync_bp_profile( &$errors, $update, &$user ) {
    function bp_xprofile_personal_data_exporter( $email_address ) { 
    14591459}
    14601460
    14611461/**
    1462  * Returns the list of supporterd WordPress field meta keys.
     1462 * Returns the list of supported WordPress field meta keys.
    14631463 *
    14641464 * @since 8.0.0
    14651465 *
  • 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 f149d6cf9..1fe8a4d4d 100644
    a b class BP_XProfile_User_Admin { 
    261261         * @since 2.0.0
    262262         *
    263263         * @param WP_User|null $user The WP_User object for the user being edited.
    264          * @param array        $args Aray of arguments for metaboxes.
     264         * @param array        $args Array of arguments for metaboxes.
    265265         */
    266266        public function user_admin_profile_metaboxes( $user = null, $args = array() ) {
    267267