[wp-trac] [WordPress Trac] #36765: Remove Legacy Code from pingback_ping

WordPress Trac noreply at wordpress.org
Mon Jul 18 20:32:49 UTC 2016


#36765: Remove Legacy Code from pingback_ping
-------------------------------------------------+-------------------------
 Reporter:  dshanske                             |       Owner:
     Type:  defect (bug)                         |      Status:  new
 Priority:  normal                               |   Milestone:  Future
Component:  Pings/Trackbacks                     |  Release
 Severity:  normal                               |     Version:  4.1
 Keywords:  has-patch dev-feedback needs-unit-   |  Resolution:
  tests                                          |     Focuses:
-------------------------------------------------+-------------------------
Description changed by SergeyBiryukov:

Old description:

> Proposing we remove the legacy conditional url_to_postid and //$way
> debugging line leftover from
> [https://core.trac.wordpress.org/changeset/30139 r30139].
>

> {{{
> / let's find which post is linked to
>     // FIXME: does url_to_postid() cover all these cases already?
>     //        if so, then let's use it and drop the old code.
> }}}
>
> Related: #34419

New description:

 Proposing we remove the legacy conditional url_to_postid and //$way
 debugging line leftover from [30139].


 {{{
 / let's find which post is linked to
     // FIXME: does url_to_postid() cover all these cases already?
     //        if so, then let's use it and drop the old code.
 }}}

 Related: #34419

--

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


More information about the wp-trac mailing list