Make WordPress Core


Ignore:
Timestamp:
09/25/2023 03:34:34 PM (3 years ago)
Author:
SergeyBiryukov
Message:

Coding Standards: Fix a few newly introduced WPCS issues.

Follow-up to [56570], [56573], [56589], [56604], [56612], [56620], [56629], [56631], [56638], [56642], [56644], [56649].

Props jrf.
See #59161, #58831.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tests/phpunit/tests/media.php

    r56651 r56680  
    44374437                add_filter(
    44384438                        'the_content',
    4439                         function( $content ) use ( &$result ) {
     4439                        function ( $content ) use ( &$result ) {
    44404440                                $attr   = $this->get_width_height_for_high_priority();
    44414441                                $result = wp_get_loading_optimization_attributes( 'img', $attr, 'something_completely_arbitrary' );
     
    44974497                add_filter(
    44984498                        'wp_loading_optimization_force_header_contexts',
    4499                         function( $context ) {
     4499                        function ( $context ) {
    45004500                                $contexts['something_completely_arbitrary'] = true;
    45014501                                return $contexts;
Note: See TracChangeset for help on using the changeset viewer.