[wp-trac] [WordPress Trac] #56840: The permalink format is "plain" by default

WordPress Trac noreply at wordpress.org
Tue Oct 18 14:00:30 UTC 2022


#56840: The permalink format is "plain" by default
----------------------------------------+-----------------------------
 Reporter:  strategio                   |       Owner:  SergeyBiryukov
     Type:  defect (bug)                |      Status:  accepted
 Priority:  normal                      |   Milestone:  6.1
Component:  Permalinks                  |     Version:  trunk
 Severity:  normal                      |  Resolution:
 Keywords:  has-patch needs-unit-tests  |     Focuses:
----------------------------------------+-----------------------------
Changes (by SergeyBiryukov):

 * keywords:   => has-patch needs-unit-tests
 * owner:  (none) => SergeyBiryukov
 * status:  new => accepted


Comment:

 Replying to [comment:6 dlh]:
 > In [54250], the logic for sending the `X-Pingback` header was moved to
 `WP::send_headers()`, but that logic relies on `$wp_query`, which isn't
 globalized in `send_headers()` (unlike in `WP::handle_404()`, where the
 logic used to be). A `global $wp_query` looks like it'd be enough to
 address the issue.

 Great catch, thanks!

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


More information about the wp-trac mailing list