[wp-trac] [WordPress Trac] #48626: Remove unused function argument

WordPress Trac noreply at wordpress.org
Thu Nov 14 08:21:32 UTC 2019


#48626: Remove unused function argument
---------------------------+-----------------------------
 Reporter:  manikmist09    |      Owner:  (none)
     Type:  defect (bug)   |     Status:  new
 Priority:  normal         |  Milestone:  Awaiting Review
Component:  Bundled Theme  |    Version:  5.3
 Severity:  normal         |   Keywords:  has-patch
  Focuses:  template       |
---------------------------+-----------------------------
 function `twentytwenty_edit_post_link` accepts a param `$text` but that
 never been used instead hardcoded with translatable string. So I think the
 argument should not be there.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/48626>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list