Edit File by line
/home/barbar84/public_h.../wp-conte.../plugins/wp-smush.../app/views
File: tabs.php
<?php
[0] Fix | Delete
/**
[1] Fix | Delete
* Tabs layout
[2] Fix | Delete
*
[3] Fix | Delete
* @package WP_Smush
[4] Fix | Delete
*
[5] Fix | Delete
* @var \Smush\App\Abstract_Page $this
[6] Fix | Delete
*/
[7] Fix | Delete
[8] Fix | Delete
if ( ! defined( 'WPINC' ) ) {
[9] Fix | Delete
die;
[10] Fix | Delete
}
[11] Fix | Delete
[12] Fix | Delete
?>
[13] Fix | Delete
[14] Fix | Delete
<div class="sui-sidenav smush-sidenav">
[15] Fix | Delete
<ul class="sui-vertical-tabs sui-sidenav-hide-md">
[16] Fix | Delete
<?php foreach ( $this->get_tabs() as $tab_id => $name ) : ?>
[17] Fix | Delete
<li class="sui-vertical-tab <?php echo esc_attr( 'smush-' . $tab_id ); ?> <?php echo ( $tab_id === $this->get_current_tab() ) ? 'current' : null; ?>">
[18] Fix | Delete
<a href="<?php echo esc_url( $this->get_tab_url( $tab_id ) ); ?>">
[19] Fix | Delete
<?php echo esc_html( $name ); ?>
[20] Fix | Delete
</a>
[21] Fix | Delete
<?php do_action( 'wp_smush_admin_after_tab_' . $this->get_slug(), $tab_id ); ?>
[22] Fix | Delete
</li>
[23] Fix | Delete
<?php endforeach; ?>
[24] Fix | Delete
</ul>
[25] Fix | Delete
[26] Fix | Delete
<div class="sui-sidenav-hide-lg">
[27] Fix | Delete
<select class="sui-mobile-nav">
[28] Fix | Delete
<?php foreach ( $this->get_tabs() as $tab_id => $name ) : ?>
[29] Fix | Delete
<option value="<?php echo esc_url( $this->get_tab_url( $tab_id ) ); ?>" <?php selected( $this->get_current_tab(), $tab_id ); ?>><?php echo esc_html( $name ); ?></option>
[30] Fix | Delete
<?php endforeach; ?>
[31] Fix | Delete
</select>
[32] Fix | Delete
</div>
[33] Fix | Delete
</div>
[34] Fix | Delete
[35] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function