Making WordPress.org


Ignore:
Timestamp:
06/01/2023 02:21:32 AM (3 years ago)
Author:
dd32
Message:

API: Helpscout: Cleanup the code and allow the functions to be used within a CLI script.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/api.wordpress.org/public_html/dotorg/helpscout/dpo.php

    r11834 r12607  
    11<?php
     2namespace WordPressdotorg\API\HelpScout;
     3
    24// Add current DPO Export/Erasure status for the customer.
     5$wp_init_host = 'https://wordpress.org/'; // DPO site.
     6include __DIR__ . '/common.php';
    37
    48// $request is the validated HelpScout request.
    5 $wp_init_host = 'https://wordpress.org/'; // DPO site.
    6 $request      = include __DIR__ . '/common.php';
     9$request = get_request();
    710
    811if ( empty( $request->customer->email ) ) {
Note: See TracChangeset for help on using the changeset viewer.