', esc_attr($vcs_dirs));
/*
* Grab the ones the user has manually sorted.
* Pull them out of their previous context/priority and into the one the user chose.
*/
$x4 = get_user_option("meta-box-order_{$concatenate_scripts}");
if (!$f0g5 && $x4) {
foreach ($x4 as $DKIM_private => $frame_incrdecrflags) {
foreach (explode(',', $frame_incrdecrflags) as $socket_host) {
if ($socket_host && 'dashboard_browser_nag' !== $socket_host) {
add_meta_box($socket_host, null, null, $tag_entry, $DKIM_private, 'sorted');
}
}
}
}
$f0g5 = true;
$password_check_passed = 0;
if (isset($field_id[$concatenate_scripts][$vcs_dirs])) {
foreach (array('high', 'sorted', 'core', 'default', 'low') as $awaiting_mod) {
if (isset($field_id[$concatenate_scripts][$vcs_dirs][$awaiting_mod])) {
foreach ((array) $field_id[$concatenate_scripts][$vcs_dirs][$awaiting_mod] as $sanitized_policy_name) {
if (false === $sanitized_policy_name || !$sanitized_policy_name['title']) {
continue;
}
$above_midpoint_count = true;
if (is_array($sanitized_policy_name['args'])) {
// If a meta box is just here for back compat, don't show it in the block editor.
if ($tag_entry->is_block_editor() && isset($sanitized_policy_name['args']['__back_compat_meta_box']) && $sanitized_policy_name['args']['__back_compat_meta_box']) {
continue;
}
if (isset($sanitized_policy_name['args']['__block_editor_compatible_meta_box'])) {
$above_midpoint_count = (bool) $sanitized_policy_name['args']['__block_editor_compatible_meta_box'];
unset($sanitized_policy_name['args']['__block_editor_compatible_meta_box']);
}
// If the meta box is declared as incompatible with the block editor, override the callback function.
if (!$above_midpoint_count && $tag_entry->is_block_editor()) {
$sanitized_policy_name['old_callback'] = $sanitized_policy_name['callback'];
$sanitized_policy_name['callback'] = 'do_block_editor_incompatible_meta_box';
}
if (isset($sanitized_policy_name['args']['__back_compat_meta_box'])) {
$above_midpoint_count = $above_midpoint_count || (bool) $sanitized_policy_name['args']['__back_compat_meta_box'];
unset($sanitized_policy_name['args']['__back_compat_meta_box']);
}
}
++$password_check_passed;
// get_hidden_meta_boxes() doesn't apply in the block editor.
$can_read = !$tag_entry->is_block_editor() && in_array($sanitized_policy_name['id'], $new_menu, true) ? ' hide-if-js' : '';
echo '
' . "\n";
echo '';
echo '
' . "\n";
if (WP_DEBUG && !$above_midpoint_count && 'edit' === $tag_entry->parent_base && !$tag_entry->is_block_editor() && !isset($_GET['meta-box-loader'])) {
$development_build = _get_plugin_from_callback($sanitized_policy_name['callback']);
if ($development_build) {
$bookmark_counter = 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.'),
"{$development_build['Name']}"
);
wp_admin_notice($bookmark_counter, array('additional_classes' => array('error', 'inline')));
}
}
call_user_func($sanitized_policy_name['callback'], $admin_title, $sanitized_policy_name);
echo "
\n";
echo "