Making WordPress.org


Ignore:
Timestamp:
12/23/2016 05:27:07 PM (9 years ago)
Author:
iandunn
Message:

WordCamp Logger: Add API key fields to list of redacted keys

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordcamp.org/public_html/wp-content/mu-plugins/0-logger.php

    r4356 r4575  
    5353 */
    5454function redact_keys( & $data ) {
    55     $redacted_keys = array( 'Authorization', 'password', 'user_pass' );
     55    $redacted_keys = array( 'Authorization', 'password', 'user_pass', 'key', 'apikey', 'api_key' );
    5656    $redacted_keys = array_map( 'strtolower', $redacted_keys ); // to avoid human error
    5757
Note: See TracChangeset for help on using the changeset viewer.