PluginProbe
Elementor Website Builder – more than just a page builder / 4.3.0-beta3
Elementor Website Builder – more than just a page builder v4.3.0-beta3
4.3.0-beta3 4.3.0-beta2 4.3.0-beta1 4.2.4 4.2.3 4.2.2 4.2.1 4.2.0 4.1.5 4.2.0-beta2 4.2.0-dev2 4.2.0-beta1 4.1.4 4.1.3 4.1.2 4.1.1 4.1.0 4.1.0-beta3 4.1.0-dev3 4.0.9 4.1.0-beta2 4.1.0-dev2 4.0.8 4.1.0-beta1 4.1.0-dev1 All 452 releases
← All changes | includes/template-library/sources/local.php +4 -0 4.2.0-dev24.3.0-beta3 View file →
@@ -1266,8 +1266,10 @@
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.
1270 1272 */
1271 1273 public function admin_export_multiple_templates( $redirect_to, $action, $post_ids ) {
1272 1274 if ( self::BULK_EXPORT_ACTION === $action ) {
1273 1275 $result = $this->export_multiple_templates( $post_ids );
@@ -1275,8 +1277,10 @@
1275 1277 // If you reach this line, the export failed
1276 1278 // PHPCS - Not user input.
1277 1279 wp_die( $result->get_error_message() ); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
1278 1280 }
1281 +
1282 + return $redirect_to;
1279 1283 }
1280 1284
1281 1285 /**
1282 1286 * Print admin tabs.