Skip to content

Commit c257c59

Browse files
committed
Refactoring
1 parent 6cc3a2c commit c257c59

File tree

3 files changed

+4
-6
lines changed

3 files changed

+4
-6
lines changed

pages/page-mainwp-plugins.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -482,7 +482,7 @@ public static function render() {
482482

483483
MainWP_UI::render_sidebar_options();
484484
?>
485-
485+
486486
<div class="mainwp-select-sites ui accordion mainwp-sidebar-accordion">
487487
<?php
488488
/**
@@ -1395,7 +1395,7 @@ public static function render_auto_update() {
13951395
<?php do_action( 'mainwp_manage_plugins_before_search_options' ); ?>
13961396
<div class="ui info message">
13971397
<i class="close icon mainwp-notice-dismiss" notice-id="disable-auto-updates"></i>
1398-
<p><?php echo sprintf( __( 'Check out %show to disable the WordPress built in auto-updates feature%s.', 'mainwp' ), '<a href="https://mainwp.com/how-to-disable-automatic-plugin-and-theme-updates-on-your-child-sites/" target="_blank">', '</a>' ); ?></p>
1398+
<p><?php echo sprintf( __( 'Check out %1$show to disable the WordPress built in auto-updates feature%2$s.', 'mainwp' ), '<a href="https://mainwp.com/how-to-disable-automatic-plugin-and-theme-updates-on-your-child-sites/" target="_blank">', '</a>' ); ?></p>
13991399
</div>
14001400
<div class="ui info message">
14011401
<i class="close icon mainwp-notice-dismiss" notice-id="plugins-auto-updates"></i>

pages/page-mainwp-security-issues.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -169,8 +169,7 @@ public static function render( $website = null ) {
169169
<strong id="versions-status-ok" style="display: none;"><?php esc_html_e( 'Scripts and Stylesheets version information has been removed from URLs', 'mainwp' ); ?></strong>
170170
<br />
171171
<em><?php esc_html_e( 'After fixing this issue, versions will be removed', 'mainwp' ); ?></em>
172-
</td>
173-
172+
</td>
174173
<td>
175174
<span id="versions_fix" style="display: none"><a href="#" class="ui mini green fluid button"><?php esc_html_e( 'Fix', 'mainwp' ); ?></a></span>
176175
<span id="versions_unfix" style="display: none"><a href="#" class="ui mini fluid button"><?php esc_html_e( 'Unfix', 'mainwp' ); ?></a></span>

pages/page-mainwp-themes.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1013,8 +1013,7 @@ public static function render_manage_themes_table( $sites, $themes, $siteThemes,
10131013
* @since 4.1
10141014
*/
10151015
$table_features = apply_filters( 'mainwp_themes_table_features', $table_features );
1016-
?>
1017-
1016+
?>
10181017
<style type="text/css">
10191018
thead th.mainwp-first-th {
10201019
position: sticky !important;

0 commit comments

Comments
 (0)