Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
04/25/2024 05:14:05 PM (9 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-number.php

    r13372 r13806  
    7979        do_action( bp_get_the_profile_field_errors_action() ); ?>
    8080
    81         <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">
     81        <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">
    8282
    8383        <?php if ( bp_get_the_profile_field_description() ) : ?>
     
    110110            esc_html_e( 'Number field', 'buddypress' );
    111111        ?></label>
    112         <input <?php echo $this->get_edit_field_html_elements( $r ); ?>>
     112        <input <?php $this->output_edit_field_html_elements( $r ); ?>>
    113113    <?php
    114114    }
Note: See TracChangeset for help on using the changeset viewer.