Merged in feature/81-dev-dev01 (pull request #5)
auto-patch 81-dev-dev01-2023-12-05T22_45_26 * auto-patch 81-dev-dev01-2023-12-05T22_45_26
This commit is contained in:
@@ -140,7 +140,7 @@ class WP_Theme_JSON_Schema {
|
||||
* @param array $path Path to the property to be removed.
|
||||
*/
|
||||
private static function unset_setting_by_path( &$settings, $path ) {
|
||||
$tmp_settings = &$settings; // phpcs:ignore VariableAnalysis.CodeAnalysis.VariableAnalysis.UnusedVariable
|
||||
$tmp_settings = &$settings;
|
||||
$last_key = array_pop( $path );
|
||||
foreach ( $path as $key ) {
|
||||
$tmp_settings = &$tmp_settings[ $key ];
|
||||
|
||||
Reference in New Issue
Block a user