Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
04/28/2024 12:23:47 PM (3 years ago)
Author:
imath
Message:

Core: improve PHP code standards using WPCS

See #7228 (trunk)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/bp-core/classes/class-bp-core-oembed-extension.php

    r13157 r13818  
    494494                if ( ! class_exists( 'SimpleXMLElement' ) ) {
    495495                        status_header( 501 );
    496                         die( get_status_header_desc( 501 ) );
     496                        die( esc_html( get_status_header_desc( 501 ) ) );
    497497                }
    498498
    … …  
    509509                }
    510510
     511                // phpcs:ignore WordPress.Security.EscapeOutput
    511512                echo $result;
    512513
Note: See TracChangeset for help on using the changeset viewer.