Skip to content

Commit 078d5ba

Browse files
committed
format
1 parent d0bea6e commit 078d5ba

File tree

4 files changed

+18
-8
lines changed

4 files changed

+18
-8
lines changed

views/addons-page.php

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -47,10 +47,15 @@
4747
<input name="action" type="hidden" value="<?php echo esc_attr( Controller::getHookName( 'toggle_addon' ) ); ?>" />
4848
<input name="addon_slug" type="hidden" value="<?php echo esc_attr( $addon->slug ); ?>" />
4949

50-
<button><?php if ( $addon->enabled ) {
50+
<button>
51+
<?php
52+
if ( $addon->enabled ) {
5153
echo 'Enabled';
52-
} else {
53-
echo 'Disabled'; } ?></button>
54+
} else {
55+
echo 'Disabled';
56+
}
57+
?>
58+
</button>
5459

5560
</form>
5661

views/crawled-files-page.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,8 @@
113113
</tr>
114114
<?php endif; ?>
115115

116-
<?php foreach ( $view['paginatorRecords'] as $paginator_id => $record ) :
116+
<?php
117+
foreach ( $view['paginatorRecords'] as $paginator_id => $record ) :
117118
// Plugin Check Plugin forces us to repeatedly escape
118119
// the same values.
119120
?>

views/deploy-cache-page.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,8 @@
112112
</tr>
113113
<?php endif; ?>
114114

115-
<?php foreach ( $view['paginatorRecords'] as $paginator_id => $paginator_path ) :
115+
<?php
116+
foreach ( $view['paginatorRecords'] as $paginator_id => $paginator_path ) :
116117
// Plugin Check Plugin forces us to repeatedly escape
117118
// the same values.
118119
?>

views/detected-files-page.php

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -119,14 +119,17 @@
119119
</tr>
120120
<?php endif; ?>
121121

122-
<?php foreach ( $view['paginatorRecords'] as $paginator_id => $url ) :
122+
<?php
123+
foreach ( $view['paginatorRecords'] as $paginator_id => $url ) :
123124
// Plugin Check Plugin forces us to escape the same values
124125
// repeatedly.
125126
?>
126127
<tr>
127128
<th scope="row" class="check-column">
128-
<label class="screen-reader-text" for="cb-select-<?php echo esc_attr( $paginator_id ); ?>">
129-
Select <?php echo esc_url( $url );
129+
<label class="screen-reader-text" for=<?php echo '"cb-select-', esc_attr( $paginator_id ), '"'; ?>>
130+
Select
131+
<?php
132+
echo esc_url( $url );
130133
?>
131134
</label>
132135
<input id="cb-select-<?php echo esc_attr( $paginator_id ); ?>" type="checkbox" name="id[]" value="<?php echo esc_attr( $paginator_id ); ?>">

0 commit comments

Comments
 (0)