Initial commit
This commit is contained in:
commit
28e6ddf404
1083 changed files with 191734 additions and 0 deletions
12
plugins/jetpack/sal/class.json-api-platform-jetpack.php
Normal file
12
plugins/jetpack/sal/class.json-api-platform-jetpack.php
Normal file
|
@ -0,0 +1,12 @@
|
|||
<?php
|
||||
|
||||
class WPORG_Platform {
|
||||
static function get_site( $blog_id ) {
|
||||
require_once dirname( __FILE__ ) . '/class.json-api-site-jetpack.php';
|
||||
return new Jetpack_Site( $blog_id );
|
||||
}
|
||||
}
|
||||
|
||||
function wpcom_get_sal_site( $blog_id ) {
|
||||
return WPORG_Platform::get_site( $blog_id );
|
||||
}
|
Reference in a new issue