[wp-trac] [WordPress Trac] #64825: Twenty Seventeen: twentyseventeen_edit_link() function passed

WordPress Trac noreply at wordpress.org
Fri Mar 13 01:36:18 UTC 2026


#64825: Twenty Seventeen: twentyseventeen_edit_link() function passed
---------------------------+--------------------------
 Reporter:  westonruter    |       Owner:  westonruter
     Type:  defect (bug)   |      Status:  closed
 Priority:  normal         |   Milestone:  7.0
Component:  Bundled Theme  |     Version:  4.7
 Severity:  minor          |  Resolution:  fixed
 Keywords:  has-patch      |     Focuses:
---------------------------+--------------------------
Changes (by westonruter):

 * status:  assigned => closed
 * resolution:   => fixed


Comment:

 In [changeset:"62000" 62000]:
 {{{
 #!CommitTicketReference repository="" revision="62000"
 Twenty Seventeen: Restore `$post_id` parameter to
 `twentyseventeen_edit_link()` which is being passed in some templates.

 This addresses `arguments.count` errors identified by PHPStan at rule
 level 1.

 Developed in https://github.com/WordPress/wordpress-develop/pull/11242

 Follow-up to WordPress/twentyseventeen commits:
 [https://github.com/WordPress/twentyseventeen/commit/1afb73cbe99e6fd40fc6d2440500f197ccf92684
 1afb73c],
 [https://github.com/WordPress/twentyseventeen/commit/7dd302582df46f6bb6b79fd7bb6344cad0eff698
 #diff-88ec0e9d51b04231a448a06c40ced21810e85361ced9481a9248f1075226c6aa
 7dd3025],
 [https://github.com/WordPress/twentyseventeen/blob/69482880b4ae2ec145f60df417423665581a5653/inc
 /template-tags.php#L104-L128 6948288].

 Props sabernhardt, westonruter.
 See #64680.
 Fixes #64825.
 }}}

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


More information about the wp-trac mailing list