Edit File by line

Deprecated: str_replace(): Passing null to parameter #2 ($replace) of type array|string is deprecated in /home/sportsfever/public_html/filemanger/function.php on line 93
/home/sportsfe.../httpdocs/wp-conte.../plugins/wpforms-.../lite/template.../admin/entries/overview
File: table.php
<?php
[0] Fix | Delete
/**
[1] Fix | Delete
* Table for the Entries List page.
[2] Fix | Delete
*
[3] Fix | Delete
* @since 1.8.9
[4] Fix | Delete
*
[5] Fix | Delete
* @var array $entries Entry sample data.
[6] Fix | Delete
*/
[7] Fix | Delete
[8] Fix | Delete
$time = time();
[9] Fix | Delete
?>
[10] Fix | Delete
<table class="wp-list-table widefat striped table-view-list has-many-columns wpforms-table-container">
[11] Fix | Delete
<thead>
[12] Fix | Delete
<tr class="ui-sortable">
[13] Fix | Delete
<td id="cb" class="manage-column column-cb check-column wpforms-input-disabled">
[14] Fix | Delete
<label class="screen-reader-text" for="cb-select-all-1">Select All</label>
[15] Fix | Delete
<input id="cb-select-all-1" type="checkbox">
[16] Fix | Delete
</td>
[17] Fix | Delete
<th scope="col" id="indicators" class="manage-column column-indicators"></th>
[18] Fix | Delete
<th scope="col" id="wpforms_field_1" class="manage-column column-wpforms_field_1 column-primary">Name</th>
[19] Fix | Delete
<th scope="col" id="wpforms_field_2" class="manage-column column-wpforms_field_2">Email</th>
[20] Fix | Delete
<th scope="col" id="date" class="manage-column column-date">Date</th>
[21] Fix | Delete
<th scope="col" id="actions" class="manage-column column-actions wpforms-input-disabled" aria-disabled="true" style="position: relative";>
[22] Fix | Delete
Actions
[23] Fix | Delete
<a href="#" title="Change columns to display" id="wpforms-list-table-ext-edit-columns-cog"><i class="fa fa-cog" aria-hidden="true"></i></a>
[24] Fix | Delete
<?php echo wpforms_render( 'admin/entries/overview/actions' ); //phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped ?>
[25] Fix | Delete
</th>
[26] Fix | Delete
</tr>
[27] Fix | Delete
</thead>
[28] Fix | Delete
<tbody id="the-list" data-wp-lists="list:entry">
[29] Fix | Delete
<?php foreach ( $entries as $entry ) { ?>
[30] Fix | Delete
<tr>
[31] Fix | Delete
<th scope="row" class="check-column wpforms-input-disabled"><input type="checkbox" name="entry_id[]" value=""></th>
[32] Fix | Delete
<td class="indicators column-indicators has-row-actions wpforms-input-disabled" aria-disabled="true" data-colname="">
[33] Fix | Delete
<span class="indicator-star <?php echo ! empty( $entry['star'] ) ? 'unstar' : 'star'; ?>" aria-label="Star entry"><span class="dashicons dashicons-star-filled"></span></span>
[34] Fix | Delete
<span class="indicator-read <?php echo ! empty( $entry['read'] ) ? 'read' : 'unread'; ?>" aria-label="Mark entry read"></span>
[35] Fix | Delete
</td>
[36] Fix | Delete
<td class="wpforms_field_1 column-wpforms_field_1 column-primary" data-colname="Name">
[37] Fix | Delete
<?php echo esc_html( $entry['name'] ); ?>
[38] Fix | Delete
<button type="button" class="toggle-row"><span class="screen-reader-text">Show more details</span></button>
[39] Fix | Delete
</td>
[40] Fix | Delete
<td class="wpforms_field_2 column-wpforms_field_2" data-colname="Email"><?php echo esc_html( strtolower( str_replace( ' ', '.', $entry['name'] ) ) . '@example.com' ); ?> </td>
[41] Fix | Delete
<td class="date column-date" data-colname="Date"><?php echo esc_html( gmdate( 'm/d/Y h:i A', wp_rand( 1704067200, $time ) ) ); ?></td>
[42] Fix | Delete
<td class="actions column-actions" data-colname="Actions">
[43] Fix | Delete
<a href="<?php echo esc_url( admin_url( 'admin.php?page=wpforms-entries&view=sample' ) ); ?>" title="View Form Entry" class="view">View</a>
[44] Fix | Delete
<span class="sep">|</span>
[45] Fix | Delete
<span class="wpforms-input-disabled" aria-disabled="true"><a href="#" title="Edit Form Entry" class="edit">Edit</a></span>
[46] Fix | Delete
<span class="sep">|</span>
[47] Fix | Delete
<span class="wpforms-input-disabled" aria-disabled="true"><a href="#" title="Spam Form Entry" class="spam">Spam</a></span>
[48] Fix | Delete
<span class="sep">|</span>
[49] Fix | Delete
<span class="wpforms-input-disabled" aria-disabled="true"><a href="#" title="Delete Form Entry" class="trash">Trash</a></span>
[50] Fix | Delete
</td>
[51] Fix | Delete
</tr>
[52] Fix | Delete
<?php } ?>
[53] Fix | Delete
</tbody>
[54] Fix | Delete
<tfoot>
[55] Fix | Delete
<tr>
[56] Fix | Delete
<td class="manage-column column-cb check-column wpforms-input-disabled">
[57] Fix | Delete
<label class="screen-reader-text" for="cb-select-all-2">Select All</label>
[58] Fix | Delete
<input id="cb-select-all-2" type="checkbox">
[59] Fix | Delete
</td>
[60] Fix | Delete
<th scope="col" class="manage-column column-indicators"></th>
[61] Fix | Delete
<th scope="col" class="manage-column column-wpforms_field_0 column-primary">Name</th>
[62] Fix | Delete
<th scope="col" class="manage-column column-wpforms_field_1">Email</th>
[63] Fix | Delete
<th scope="col" class="manage-column column-date">Date</th>
[64] Fix | Delete
<th scope="col" class="manage-column column-actions">Actions
[65] Fix | Delete
</th>
[66] Fix | Delete
</tr>
[67] Fix | Delete
</tfoot>
[68] Fix | Delete
</table>
[69] Fix | Delete
[70] Fix | Delete
[71] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function