Make WordPress Core

Opened 3 weeks ago

Last modified 6 days ago

#54728 new task (blessed)

Coding Standards fixes for WP 6.0

Reported by: hellofromTonya Owned by:
Milestone: 6.0 Priority: normal
Severity: normal Version:
Component: General Keywords: has-patch
Focuses: coding-standards Cc:

Description

Previously:

Change History (11)

#1 @jrf
3 weeks ago

  • Focuses coding-standards added

This ticket was mentioned in Slack in #core-coding-standards by costdev. View the logs.


3 weeks ago

#3 @SergeyBiryukov
3 weeks ago

In 52534:

Coding Standards: Use strict comparison in wp-admin/plugin-install.php.

Follow-up to [11366].

See #54728.

#4 @SergeyBiryukov
3 weeks ago

In 52538:

Coding Standards: Use strict comparison in wp-admin/revision.php.

Follow-up to [7913], [12751].

See #54728.

#5 @SergeyBiryukov
3 weeks ago

In 52540:

Coding Standards: Use strict comparison in wp-admin/themes.php.

Follow-up to [15646], [30697].

See #54728.

#6 @SergeyBiryukov
2 weeks ago

In 52544:

Coding Standards: Correct alignment in get_block_editor_settings().

This fixes an Array double arrow not aligned correctly WPCS warning.

Follow-up to [52054].

See #54728.

#7 @SergeyBiryukov
2 weeks ago

In 52568:

Coding Standards: Remove an extra variable in get_author_posts_url().

This fixes a Variable "$auth_ID" is not in valid snake_case format WPCS warning by using the existing $author_id variable, and brings consistency with a similar fragment in get_author_feed_link().

Follow-up to [979], [5087], [6364], [6365].

See #54728.

#8 @SergeyBiryukov
11 days ago

In 52581:

Coding Standards: Use strict comparison in wp-admin/includes/class-wp-users-list-table.php.

This mirrors a similar check a few lines below and includes minor code layout fixes for better readability.

Follow-up to [9955], [13931], [14176], [15315], [45407], [50129].

See #54728.

#9 @SergeyBiryukov
11 days ago

In 52583:

Coding Standards: Use strict comparison in wp-admin/includes/class-wp-ms-users-list-table.php.

Follow-up to [16607], [32630], [32757], [47219].

See #54728.

#10 @SergeyBiryukov
11 days ago

In 52584:

Coding Standards: Rename the $val variable to $site for clarity in WP_MS_Users_List_Table::column_blogs().

Follow-up to [12603], [13918], [16607], [32757], [52583].

See #54728.

This ticket was mentioned in PR #2198 on WordPress/wordpress-develop by leskam.


6 days ago

  • Keywords has-patch added

Coding Standards fixes for WP 6.0

Trac ticket: https://core.trac.wordpress.org/ticket/54728

Note: See TracTickets for help on using tickets.