@@ -126,7 +126,7 @@ |
||
| 126 | 126 | function monsterinsights_rss_link_tagger( $guid ) { |
| 127 | 127 | global $post; |
| 128 | 128 | |
| 129 | - if ( monsterinsights_get_option( 'tag_links_in_rss', false ) ){ |
|
| 129 | + if ( monsterinsights_get_option( 'tag_links_in_rss', false ) ) { |
|
| 130 | 130 | if ( is_feed() ) { |
| 131 | 131 | if ( monsterinsights_get_option( 'allow_anchor', false ) ) { |
| 132 | 132 | $delimiter = '#'; |
@@ -24,7 +24,7 @@ |
||
| 24 | 24 | |
| 25 | 25 | } |
| 26 | 26 | |
| 27 | - public function add_report( $report = false ){ |
|
| 27 | + public function add_report( $report = false ) { |
|
| 28 | 28 | if ( empty( $report ) || ! is_object( $report ) ) { |
| 29 | 29 | return; |
| 30 | 30 | } |
@@ -23,7 +23,7 @@ |
||
| 23 | 23 | parent::__construct(); |
| 24 | 24 | } |
| 25 | 25 | |
| 26 | - protected function get_report_html( $data = array() ){ |
|
| 26 | + protected function get_report_html( $data = array() ) { |
|
| 27 | 27 | return $this->get_upsell_notice(); |
| 28 | 28 | } |
| 29 | 29 | } |
| 30 | 30 | \ No newline at end of file |
@@ -23,7 +23,7 @@ |
||
| 23 | 23 | parent::__construct(); |
| 24 | 24 | } |
| 25 | 25 | |
| 26 | - protected function get_report_html( $data = array() ){ |
|
| 26 | + protected function get_report_html( $data = array() ) { |
|
| 27 | 27 | return $this->get_upsell_notice(); |
| 28 | 28 | } |
| 29 | 29 | } |
@@ -23,7 +23,7 @@ |
||
| 23 | 23 | parent::__construct(); |
| 24 | 24 | } |
| 25 | 25 | |
| 26 | - protected function get_report_html( $data = array() ){ |
|
| 26 | + protected function get_report_html( $data = array() ) { |
|
| 27 | 27 | return $this->get_upsell_notice(); |
| 28 | 28 | } |
| 29 | 29 | } |
| 30 | 30 | \ No newline at end of file |
@@ -23,7 +23,7 @@ |
||
| 23 | 23 | parent::__construct(); |
| 24 | 24 | } |
| 25 | 25 | |
| 26 | - protected function get_report_html( $data = array() ){ |
|
| 26 | + protected function get_report_html( $data = array() ) { |
|
| 27 | 27 | return $this->get_upsell_notice(); |
| 28 | 28 | } |
| 29 | 29 | } |
| 30 | 30 | \ No newline at end of file |
@@ -23,7 +23,7 @@ |
||
| 23 | 23 | parent::__construct(); |
| 24 | 24 | } |
| 25 | 25 | |
| 26 | - protected function get_report_html( $data = array() ){ |
|
| 26 | + protected function get_report_html( $data = array() ) { |
|
| 27 | 27 | return $this->get_upsell_notice(); |
| 28 | 28 | } |
| 29 | 29 | } |
| 30 | 30 | \ No newline at end of file |
@@ -146,7 +146,7 @@ discard block |
||
| 146 | 146 | function monsterinsights_update_option( $key = '', $value = false ) { |
| 147 | 147 | |
| 148 | 148 | // If no key, exit |
| 149 | - if ( empty( $key ) ){ |
|
| 149 | + if ( empty( $key ) ) { |
|
| 150 | 150 | return false; |
| 151 | 151 | } |
| 152 | 152 | |
@@ -186,7 +186,7 @@ discard block |
||
| 186 | 186 | //} |
| 187 | 187 | |
| 188 | 188 | // If it updated, let's update the global variable |
| 189 | - if ( $did_update ){ |
|
| 189 | + if ( $did_update ) { |
|
| 190 | 190 | global $monsterinsights_settings; |
| 191 | 191 | $monsterinsights_settings[ $key ] = $value; |
| 192 | 192 | } |
@@ -205,7 +205,7 @@ discard block |
||
| 205 | 205 | */ |
| 206 | 206 | function monsterinsights_delete_option( $key = '' ) { |
| 207 | 207 | // If no key, exit |
| 208 | - if ( empty( $key ) ){ |
|
| 208 | + if ( empty( $key ) ) { |
|
| 209 | 209 | return false; |
| 210 | 210 | } |
| 211 | 211 | |
@@ -236,7 +236,7 @@ discard block |
||
| 236 | 236 | //} |
| 237 | 237 | |
| 238 | 238 | // If it updated, let's update the global variable |
| 239 | - if ( $did_update ){ |
|
| 239 | + if ( $did_update ) { |
|
| 240 | 240 | global $monsterinsights_settings; |
| 241 | 241 | $monsterinsights_settings = $settings; |
| 242 | 242 | } |
@@ -255,7 +255,7 @@ discard block |
||
| 255 | 255 | */ |
| 256 | 256 | function monsterinsights_delete_options( $keys = array() ) { |
| 257 | 257 | // If no keys, exit |
| 258 | - if ( empty( $keys ) || ! is_array( $keys ) ){ |
|
| 258 | + if ( empty( $keys ) || ! is_array( $keys ) ) { |
|
| 259 | 259 | return false; |
| 260 | 260 | } |
| 261 | 261 | |
@@ -288,7 +288,7 @@ discard block |
||
| 288 | 288 | //} |
| 289 | 289 | |
| 290 | 290 | // If it updated, let's update the global variable |
| 291 | - if ( $did_update ){ |
|
| 291 | + if ( $did_update ) { |
|
| 292 | 292 | global $monsterinsights_settings; |
| 293 | 293 | $monsterinsights_settings = $settings; |
| 294 | 294 | } |
@@ -23,7 +23,7 @@ |
||
| 23 | 23 | parent::__construct(); |
| 24 | 24 | } |
| 25 | 25 | |
| 26 | - protected function get_report_html( $data = array() ){ |
|
| 26 | + protected function get_report_html( $data = array() ) { |
|
| 27 | 27 | return $this->get_upsell_notice(); |
| 28 | 28 | } |
| 29 | 29 | } |