-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
8 changed files
with
58 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,7 +12,7 @@ | |
* Plugin Name: Better Font Awesome | ||
* Plugin URI: http://wordpress.org/plugins/better-font-awesome | ||
* Description: The ultimate Font Awesome icon plugin for WordPress. | ||
* Version: 1.1.0 | ||
* Version: 1.3.0 | ||
* Author: MIGHTYminnow & Mickey Kay | ||
* Author URI: [email protected] | ||
* License: GPLv2+ | ||
|
@@ -129,13 +129,15 @@ class Better_Font_Awesome_Plugin { | |
* | ||
* @return Better_Font_Awesome The BFA object. | ||
*/ | ||
public static function get_instance( $args = '' ) { | ||
static $instance = null; | ||
if ( null === $instance ) { | ||
$instance = new static( $args ); | ||
public static function get_instance( $args = array() ) { | ||
|
||
// If the single instance hasn't been set, set it now. | ||
if ( null == self::$instance ) { | ||
self::$instance = new self( $args ); | ||
} | ||
|
||
return $instance; | ||
return self::$instance; | ||
|
||
} | ||
|
||
/** | ||
|
@@ -602,9 +604,9 @@ public function get_usage_text() { | |
<i class="icon-coffee fa fa-coffee icon-2x fa-2x"></i> <code>[icon name="coffee" class="fa-2x"]</code> or <code><i class="fa-coffee fa-2x"></i></code><br /><br /> | ||
<i class="icon-coffee fa fa-coffee icon-2x fa-2x icon-rotate-90 fa-rotate-90"></i> <code>[icon name="coffee" class="fa-2x fa-rotate-90"]</code> or <code><i class="fa-coffee fa-2x fa-rotate-90"></i></code><br /><br /><br /> | ||
<b>Font Awesome version 3.x</b> <small><a href="http://fontawesome.io/3.2.1/examples/">See all available options »</a></small><br /><br /> | ||
<i class="icon-coffee fa fa-coffee"></i> <code>[icon name="coffee"]</code> or <code><i class="icon-coffee"></i></code><br /><br /> | ||
<i class="icon-coffee fa fa-coffee icon-2x fa-2x"></i> <code>[icon name="coffee" class="icon-2x"]</code> or <code><i class="icon-coffee icon-2x"></i></code><br /><br /> | ||
<i class="icon-coffee fa fa-coffee icon-2x fa-2x icon-rotate-90 fa-rotate-90"></i> <code>[icon name="coffee" class="icon-2x icon-rotate-90"]</code> or <code><i class="icon-coffee icon-2x icon-rotate-90"></i></code>', | ||
<i class="icon-coffee fa fa-coffee"></i> <code>[icon name="coffee"]</code> or <code><i class="icon icon-coffee"></i></code><br /><br /> | ||
<i class="icon-coffee fa fa-coffee icon-2x fa-2x"></i> <code>[icon name="coffee" class="icon-2x"]</code> or <code><i class="icon icon-coffee icon-2x"></i></code><br /><br /> | ||
<i class="icon-coffee fa fa-coffee icon-2x fa-2x icon-rotate-90 fa-rotate-90"></i> <code>[icon name="coffee" class="icon-2x icon-rotate-90"]</code> or <code><i class="icon icon-coffee icon-2x icon-rotate-90"></i></code>', | ||
'better-font-awesome' ) . | ||
'</div>'; | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file.
Empty file.
Empty file.
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters