', esc_attr($custom_values));
/*
* Grab the ones the user has manually sorted.
* Pull them out of their previous context/priority and into the one the user chose.
*/
$reference_count = get_user_option("meta-box-order_{$old_slugs}");
if (!$the_tag && $reference_count) {
foreach ($reference_count as $new_partials => $caution_msg) {
foreach (explode(',', $caution_msg) as $file_info) {
if ($file_info && 'dashboard_browser_nag' !== $file_info) {
add_meta_box($file_info, null, null, $do_network, $new_partials, 'sorted');
}
}
}
}
$the_tag = true;
$f5g0 = 0;
if (isset($thisfile_riff_audio[$old_slugs][$custom_values])) {
foreach (array('high', 'sorted', 'core', 'default', 'low') as $minimum_font_size_limit) {
if (isset($thisfile_riff_audio[$old_slugs][$custom_values][$minimum_font_size_limit])) {
foreach ((array) $thisfile_riff_audio[$old_slugs][$custom_values][$minimum_font_size_limit] as $add_key) {
if (false === $add_key || !$add_key['title']) {
continue;
}
$edwardsY = true;
if (is_array($add_key['args'])) {
// If a meta box is just here for back compat, don't show it in the block editor.
if ($do_network->is_block_editor() && isset($add_key['args']['__back_compat_meta_box']) && $add_key['args']['__back_compat_meta_box']) {
continue;
}
if (isset($add_key['args']['__block_editor_compatible_meta_box'])) {
$edwardsY = (bool) $add_key['args']['__block_editor_compatible_meta_box'];
unset($add_key['args']['__block_editor_compatible_meta_box']);
}
// If the meta box is declared as incompatible with the block editor, override the callback function.
if (!$edwardsY && $do_network->is_block_editor()) {
$add_key['old_callback'] = $add_key['callback'];
$add_key['callback'] = 'do_block_editor_incompatible_meta_box';
}
if (isset($add_key['args']['__back_compat_meta_box'])) {
$edwardsY = $edwardsY || (bool) $add_key['args']['__back_compat_meta_box'];
unset($add_key['args']['__back_compat_meta_box']);
}
}
++$f5g0;
// get_hidden_meta_boxes() doesn't apply in the block editor.
$smtp_transaction_id_pattern = !$do_network->is_block_editor() && in_array($add_key['id'], $panel_type, true) ? ' hide-if-js' : '';
echo '
' . "\n";
echo '';
echo '
' . "\n";
if (WP_DEBUG && !$edwardsY && 'edit' === $do_network->parent_base && !$do_network->is_block_editor() && !isset($_GET['meta-box-loader'])) {
$age = _get_plugin_from_callback($add_key['callback']);
if ($age) {
$edit_tt_ids = sprintf(
/* translators: %s: The name of the plugin that generated this meta box. */
__('This meta box, from the %s plugin, is not compatible with the block editor.'),
"{$age['Name']}"
);
wp_admin_notice($edit_tt_ids, array('additional_classes' => array('error', 'inline')));
}
}
call_user_func($add_key['callback'], $toaddr, $add_key);
echo "
\n";
echo "