PluginProbe
MainWP Dashboard: Self-hosted WordPress Management for Agencies / 6.2.2
MainWP Dashboard: Self-hosted WordPress Management for Agencies v6.2.2
6.2.3 6.2.2 6.2.1 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 All 156 releases
← All changes | pages/page-mainwp-updates.php +4 -11 6.0.12 → 6.2.2 View file →
@@ -2058,10 +2058,10 @@
2058 2058 || ( 'plugins-updates' === $current_tab && 0 < $total_plugin_upgrades )
2059 2059 || ( 'themes-updates' === $current_tab && 0 < $total_theme_upgrades )
2060 2060 || ( 'wordpress-updates' === $current_tab && 0 < $total_wp_upgrades )
2061 2061 || ( 'translations-updates' === $current_tab && 0 < $total_translation_upgrades )
2062 - || ( 'abandoned-plugins' === $current_tab && 0 < $total_plugins_outdate )
2063 - || ( 'abandoned-themes' === $current_tab && 0 < $total_themes_outdate );
2062 + || 'abandoned-plugins' === $current_tab
2063 + || 'abandoned-themes' === $current_tab;
2064 2064 $current_tab_updates_count = 0;
2065 2065
2066 2066 if ( 'plugins-updates' === $current_tab ) {
2067 2067 $current_tab_updates_count = $total_plugin_upgrades;
@@ -2091,15 +2091,8 @@
2091 2091 */
2092 2092 do_action( 'mainwp_updates_before_actions_bar' );
2093 2093 ?>
2094 2094
2095 - <?php
2096 - $show_actions_bar = ( 'plugins-updates' === $current_tab && 0 < $total_plugin_upgrades )
2097 - || ( 'themes-updates' === $current_tab && 0 < $total_theme_upgrades )
2098 - || ( 'wordpress-updates' === $current_tab && 0 < $total_wp_upgrades )
2099 - || ( 'translations-updates' === $current_tab && 0 < $total_translation_upgrades )
2100 - || in_array( $current_tab, array( 'abandoned-plugins', 'abandoned-themes' ), true );
2101 - ?>
2102 2095 <?php if ( ! $hide_show_updates_per || $show_select_staging_sites ) : ?>
2103 2096 <?php if ( $show_updates_actions_bar ) : ?>
2104 2097 <div class="mainwp-sub-header">
2105 2098 <div class="ui three column grid">
@@ -2337,14 +2330,14 @@
2337 2330 if ( $has_updates ) {
2338 2331 static::set_continue_update_html_selector( 'plugins_global_upgrade_all' );
2339 2332 ?>
2340 2333 <a href="javascript:void(0)" onClick="updatesoverview_plugins_global_upgrade_all( false, true ); return false;" class="mainwp-update-selected-button ui mini green basic button"><?php esc_html_e( 'Update Selected Plugins', 'mainwp' ); ?></a>
2341 - <a href="javascript:void(0)" onClick="updatesoverview_plugins_global_upgrade_all(); return false;" class="mainwp-update-all-button ui mini green button"><?php esc_html_e( 'Update All Sites', 'mainwp' ); ?></a>
2334 + <a href="javascript:void(0)" onClick="updatesoverview_plugins_global_upgrade_all(); return false;" class="mainwp-update-all-button ui mini green button"><?php esc_html_e( 'Update All Plugins', 'mainwp' ); ?></a>
2342 2335 <?php
2343 2336 } else {
2344 2337 ?>
2345 2338 <a href="javascript:void(0)" class="mainwp-update-selected-button ui mini green basic disabled button" aria-disabled="true" tabindex="-1"><?php esc_html_e( 'Update Selected Plugins', 'mainwp' ); ?></a>
2346 - <a href="javascript:void(0)" class="mainwp-update-all-button ui mini green disabled button" aria-disabled="true" tabindex="-1"><?php esc_html_e( 'Update All Sites', 'mainwp' ); ?></a>
2339 + <a href="javascript:void(0)" class="mainwp-update-all-button ui mini green disabled button" aria-disabled="true" tabindex="-1"><?php esc_html_e( 'Update All Plugins', 'mainwp' ); ?></a>
2347 2340 <?php
2348 2341 }
2349 2342 }
2350 2343 } elseif ( 'themes-updates' === $current_tab ) {