Skip to content

Commit

Permalink
Address PHPCS warning. It really does not matter if the value of `$pr…
Browse files Browse the repository at this point in the history
…operties` changes
  • Loading branch information
pereirinha committed Nov 3, 2023
1 parent dd8c83e commit 7d97433
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/wp-includes/class-wp-theme-json.php
Original file line number Diff line number Diff line change
Expand Up @@ -1936,7 +1936,7 @@ protected static function compute_style_properties( $styles, $settings = array()

$can_use_cached = ! wp_is_development_mode( 'theme' );

$args = func_get_args();
$args = func_get_args(); // phpcs:ignore PHPCompatibility.FunctionUse.ArgumentFunctionsReportCurrentValue.Changed
$cache_key = 'compute_style_properties_' . md5( wp_json_encode( $args ) );
$cache = wp_cache_get( $cache_key, 'wp-styles' );

Expand Down

0 comments on commit 7d97433

Please sign in to comment.