Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
04/25/2024 05:14:05 PM (14 months ago)
Author:
imath
Message:

xProfile component: improve PHP code standards using WPCS

See #7228 (trunk)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/bp-xprofile/classes/class-bp-xprofile-field-type-url.php

    r13372 r13806  
    9090        do_action( bp_get_the_profile_field_errors_action() ); ?>
    9191
    92         <input <?php echo $this->get_edit_field_html_elements( $r ); ?> aria-labelledby="<?php bp_the_profile_field_input_name(); ?>-1" aria-describedby="<?php bp_the_profile_field_input_name(); ?>-3">
     92        <input <?php $this->output_edit_field_html_elements( $r ); ?> aria-labelledby="<?php bp_the_profile_field_input_name(); ?>-1" aria-describedby="<?php bp_the_profile_field_input_name(); ?>-3">
    9393
    9494        <?php if ( bp_get_the_profile_field_description() ) : ?>
     
    123123            esc_html_e( 'URL', 'buddypress' );
    124124        ?></label>
    125         <input <?php echo $this->get_edit_field_html_elements( $r ); ?>>
     125        <input <?php $this->output_edit_field_html_elements( $r ); ?>>
    126126
    127127        <?php
Note: See TracChangeset for help on using the changeset viewer.