@@ -56,7 +56,7 @@ discard block |
||
| 56 | 56 | * Constructor |
| 57 | 57 | */ |
| 58 | 58 | public function __construct() { |
| 59 | - if ( ! is_admin() ) { |
|
| 59 | + if ( ! is_admin()) { |
|
| 60 | 60 | $this->load_classes(); |
| 61 | 61 | } |
| 62 | 62 | } |
@@ -70,7 +70,7 @@ discard block |
||
| 70 | 70 | */ |
| 71 | 71 | public static function get_instance() { |
| 72 | 72 | // If the single instance hasn't been set, set it now. |
| 73 | - if ( null === self::$instance ) { |
|
| 73 | + if (null === self::$instance) { |
|
| 74 | 74 | self::$instance = new self(); |
| 75 | 75 | } |
| 76 | 76 | return self::$instance; |
@@ -108,10 +108,10 @@ discard block |
||
| 108 | 108 | * @param string $title the term title. |
| 109 | 109 | * @return string |
| 110 | 110 | */ |
| 111 | - public function get_the_archive_title( $title ) { |
|
| 112 | - if ( is_tax() ) { |
|
| 111 | + public function get_the_archive_title($title) { |
|
| 112 | + if (is_tax()) { |
|
| 113 | 113 | $queried_object = get_queried_object(); |
| 114 | - if ( isset( $queried_object->name ) ) { |
|
| 114 | + if (isset($queried_object->name)) { |
|
| 115 | 115 | $title = $queried_object->name; |
| 116 | 116 | } |
| 117 | 117 | } |