Commit d1fafd8
committed
Editor: Simplify sanitization code path in
Removes the custom `WP_Theme_JSON::is_assoc()` method again in favor of the existing `wp_is_numeric_array()` helper function.
Props mmaattiiaass, costdev, swissspidy, spacedmonkey.
Fixes #60360.
git-svn-id: https://develop.svn.wordpress.org/trunk@57751 602fd350-edb4-49c9-b593-d223f7449a82WP_Theme_JSON after [57496]1 parent 919b833 commit d1fafd8
1 file changed
+11
-30
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1065 | 1065 | | |
1066 | 1066 | | |
1067 | 1067 | | |
1068 | | - | |
1069 | | - | |
1070 | | - | |
1071 | | - | |
1072 | | - | |
1073 | | - | |
1074 | | - | |
1075 | | - | |
1076 | | - | |
1077 | | - | |
1078 | | - | |
1079 | | - | |
1080 | | - | |
| 1068 | + | |
| 1069 | + | |
| 1070 | + | |
| 1071 | + | |
1081 | 1072 | | |
1082 | 1073 | | |
1083 | 1074 | | |
| |||
1087 | 1078 | | |
1088 | 1079 | | |
1089 | 1080 | | |
| 1081 | + | |
| 1082 | + | |
| 1083 | + | |
| 1084 | + | |
| 1085 | + | |
| 1086 | + | |
| 1087 | + | |
1090 | 1088 | | |
1091 | | - | |
1092 | | - | |
1093 | 1089 | | |
1094 | 1090 | | |
1095 | | - | |
1096 | 1091 | | |
1097 | 1092 | | |
1098 | 1093 | | |
1099 | | - | |
1100 | | - | |
1101 | | - | |
1102 | | - | |
1103 | | - | |
1104 | | - | |
1105 | | - | |
1106 | | - | |
1107 | | - | |
1108 | | - | |
1109 | | - | |
1110 | | - | |
1111 | | - | |
1112 | | - | |
1113 | 1094 | | |
1114 | 1095 | | |
1115 | 1096 | | |
| |||
0 commit comments