[wp-trac] [WordPress Trac] #58345: Critical error if page_for_posts is set to non existing page ID

WordPress Trac noreply at wordpress.org
Fri Jul 14 21:45:19 UTC 2023


#58345: Critical error if page_for_posts is set to non existing page ID
---------------------------+---------------------
 Reporter:  wplindavantol  |       Owner:  azaozz
     Type:  defect (bug)   |      Status:  closed
 Priority:  normal         |   Milestone:  6.3
Component:  Menus          |     Version:
 Severity:  normal         |  Resolution:  fixed
 Keywords:  has-patch      |     Focuses:
---------------------------+---------------------
Changes (by azaozz):

 * owner:  (none) => azaozz
 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:"56236" 56236]:
 {{{
 #!CommitTicketReference repository="" revision="56236"
 Menus: Fix critical errors when the `page_on_front` and/or
 `page_for_posts` options contain references to non-existing posts.

 props: hbhalodia, wplindavantol, josklever, audrasjb.
 Fixes: #58345.
 }}}

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/58345#comment:15>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list