Add upstream
This commit is contained in:
		
							
								
								
									
										22
									
								
								wp-content/plugins/jetpack/modules/shortcodes/videopress.php
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										22
									
								
								wp-content/plugins/jetpack/modules/shortcodes/videopress.php
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,22 @@ | ||||
| <?php | ||||
| /** | ||||
|  * Provides VideoPress videos support when module is disabled. | ||||
|  * | ||||
|  * @since 2.4 | ||||
|  * @since 3.9.5 Added compatibility with refactored VideoPress module. | ||||
|  * | ||||
|  * @package Jetpack | ||||
|  */ | ||||
|  | ||||
| if ( ! Jetpack::is_module_active( 'videopress' ) ) { | ||||
|  | ||||
| 	Jetpack::dns_prefetch( | ||||
| 		array( | ||||
| 			'//v0.wordpress.com', | ||||
| 		) | ||||
| 	); | ||||
|  | ||||
| 	include_once JETPACK__PLUGIN_DIR . 'modules/videopress/utility-functions.php'; | ||||
| 	include_once JETPACK__PLUGIN_DIR . 'modules/videopress/shortcode.php'; | ||||
|  | ||||
| } | ||||
		Reference in New Issue
	
	Block a user