Changeset 13818 for trunk/src/bp-core/classes/class-bp-button.php
- Timestamp:
- 04/28/2024 12:23:47 PM (3 years ago)
- File:
-
- 1 edited
-
trunk/src/bp-core/classes/class-bp-button.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-core/classes/class-bp-button.php
r13372 r13818 332 332 _doing_it_wrong( 333 333 __CLASS__, 334 __( 'The `href` attribute is not available inside the `<button>` tag. Please use a `data-*` attribute to transport a link into this tag.', 'buddypress' ),334 esc_html__( 'The `href` attribute is not available inside the `<button>` tag. Please use a `data-*` attribute to transport a link into this tag.', 'buddypress' ), 335 335 '9.0.0' 336 336 ); … … 444 444 */ 445 445 public function display() { 446 if ( !empty( $this->contents ) ) 446 if ( ! empty( $this->contents ) ) { 447 // phpcs:ignore WordPress.Security.EscapeOutput 447 448 echo $this->contents; 449 } 448 450 } 449 451 }
Note:
See TracChangeset
for help on using the changeset viewer.