wp-includes/class-wp-theme-json.php:2768Updates the text indent selector for paragraph blocks based on the textIndent setting.
$feature_declarationsarray$settingsarray$block_namestringarray private static function update_paragraph_text_indent_selector( $feature_declarations, $settings, $block_name ) { if ( 'core/paragraph' !== $block_name ) { return $feature_declarations; } // Check block-level settings first, then fall back to global settings. $block_settings = $settings['blocks']['core/paragraph'] ?? null; $text_indent_setting = $block_settings['typography']['textIndent'] ?? $settings['typography']['textIndent'] ?? 'subsequent'; if ( 'all' !== $text_indent_setting ) { return $feature_declarations; } // Look for the text indent selector and replace it. $old_selector = '.wp-block-paragraph + .wp-block-paragraph'; $new_selector = '.wp-block-paragraph'; if ( isset( $feature_declarations[ $old_selector ] ) ) { $declarations = $feature_declarations[ $old_selector ]; unset( $feature_declarations[ $old_selector ] ); $feature_declarations[ $new_selector ] = $declarations; } return $feature_declarations; }Introduced in 7.0.0. Unchanged from 7.0.4 through 7.1.0.
Signature, return type and hooks compared across 2 parsed releases.
src/wp-includes/class-wp-theme-json.php, and regenerated for each WordPress release so it tracks the code rather than a snapshot of it.