diff --git a/projects/plugins/jetpack/changelog/update-videopress-enable-in-modules b/projects/plugins/jetpack/changelog/update-videopress-enable-in-modules new file mode 100644 index 0000000000000..e37e57a8a1518 --- /dev/null +++ b/projects/plugins/jetpack/changelog/update-videopress-enable-in-modules @@ -0,0 +1,4 @@ +Significance: minor +Type: bugfix + +VideoPress can now be managed on the Modules page for any plan type. diff --git a/projects/plugins/jetpack/class.jetpack-modules-list-table.php b/projects/plugins/jetpack/class.jetpack-modules-list-table.php index 82945aed78d48..004a2dffead6d 100644 --- a/projects/plugins/jetpack/class.jetpack-modules-list-table.php +++ b/projects/plugins/jetpack/class.jetpack-modules-list-table.php @@ -99,9 +99,7 @@ function js_templates() { if ( item === undefined ) return; #> - <# if ( 'videopress' !== item.module ) { #> - <# } #> {{{ item.name }}} @@ -109,9 +107,9 @@ function js_templates() { <# if ( item.configurable ) { #> {{{ item.configurable }}} <# } #> - <# if ( item.activated && 'vaultpress' !== item.module && item.available && 'videopress' !== item.module ) { #> + <# if ( item.activated && 'vaultpress' !== item.module && item.available ) { #> - <# } else if ( item.available && 'videopress' !== item.module ) { #> + <# } else if ( item.available ) { #> <# } #> <# if ( ! item.available ) { #> diff --git a/projects/plugins/jetpack/class.jetpack-plan.php b/projects/plugins/jetpack/class.jetpack-plan.php index 5d3f575ee7b8f..889a0f7cfb3d4 100644 --- a/projects/plugins/jetpack/class.jetpack-plan.php +++ b/projects/plugins/jetpack/class.jetpack-plan.php @@ -46,6 +46,7 @@ class Jetpack_Plan { 'send-a-message', 'whatsapp-button', 'social-previews', + 'videopress', 'core/video', 'core/cover', @@ -64,6 +65,7 @@ class Jetpack_Plan { 'akismet', 'recurring-payments', 'premium-content/container', + 'videopress', ), ), 'premium' => array( diff --git a/projects/plugins/jetpack/modules/videopress.php b/projects/plugins/jetpack/modules/videopress.php index 1a3c37e24f0c7..eafc1b678a5e2 100644 --- a/projects/plugins/jetpack/modules/videopress.php +++ b/projects/plugins/jetpack/modules/videopress.php @@ -3,13 +3,11 @@ * Module Name: VideoPress * Module Description: Save on hosting storage and bandwidth costs by streaming fast, ad-free video from our global network. * First Introduced: 2.5 - * Free: false * Requires Connection: Yes * Sort Order: 27 * Module Tags: Photos and Videos * Feature: Writing * Additional Search Queries: video, videos, videopress, video gallery, video player, videoplayer, mobile video, vimeo, youtube, html5 video, stream - * Plans: business, premium, security, complete */ include_once dirname( __FILE__ ) . '/videopress/shortcode.php';