Code Coverage |
||||||||||
Lines |
Functions and Methods |
Classes and Traits |
||||||||
| Total | |
0.00% |
0 / 2 |
n/a |
0 / 0 |
CRAP | n/a |
0 / 0 |
||
| VideoPress_XMLRPC | n/a |
0 / 0 |
n/a |
0 / 0 |
1 | n/a |
0 / 0 |
|||
| init | n/a |
0 / 0 |
n/a |
0 / 0 |
1 | |||||
| 1 | <?php // phpcs:ignore WordPress.Files.FileName.InvalidClassFileName |
| 2 | |
| 3 | use Automattic\Jetpack\VideoPress\XMLRPC; |
| 4 | |
| 5 | if ( ! defined( 'ABSPATH' ) ) { |
| 6 | exit( 0 ); |
| 7 | } |
| 8 | |
| 9 | /** |
| 10 | * VideoPress playback module markup generator. |
| 11 | * |
| 12 | * @since 1.3 |
| 13 | */ |
| 14 | class VideoPress_XMLRPC { |
| 15 | |
| 16 | /** |
| 17 | * Initialize the XMLRPC and get back a singleton instance. |
| 18 | * |
| 19 | * @return XMLRPC |
| 20 | * @deprecated 11.2 |
| 21 | * @see Automattic\Jetpack\VideoPress\XMLRPC::init |
| 22 | */ |
| 23 | public static function init() { |
| 24 | _deprecated_function( __METHOD__, 'jetpack-11.2', 'Automattic\Jetpack\VideoPress\XMLRPC' ); |
| 25 | return XMLRPC::init(); |
| 26 | } |
| 27 | } |