| @@ -1266,10 +1266,8 @@ | ||
| 1266 | 1266 | * |
| 1267 | 1267 | * @param string $redirect_to The redirect URL. |
| 1268 | 1268 | * @param string $action The action being taken. |
| 1269 | 1269 | * @param array $post_ids The items to take the action on. |
| 1270 | - * | |
| 1271 | - * @return string The redirect URL, unchanged when the action is not handled here. | |
| 1272 | 1270 | */ |
| 1273 | 1271 | public function admin_export_multiple_templates( $redirect_to, $action, $post_ids ) { |
| 1274 | 1272 | if ( self::BULK_EXPORT_ACTION === $action ) { |
| 1275 | 1273 | $result = $this->export_multiple_templates( $post_ids ); |
| @@ -1277,10 +1275,8 @@ | ||
| 1277 | 1275 | // If you reach this line, the export failed |
| 1278 | 1276 | // PHPCS - Not user input. |
| 1279 | 1277 | wp_die( $result->get_error_message() ); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped |
| 1280 | 1278 | } |
| 1281 | - | |
| 1282 | - return $redirect_to; | |
| 1283 | 1279 | } |
| 1284 | 1280 | |
| 1285 | 1281 | /** |
| 1286 | 1282 | * Print admin tabs. |