WP-2513 Adding max_length as a setting