Files
WooList/woolist-phplist/includes
Malin 72d237a066 fix: extract subscriber ID from nested data field in phpList response
phpList REST API v3 returns subscriber data wrapped in a "data" key:
  {"status":"success","type":"Subscriber","data":{"id":"2400",...}}

Both subscriber_get_by_email and subscriber_add responses are now read as
response['data']['id'] with a fallback to response['id'] for compatibility.
Previously the code checked only response['id'] (top level), found nothing,
and reported failure even though the subscriber was created successfully.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-02-20 08:22:40 +01:00
..