@@ -101,7 +101,7 @@ discard block |
||
101 | 101 | |
102 | 102 | $display_count = 0; |
103 | 103 | foreach ( $posts as $post ) { |
104 | - $display_count ++; |
|
104 | + $display_count++; |
|
105 | 105 | if ( $display_count > $limit ) { |
106 | 106 | break; |
107 | 107 | } |
@@ -118,12 +118,12 @@ discard block |
||
118 | 118 | $html .= '<span class="monsterinsights-widget-popular-posts-label" ' . $this->get_element_style( $theme, 'label', $atts ) . '>' . $label_text . '</span>'; |
119 | 119 | } |
120 | 120 | $html .= '<span class="monsterinsights-widget-popular-posts-title" ' . $this->get_element_style( $theme, 'title', $atts ) . '>' . $post['title'] . '</span>'; |
121 | - $html .= '</div>';// monsterinsights-widget-popular-posts-text. |
|
121 | + $html .= '</div>'; // monsterinsights-widget-popular-posts-text. |
|
122 | 122 | $html .= '</a>'; |
123 | 123 | $html .= '</li>'; |
124 | 124 | } |
125 | 125 | |
126 | - $html .= '</ul></div><p></p>';// Main div. |
|
126 | + $html .= '</ul></div><p></p>'; // Main div. |
|
127 | 127 | |
128 | 128 | return $html; |
129 | 129 |