Changeset 56738
- Timestamp:
- 09/28/2023 12:02:47 AM (16 months ago)
- Location:
- trunk
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/block-patterns.php
r56472 r56738 469 469 // Translate the pattern metadata. 470 470 $text_domain = $theme->get( 'TextDomain' ); 471 // phpcs:ignore WordPress.WP.I18n.NonSingularStringLiteralText, WordPress.WP.I18n.NonSingularStringLiteralContext, WordPress.WP.I18n.NonSingularStringLiteralDomain,WordPress.WP.I18n.LowLevelTranslationFunction471 // phpcs:ignore WordPress.WP.I18n.NonSingularStringLiteralText,WordPress.WP.I18n.NonSingularStringLiteralDomain,WordPress.WP.I18n.LowLevelTranslationFunction 472 472 $pattern_data['title'] = translate_with_gettext_context( $pattern_data['title'], 'Pattern title', $text_domain ); 473 473 if ( ! empty( $pattern_data['description'] ) ) { 474 // phpcs:ignore WordPress.WP.I18n.NonSingularStringLiteralText, WordPress.WP.I18n.NonSingularStringLiteralContext, WordPress.WP.I18n.NonSingularStringLiteralDomain,WordPress.WP.I18n.LowLevelTranslationFunction474 // phpcs:ignore WordPress.WP.I18n.NonSingularStringLiteralText,WordPress.WP.I18n.NonSingularStringLiteralDomain,WordPress.WP.I18n.LowLevelTranslationFunction 475 475 $pattern_data['description'] = translate_with_gettext_context( $pattern_data['description'], 'Pattern description', $text_domain ); 476 476 } -
trunk/src/wp-includes/canonical.php
r56718 r56738 958 958 if ( get_query_var( 'post_type' ) ) { 959 959 if ( is_array( get_query_var( 'post_type' ) ) ) { 960 // phpcs:ignore WordPress.DB.PreparedSQLPlaceholders.UnfinishedPrepare961 960 $where .= " AND post_type IN ('" . join( "', '", esc_sql( get_query_var( 'post_type' ) ) ) . "')"; 962 961 } else { -
trunk/tests/phpunit/tests/db/dbDelta.php
r56548 r56738 69 69 " 70 70 CREATE TABLE {$wpdb->prefix}dbdelta_test (" . 71 // phpcs:ignore WordPress.DB.PreparedSQL.InterpolatedNotPrepared72 71 'id bigint(20) NOT NULL AUTO_INCREMENT, 73 72 column_1 varchar(255) NOT NULL, -
trunk/tests/phpunit/tests/import/import.php
r54402 r56738 29 29 // Crude but effective: make sure there's no residual data in the main tables. 30 30 foreach ( array( 'posts', 'postmeta', 'comments', 'terms', 'term_taxonomy', 'term_relationships', 'users', 'usermeta' ) as $table ) { 31 // phpcs:ignore WordPress.DB.PreparedSQL.InterpolatedNotPrepared32 31 $wpdb->query( "DELETE FROM {$wpdb->$table}" ); 33 32 }
Note: See TracChangeset
for help on using the changeset viewer.