Skip to content

Commit 8e5f193

Browse files
authored
Merge pull request #2080 from WordPress/prepare/view-transitions-110
Prepare view-transitions 1.1.0 release
2 parents 992239b + cb0d0b3 commit 8e5f193

File tree

5 files changed

+24
-9
lines changed

5 files changed

+24
-9
lines changed

plugins/view-transitions/includes/admin.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
* Admin related functions for View Transitions.
44
*
55
* @package view-transitions
6-
* @since n.e.x.t
6+
* @since 1.1.0
77
*/
88

99
// @codeCoverageIgnoreStart
@@ -20,7 +20,7 @@
2020
* It should be hooked to an appropriate action to ensure the styles
2121
* are included in the page output.
2222
*
23-
* @since n.e.x.t
23+
* @since 1.1.0
2424
*/
2525
function plvt_print_view_transitions_admin_style(): void {
2626
$options = plvt_get_stored_setting_value();

plugins/view-transitions/includes/settings.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,6 @@ function plvt_get_view_transition_animation_labels(): array {
5252
* the other frontend specific settings won't be applied.
5353
* @type string $default_transition_animation Default view transition animation.
5454
* @type int $default_transition_animation_duration Default transition animation duration in milliseconds.
55-
* Added in n.e.x.t
5655
* @type string $header_selector CSS selector for the global header element.
5756
* @type string $main_selector CSS selector for the global main element.
5857
* @type string $post_title_selector CSS selector for the post title element.
@@ -87,7 +86,6 @@ function plvt_get_setting_default(): array {
8786
* the other frontend specific settings won't be applied.
8887
* @type string $default_transition_animation Default view transition animation.
8988
* @type int $default_transition_animation_duration Default transition animation duration in milliseconds.
90-
* Added in n.e.x.t
9189
* @type string $header_selector CSS selector for the global header element.
9290
* @type string $main_selector CSS selector for the global main element.
9391
* @type string $post_title_selector CSS selector for the post title element.
@@ -113,7 +111,6 @@ function plvt_get_stored_setting_value(): array {
113111
* the other frontend specific settings won't be applied.
114112
* @type string $default_transition_animation Default view transition animation.
115113
* @type int $default_transition_animation_duration Default transition animation duration in milliseconds.
116-
* Added in n.e.x.t
117114
* @type string $header_selector CSS selector for the global header element.
118115
* @type string $main_selector CSS selector for the global main element.
119116
* @type string $post_title_selector CSS selector for the post title element.

plugins/view-transitions/includes/theme.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -369,7 +369,7 @@ function plvt_load_view_transitions(): void {
369369
/**
370370
* Injects the animation duration placeholder in the provided CSS with a value based on the transition duration.
371371
*
372-
* @since n.e.x.t
372+
* @since 1.1.0
373373
* @access private
374374
*
375375
* @param string $css The raw CSS string containing the placeholder `plvt-view-transition-duration;`.

plugins/view-transitions/readme.txt

Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
Contributors: wordpressdotorg
44
Tested up to: 6.8
5-
Stable tag: 1.0.1
5+
Stable tag: 1.1.0
66
License: GPLv2 or later
77
License URI: https://www.gnu.org/licenses/gpl-2.0.html
88
Tags: performance, view transitions, smooth transitions, animations
@@ -56,6 +56,24 @@ Contributions are always welcome! Learn more about how to get involved in the [C
5656

5757
== Changelog ==
5858

59+
= 1.1.0 =
60+
61+
**Features**
62+
63+
* Add view transitions for WP Admin. ([2038](https://github.com/WordPress/performance/pull/2038))
64+
65+
**Enhancements**
66+
67+
* Allow control over view transition animation duration. ([2051](https://github.com/WordPress/performance/pull/2051))
68+
* Make `plvt_inject_animation_duration()` reusable for all transition types, including default fade. ([2078](https://github.com/WordPress/performance/pull/2078))
69+
* Make settings section title properly translatable. ([2042](https://github.com/WordPress/performance/pull/2042))
70+
71+
**Bug Fixes**
72+
73+
* Inform the user if the current theme explicitly supports view transitions with its own configuration, and add a UI control to make overriding that configuration via settings optional. ([2037](https://github.com/WordPress/performance/pull/2037))
74+
* Set default view transition duration to 400 for better alignment with browser default. ([2081](https://github.com/WordPress/performance/pull/2081))
75+
* Respect prefers-reduced-motion settings. ([2068](https://github.com/WordPress/performance/pull/2068))
76+
5977
= 1.0.1 =
6078

6179
* Fix view transitions setting values not being saved. ([2036](https://github.com/WordPress/performance/pull/2036))

plugins/view-transitions/view-transitions.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
* Description: Adds smooth transitions between navigations to your WordPress site.
66
* Requires at least: 6.6
77
* Requires PHP: 7.2
8-
* Version: 1.0.1
8+
* Version: 1.1.0
99
* Author: WordPress Performance Team
1010
* Author URI: https://make.wordpress.org/performance/
1111
* License: GPLv2 or later
@@ -25,7 +25,7 @@
2525
return;
2626
}
2727

28-
define( 'VIEW_TRANSITIONS_VERSION', '1.0.1' );
28+
define( 'VIEW_TRANSITIONS_VERSION', '1.1.0' );
2929
define( 'VIEW_TRANSITIONS_MAIN_FILE', __FILE__ );
3030

3131
require_once __DIR__ . '/includes/admin.php';

0 commit comments

Comments
 (0)