| @@ -57,11 +57,12 @@ | ||
| 57 | 57 | } |
| 58 | 58 | |
| 59 | 59 | $scope = isset( $_REQUEST['scope'] ) ? sanitize_text_field( wp_unslash( $_REQUEST['scope'] ) ) : ''; |
| 60 | 60 | |
| 61 | - // Free version only supports single-record export | |
| 61 | + // Core exports a single record. Bulk and filtered exports are the | |
| 62 | + // Consent Export add-on's own endpoints, not a locked mode of this one. | |
| 62 | 63 | if ( $scope !== 'single' ) { |
| 63 | - wp_die( __( 'Bulk export requires the Pro version.', 'double-opt-in' ) ); | |
| 64 | + wp_die( esc_html__( 'This endpoint exports a single record. Bulk exports are provided by the Consent Export add-on.', 'double-opt-in' ) ); | |
| 64 | 65 | } |
| 65 | 66 | |
| 66 | 67 | $id = isset( $_REQUEST['id'] ) ? absint( $_REQUEST['id'] ) : 0; |
| 67 | 68 | if ( $id <= 0 ) { |