diff --git a/src/js/_enqueues/admin/postbox.js b/src/js/_enqueues/admin/postbox.js
index 7ae595e3ef..2408810823 100644
|
a
|
b
|
|
| 380 | 380 | /* `helper: 'clone'` is equivalent to `return element.clone();` |
| 381 | 381 | * Cloning a checked radio and then inserting that clone next to the original |
| 382 | 382 | * radio unchecks the original radio (since only one of the two can be checked). |
| 383 | | * We get around this by renaming the helper's inputs' name attributes so that, |
| | 383 | * We get around this by renaming the helper's input's name attributes so that, |
| 384 | 384 | * when the helper is inserted into the DOM for the sortable, no radios are |
| 385 | 385 | * duplicated, and no original radio gets unchecked. |
| 386 | 386 | */ |
diff --git a/src/js/_enqueues/wp/widgets/media.js b/src/js/_enqueues/wp/widgets/media.js
index c53344133f..7a86f97a28 100644
|
a
|
b
|
wp.mediaWidgets = ( function( $ ) { |
| 1023 | 1023 | * Set attribute value(s). |
| 1024 | 1024 | * |
| 1025 | 1025 | * This is a wrapped version of Backbone.Model#set() which allows us to |
| 1026 | | * cast the attribute values from the hidden inputs' string values into |
| | 1026 | * cast the attribute values from the hidden input's string values into |
| 1027 | 1027 | * the appropriate data types (integers or booleans). |
| 1028 | 1028 | * |
| 1029 | 1029 | * @param {string|Object} key - Attribute name or attribute pairs. |