Make WordPress Core

Opened 4 weeks ago

Last modified 2 weeks ago

#63168 new task (blessed)

Coding Standards fixes for WP 6.9

Reported by: desrosj's profile desrosj Owned by:
Milestone: 6.9 Priority: normal
Severity: normal Version:
Component: General Keywords:
Focuses: coding-standards Cc:

Description

Previously:

Change History (6)

#1 @SergeyBiryukov
4 weeks ago

In 60094:

Coding Standards: Remove a one-time $sql variable in WP_Importer methods.

This allows the $wpdb::prepare() calls to be picked up correctly by PHPCS.

Follow-up to [14760].

Props aristath, poena, afercia, SergeyBiryukov.
See #63168.

#2 @SergeyBiryukov
4 weeks ago

In 60096:

Coding Standards: Remove a one-time $sql variable in network_domain_check().

This allows the $wpdb::prepare() call to be picked up correctly by PHPCS.

Follow-up to [28712].

Props aristath, poena, afercia, SergeyBiryukov.
See #63168.

#3 @SergeyBiryukov
3 weeks ago

In 60101:

Coding Standards: Remove a one-time $sql variable in Edit Site form.

This allows the $wpdb::prepare() call to be picked up correctly by PHPCS.

Follow-up to [28712].

Props aristath, poena, afercia, SergeyBiryukov.
See #63168.

#4 @SergeyBiryukov
3 weeks ago

In 60103:

Coding Standards: Move $wp_db_version declaration to the top of wp-admin/network/upgrade.php.

Includes removing a duplicate DocBlock.

Follow-up to [12603], [25191], [60095].

See #63168.

#5 @SergeyBiryukov
3 weeks ago

In 60106:

Coding Standards: Use $wpdb::prepare() in wp-admin/maint/repair.php.

Follow-up to [11902], [12092], [13224], [13229].

Props aristath, poena, afercia, SergeyBiryukov.
See #63168.

#6 @SergeyBiryukov
2 weeks ago

In 60131:

Coding Standards: Move wp_unique_id_from_values() next to wp_unique_id() and wp_unique_prefixed_id(), for consistency.

Follow-up to [60038].

See #63168.

Note: See TracTickets for help on using tickets.