Plugin Directory

Changeset 3298627


Ignore:
Timestamp:
05/22/2025 10:24:11 AM (9 months ago)
Author:
group107
Message:

Prepare version 1.0.1 with custom API header for source tracking

Location:
accessible-docs/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • accessible-docs/trunk/README.txt

    r3298592 r3298627  
    66Requires PHP: 7.4
    77Tested up to: 6.7
    8 Stable tag: 1.0.0
     8Stable tag: 1.0.1
    99License: GPLv2 or later
    1010License URI: http://www.gnu.org/licenses/gpl-2.0.html
  • accessible-docs/trunk/includes/class-accessible-docs-api-handler.php

    r3283760 r3298627  
    2828    */
    2929    public static function accessible_docs_api_request($url, $data, $method, $headers, $data_type = 'json') {
     30        // Add source identifier to all requests
     31        $headers['X-AccessibleDocs-Source'] = 'wordpress-plugin';
     32
    3033        // Prepare arguments for the HTTP request
    3134        $args = array(
Note: See TracChangeset for help on using the changeset viewer.