Make WordPress Core

Changeset 62346 for trunk


Ignore:
Timestamp:
05/10/2026 11:42:24 PM (4 months ago)
Author:
SergeyBiryukov
Message:

Coding Standards: Correct alignment in _wp_privacy_settings_filter_draft_page_titles() tests.

This resolves a WPCS warning:

Array double arrow not aligned correctly

Follow-up to [62345].

Props peterwilsoncc.
See #65202.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tests/phpunit/tests/admin/includes/misc/WpPrivacySettingsFilterDraftPageTitles_Test.php

    r62345 r62346  
    4343        public function data_wp_privacy_settings_filter_draft_page_titles(): array {
    4444                return array(
    45                         'draft page on privacy screen'   => array(
     45                        'draft page on privacy screen'     => array(
    4646                                'expected'    => 'Privacy Policy (Draft)',
    4747                                'title'       => 'Privacy Policy',
     
    5555                                'screen_id'   => 'privacy',
    5656                        ),
    57                         'draft page on other screen'     => array(
     57                        'draft page on other screen'       => array(
    5858                                'expected'    => 'About Us',
    5959                                'title'       => 'About Us',
     
    6161                                'screen_id'   => 'edit-page',
    6262                        ),
    63                         'pending page on privacy screen' => array(
     63                        'pending page on privacy screen'   => array(
    6464                                'expected'    => 'Privacy Policy',
    6565                                'title'       => 'Privacy Policy',
Note: See TracChangeset for help on using the changeset viewer.