Skip to content

Commit 9ad2c89

Browse files
committed
Revert "Keep amp-carousel on version 0.1 since 0.2 depends on experimental amp-base-carousel"
This reverts commit c93cb0b.
1 parent 7515ad1 commit 9ad2c89

1 file changed

Lines changed: 0 additions & 9 deletions

File tree

includes/amp-helper-functions.php

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -459,15 +459,6 @@ function amp_register_default_scripts( $wp_scripts ) {
459459
}
460460
}
461461

462-
if ( isset( $extensions['amp-carousel'] ) ) {
463-
/*
464-
* The 0.2 version of amp-carousel depends on the amp-base-carousel component, but this is still experimental.
465-
* Also, the validator spec does not currently specify what base dependencies a given component has.
466-
* @todo Revisit once amp-base-carousel is no longer experimental. Add support for obtaining a list of extensions that depend on other extensions to include in the script dependencies when registering below.
467-
*/
468-
$extensions['amp-carousel'] = '0.1';
469-
}
470-
471462
foreach ( $extensions as $extension => $version ) {
472463
$src = sprintf(
473464
'https://cdn.ampproject.org/v0/%s-%s.js',

0 commit comments

Comments
 (0)