| 1 | | Worth investigating whether this is the case with other metaboxes and if so to apply a wider solution. |
| 2 | | It has been suggested that this may be an issue in the classic editor and not just Media. The icon/dragging shouldn’t be enabled if there’s only one metabox present. |
| | 1 | Suggestions from the Core Media meeting: https://wordpress.slack.com/archives/C02SX62S6/p1559224344044600 |
| | 2 | |
| | 3 | * Worth investigating whether this is the case with other metaboxes and if so to apply a wider solution. |
| | 4 | |
| | 5 | * It has been suggested that this may be an issue in the classic editor and not just Media. The icon/dragging shouldn’t be enabled if there’s only one metabox present. |
| | 6 | |
| | 7 | * In common.js I see the jQuery-UI sortables are enabled for any `$sortables = $('.meta-box-sortables'),` It could be as simple as checking the length of the jQuery collection and return if 1 |