mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-07-01 15:50:09 +00:00
Docs: Update syntax for some multi-line comments per the documentation standards.
Follow-up to [51003], [51149]. See #52628. git-svn-id: https://develop.svn.wordpress.org/trunk@51168 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -1098,9 +1098,11 @@ class WP_Theme_JSON {
|
||||
$incoming_data = $incoming->get_raw_data();
|
||||
$this->theme_json = array_replace_recursive( $this->theme_json, $incoming_data );
|
||||
|
||||
// The array_replace_recursive algorithm merges at the leaf level.
|
||||
// For leaf values that are arrays it will use the numeric indexes for replacement.
|
||||
// In those cases, we want to replace the existing with the incoming value, if it exists.
|
||||
/*
|
||||
* The array_replace_recursive() algorithm merges at the leaf level.
|
||||
* For leaf values that are arrays it will use the numeric indexes for replacement.
|
||||
* In those cases, we want to replace the existing with the incoming value, if it exists.
|
||||
*/
|
||||
$to_replace = array();
|
||||
$to_replace[] = array( 'custom' );
|
||||
$to_replace[] = array( 'spacing', 'units' );
|
||||
|
||||
Reference in New Issue
Block a user