- Timestamp:
- 03/26/2026 11:43:52 AM (2 weeks ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/class-wp-connector-registry.php
r62067 r62116 193 193 $connector['authentication']['credentials_url'] = $args['authentication']['credentials_url']; 194 194 } 195 $connector['authentication']['setting_name'] = 'connectors_ai_' . str_replace( '-', '_', $id ) . '_api_key'; 195 if ( ! empty( $args['authentication']['setting_name'] ) && is_string( $args['authentication']['setting_name'] ) ) { 196 $connector['authentication']['setting_name'] = $args['authentication']['setting_name']; 197 } else { 198 $connector['authentication']['setting_name'] = 'connectors_ai_' . str_replace( '-', '_', $id ) . '_api_key'; 199 } 196 200 } 197 201
Note: See TracChangeset
for help on using the changeset viewer.