[wp-trac] [WordPress Trac] #36827: Regular expression in wp_guess_url() is slightly too permissive.

WordPress Trac noreply at wordpress.org
Tue Sep 13 20:39:11 UTC 2022


#36827: Regular expression in wp_guess_url() is slightly too permissive.
-------------------------------------------------+-------------------------
 Reporter:  cfinke                               |       Owner:
                                                 |  davidbaumwald
     Type:  defect (bug)                         |      Status:  closed
 Priority:  normal                               |   Milestone:  6.1
Component:  General                              |     Version:  3.4
 Severity:  normal                               |  Resolution:  fixed
 Keywords:  has-patch good-first-bug has-unit-   |     Focuses:
  tests                                          |
-------------------------------------------------+-------------------------

Comment (by SergeyBiryukov):

 In [changeset:"54148" 54148]:
 {{{
 #!CommitTicketReference repository="" revision="54148"
 Tests: Rename the test for `wp_guess_url()` to match the function name.

 Includes adding `public` visibilty keyword for the data provider.

 Follow-up to [54146].

 See #36827.
 }}}

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


More information about the wp-trac mailing list