Skip to content
This repository has been archived by the owner on Mar 9, 2024. It is now read-only.

Commit

Permalink
Fix merge conflicts from 55826
Browse files Browse the repository at this point in the history
  • Loading branch information
mattyrob committed Nov 3, 2023
1 parent 223bc57 commit 1f77df0
Showing 1 changed file with 0 additions and 51 deletions.
51 changes: 0 additions & 51 deletions src/wp-includes/deprecated.php
Original file line number Diff line number Diff line change
Expand Up @@ -4441,56 +4441,6 @@ function get_page_by_title( $page_title, $output = OBJECT, $post_type = 'page' )

return null;
}
<<<<<<< HEAD
=======

/**
* Returns the correct template for the site's home page.
*
* @access private
* @since 6.0.0
* @deprecated 6.2.0 Site Editor's server-side redirect for missing postType and postId
* query args is removed. Thus, this function is no longer used.
*
* @return array|null A template object, or null if none could be found.
*/
function _resolve_home_block_template() {
_deprecated_function( __FUNCTION__, '6.2.0' );

$show_on_front = get_option( 'show_on_front' );
$front_page_id = get_option( 'page_on_front' );

if ( 'page' === $show_on_front && $front_page_id ) {
return array(
'postType' => 'page',
'postId' => $front_page_id,
);
}

$hierarchy = array( 'front-page', 'home', 'index' );
$template = resolve_block_template( 'home', $hierarchy, '' );

if ( ! $template ) {
return null;
}

return array(
'postType' => 'wp_template',
'postId' => $template->id,
);
}

/**
* Displays the link to the Windows Live Writer manifest file.
*
* @link https://msdn.microsoft.com/en-us/library/bb463265.aspx
* @since 2.3.1
* @deprecated 6.3.0 WLW manifest is no longer in use and no longer included in core,
* so the output from this function is removed.
*/
function wlwmanifest_link() {
_deprecated_function( __FUNCTION__, '6.3.0' );
}

/**
* Queues comments for metadata lazy-loading.
Expand All @@ -4514,4 +4464,3 @@ function wp_queue_comments_for_comment_meta_lazyload( $comments ) {

wp_lazyload_comment_meta( $comment_ids );
}
>>>>>>> 69718b2612 (Comments: Move wp_queue_comments_for_comment_meta_lazyload function to the correct file. )

0 comments on commit 1f77df0

Please sign in to comment.