Skip to content

Commit

Permalink
update annotations versions (#20713)
Browse files Browse the repository at this point in the history
  • Loading branch information
leogermani authored Aug 21, 2021
1 parent 30fdac4 commit acd20c8
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 4 deletions.
4 changes: 4 additions & 0 deletions projects/packages/assets/changelog/2021-08-16-19-37-17-522182
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
Significance: patch
Type: changed

update annotations versions
9 changes: 5 additions & 4 deletions projects/packages/assets/src/class-assets.php
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,8 @@ public function script_add_async( $tag, $handle ) {
* Typically this is done by passing __FILE__ as the argument.
*
* @return string The URL to the file
* @since 5.6.0
* @since 1.0.3
* @since-jetpack 5.6.0
*/
public static function get_file_url_for_environment( $min_path, $non_min_path, $package_path = '' ) {
$path = ( Jetpack_Constants::is_defined( 'SCRIPT_DEBUG' ) && Jetpack_Constants::get_constant( 'SCRIPT_DEBUG' ) )
Expand All @@ -125,7 +126,7 @@ public static function get_file_url_for_environment( $min_path, $non_min_path, $
/**
* Filters the URL for a file passed through the get_file_url_for_environment function.
*
* @since 8.1.0
* @since 1.0.3
*
* @package assets
*
Expand Down Expand Up @@ -155,7 +156,7 @@ public static function enqueue_async_script( $handle, $min_path, $non_min_path,
/**
* Passes an array of URLs to wp_resource_hints.
*
* @since 8.8.0
* @since 1.5.0
*
* @param string|array $urls URLs to hint.
* @param string $type One of the supported resource types: dns-prefetch (default), preconnect, prefetch, or prerender.
Expand All @@ -180,7 +181,7 @@ function ( $hints, $resource_type ) use ( $urls, $type ) {
/**
* Serve a WordPress.com static resource via a randomized wp.com subdomain.
*
* @since 9.3.0
* @since 1.9.0
*
* @param string $url WordPress.com static resource URL.
*
Expand Down

0 comments on commit acd20c8

Please sign in to comment.