[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:37:43 UTC 2023


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

 * keywords:  php8 has-patch needs-testing => has-patch


Comment:

 patch-58345-2.patch makes sense and seems to work here. As @hbhalodia I'm
 also a bit surprised about how these two options can point to non-existing
 posts, but seems it is not impossible :)

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


More information about the wp-trac mailing list