Skip to content

Commit da046e8

Browse files
committed
Minor fixes. Fixed settings filter name.
1 parent cebd24d commit da046e8

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

plugins/wpgraphql-logging/readme.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
=== WPGraphQL Logging ===
2-
Contributors: colin-murphy, joefusco, thdespou, wpengine
2+
Contributors: ahuseyn, colin-murphy, joefusco, thdespou, wpengine
33
Tags: GraphQL, Headless, WPGraphQL, React, Rest, Logging, Performance, Debugging, Monitoring
44
Requires at least: 6.5
55
Tested up to: 6.8.2

plugins/wpgraphql-logging/src/Admin/Settings/ConfigurationHelper.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ public function clear_cache(): void {
139139
* Get the option key for the settings.
140140
*/
141141
public function get_option_key(): string {
142-
return (string) apply_filters( 'wpgraphql_logging_settings_group_option_key', WPGRAPHQL_LOGGING_SETTINGS_KEY );
142+
return (string) apply_filters( 'wpgraphql_logging_settings_key', WPGRAPHQL_LOGGING_SETTINGS_KEY );
143143
}
144144

145145
/**

plugins/wpgraphql-logging/src/Logger/Processors/DataSanitizationProcessor.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -168,6 +168,7 @@ protected function apply_sanitization_rule(array &$current, string $key, string
168168
break;
169169
case 'truncate':
170170
if ( is_string( $current[ $key ] ) ) {
171+
// Truncate to 50 characters.
171172
$current[ $key ] = substr( $current[ $key ], 0, 47 ) . '...';
172173
}
173174
break;

0 commit comments

Comments
 (0)