PluginProbe
MainWP Dashboard: Self-hosted WordPress Management for Agencies / 4.2
MainWP Dashboard: Self-hosted WordPress Management for Agencies v4.2
6.2 6.1.8 6.1.7 6.1.6 6.1.5 6.1.4 6.1.3 6.1.2 6.1.1 6.1 6.0.12 6.0.11 4.6.0.1 5.0 5.0.1 5.0.2 5.0.3 5.0.3.1 5.0.3.2 5.1 5.1.1 5.2 5.2.1 5.2.2 5.3 All 153 releases
← All changes | class/class-mainwp-format.php +4 -3 5.04.2 View file →
@@ -147,13 +147,13 @@
147 147 */
148 148 public static function get_site_updates_items( $what, $sites_ids = false ) {
149 149
150 150 $items = array();
151 - if ( 'plugin' === $what ) {
151 + if ( 'plugin' == $what ) {
152 152 $items = self::get_update_plugins_items();
153 - } elseif ( 'theme' === $what ) {
153 + } elseif ( 'theme' == $what ) {
154 154 $items = self::get_update_themes_items();
155 - } elseif ( 'wpcore' === $what ) {
155 + } elseif ( 'wpcore' == $what ) {
156 156 $items = self::get_update_wp_items();
157 157 }
158 158
159 159 $filters = array();
@@ -539,5 +539,6 @@
539 539 }
540 540 $mail_send = apply_filters( 'mainwp_format_email', $mail_send );
541 541 return $mail_send['header'] . $mail_send['body'] . $mail_send['footer'];
542 542 }
543 +
543 544 }