[wp-trac] [WordPress Trac] #55917: Fatal error in WP6.0 when calling get_current_screen on the pre_get_posts action

WordPress Trac noreply at wordpress.org
Sat Sep 23 13:25:13 UTC 2023


#55917: Fatal error in WP6.0 when calling get_current_screen on the pre_get_posts
action
-------------------------------------+-----------------------------
 Reporter:  lumpysimon               |       Owner:  (none)
     Type:  defect (bug)             |      Status:  new
 Priority:  normal                   |   Milestone:  Future Release
Component:  Query                    |     Version:  6.0
 Severity:  normal                   |  Resolution:
 Keywords:  has-patch needs-testing  |     Focuses:
-------------------------------------+-----------------------------

Comment (by oglekler):

 I am suggesting that we move this ticket into 6.5 for more active
 discussion. I'm also expecting/want to use the get_current_screen()
 function much earlier than is possible right now - this it problem with
 getting information about the current page when it is needed. I think this
 is the problem to solve, and it is a bit difficult to figure out from the
 conversation why fonts are related to this ticket.

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


More information about the wp-trac mailing list