[wp-trac] [WordPress Trac] #54880: Docblock for wp_insert_link is inaccurate or function is missing functionality

WordPress Trac noreply at wordpress.org
Tue Feb 1 12:28:42 UTC 2022


#54880: Docblock for wp_insert_link is inaccurate or function is missing
functionality
--------------------------------------+-----------------------------
 Reporter:  dshanske                  |       Owner:  SergeyBiryukov
     Type:  defect (bug)              |      Status:  closed
 Priority:  low                       |   Milestone:  6.0
Component:  General                   |     Version:  3.5
 Severity:  trivial                   |  Resolution:  fixed
 Keywords:  good-first-bug has-patch  |     Focuses:
--------------------------------------+-----------------------------
Changes (by SergeyBiryukov):

 * owner:  (none) => SergeyBiryukov
 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:"52659" 52659]:
 {{{
 #!CommitTicketReference repository="" revision="52659"
 General: Remove inaccurate reference to the `link_updated` field from the
 `wp_insert_link()` DocBlock.

 The `link_updated` field is unused as of WordPress 3.0 and was never
 updated via `wp_insert_link()`, only via the `wp-admin/update-links.php`
 file removed in [13744].

 Follow-up to [13744], [49487].

 Props dshanske, dharm1025, SergeyBiryukov.
 Fixes #54880.
 }}}

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


More information about the wp-trac mailing list