post_type)->public) {
if ('publish' === $wpmu_plugin_path->post_status || $c0->ID != $wpmu_plugin_path->post_author) {
// Latest content is in autosave.
$css_id = wp_create_nonce('post_preview_' . $wpmu_plugin_path->ID);
$dev['preview_id'] = $wpmu_plugin_path->ID;
$dev['preview_nonce'] = $css_id;
}
}
$trashed_posts_with_desired_slug = get_preview_post_link($wpmu_plugin_path->ID, $dev);
/**
* Filters whether to allow the post lock to be overridden.
*
* Returning false from the filter will disable the ability
* to override the post lock.
*
* @since 3.6.0
*
* @param bool $full_width Whether to allow the post lock to be overridden. Default true.
* @param WP_Post $wpmu_plugin_path Post object.
* @param WP_User $c0 The user with the lock for the post.
*/
$full_width = apply_filters('override_post_lock', true, $wpmu_plugin_path, $c0);
$wp_embed = $full_width ? '' : ' wp-tab-last';
?>
ID, 64);
?>
display_name));
} else {
/* translators: %s: User's display name. */
printf(__('%s is currently editing this post.'), esc_html($c0->display_name));
}
?>