Skip to:
Content

BuddyPress.org

Ticket #7337: 7337.patch

File 7337.patch, 597 bytes (added by slaFFik, 3 years ago)

Add additional check

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

    IDEA additional info:
    Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
    <+>UTF-8
     
    341341function xprofile_filter_link_profile_data( $field_value, $field_type = 'textbox' ) {
    342342        global $field;
    343343
    344         if ( ! $field->get_do_autolink() ) {
     344        if ( ! xprofile_get_field( $field ) || ! $field->get_do_autolink() ) {
    345345                return $field_value;
    346346        }
    347347