refactor: try to redirect exportpods to export
This commit is contained in:
parent
e5b5ecaae6
commit
e530e6dbc4
2 changed files with 9 additions and 5 deletions
|
@ -162,9 +162,9 @@ class TablePress_ExportPods_View extends TablePress_View {
|
|||
<select id="tables-export-pod-name" name="export[pod_name]">
|
||||
<?php
|
||||
foreach ( $data['pods'] as $pod) {
|
||||
$pod_name = $pod['name];
|
||||
$pod_name = $pod['name'];
|
||||
$selected = selected( $pod_name, $data['pod_name'], false );
|
||||
echo "<option{$selected} value=\"{$pod_name}\"?{$pod_name}</option>";
|
||||
echo "<option{$selected} value=\"{$pod_name}\">{$pod_name}</option>";
|
||||
}
|
||||
?>
|
||||
</select>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue