[wp-trac] [WordPress Trac] #56622: Wrong documentation for `prev_text` and `next_text` params in `paginate_links()`

WordPress Trac noreply at wordpress.org
Thu Sep 22 09:01:22 UTC 2022


#56622: Wrong documentation for `prev_text` and `next_text` params in
`paginate_links()`
--------------------------+----------------------------------------
 Reporter:  audrasjb      |      Owner:  (none)
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  6.1
Component:  General       |    Version:
 Severity:  normal        |   Keywords:  needs-patch good-first-bug
  Focuses:  docs          |
--------------------------+----------------------------------------
 In `paginate_links()` function description, the arguments `next_text` and
 `prev_text` are described as `bool`, but they are `strings`.

 Props @gabri3lmarques for pointing this out on Devhub User contributed
 notes.

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


More information about the wp-trac mailing list