Skip to content

Commit

Permalink
General: revert to using a big entry file, with only the Logo mov… (#57)
Browse files Browse the repository at this point in the history
* General: move VaultPress class back to main plugin file

Partially reverts #16

* Logo: move to separate file.

This will avoid us using PHP5.3+ syntax in the plugin's entry file,
thus not fataling PHP 5.2 sites.
  • Loading branch information
jeherve authored Jul 12, 2019
1 parent 110825b commit 9e845e3
Show file tree
Hide file tree
Showing 3 changed files with 2,847 additions and 2,823 deletions.
29 changes: 29 additions & 0 deletions class-jetpack-logo.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
<?php
/**
* Jetpack Logo for use on dashboard pages.
*
* @since 2.1.0
*
* @package VaultPress
*/

use Automattic\Jetpack\Assets\Logo;

/**
* Jetpack Logo Class.
*/
class Jetpack_Logo {
/**
* Constructor.
*/
public function __construct() {
}

/**
* Display a Jetpack Logo.
*/
public function output() {
$logo = new Logo();
return $logo->render();
}
}
Loading

0 comments on commit 9e845e3

Please sign in to comment.