Skip to content

Commit 74bc6f7

Browse files
committed
Merge branch 'trunk' into prepare/view-transitions-110
2 parents 8254ad9 + 992239b commit 74bc6f7

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

plugins/view-transitions/includes/settings.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ function plvt_get_setting_default(): array {
6464
return array(
6565
'override_theme_config' => false,
6666
'default_transition_animation' => 'fade',
67-
'default_transition_animation_duration' => 1000,
67+
'default_transition_animation_duration' => 400,
6868
'header_selector' => 'header',
6969
'main_selector' => 'main',
7070
'post_title_selector' => '.wp-block-post-title, .entry-title',
@@ -327,7 +327,7 @@ static function (): void {
327327
'default_transition_animation_duration' => array(
328328
'section' => 'plvt_view_transitions',
329329
'title' => __( 'Transition Animation Duration', 'view-transitions' ),
330-
'description' => __( 'Control the duration of the view transition. Enter the value in milliseconds (e.g., 1000, 1500, 2000).', 'view-transitions' ),
330+
'description' => __( 'Control the duration of the view transition. Enter the value in milliseconds (e.g., 500, 1000, 2000).', 'view-transitions' ),
331331
),
332332
'header_selector' => array(
333333
'section' => 'plvt_view_transitions',

plugins/view-transitions/includes/theme.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ function plvt_sanitize_view_transitions_theme_support(): void {
7777
'.wp-block-post-content, .entry-content' => 'post-content',
7878
),
7979
'default-animation' => 'fade',
80-
'default-animation-duration' => 1000,
80+
'default-animation-duration' => 400,
8181
);
8282

8383
// If no specific `$args` were provided, simply use the defaults.

0 commit comments

Comments
 (0)