[wp-trac] [WordPress Trac] #25464: Function no_items() returns only one result

WordPress Trac noreply at wordpress.org
Fri Jan 24 22:55:51 UTC 2014


#25464: Function no_items() returns only one result
-------------------------------------------------+-------------------------
 Reporter:  pavelevap                            |       Owner:
     Type:  defect (bug)                         |      Status:  new
 Priority:  normal                               |   Milestone:  Awaiting
Component:  Administration                       |  Review
 Severity:  normal                               |     Version:  3.8
 Keywords:  needs-patch dev-feedback 2nd-        |  Resolution:
  opinion                                        |     Focuses:
-------------------------------------------------+-------------------------
Changes (by jbkkd):

 * keywords:  needs-patch => needs-patch dev-feedback 2nd-opinion


Comment:

 Apparently this function is being defined in multiple places all over, but
 only used in two files:
 /wp-admin/includes/class-wp-themes-list-table.php, line 122
 /wp-admin/includes/class-wp-list-table.php, line 854.

 I think removing the other usages would be quite safe. Attaching a patch
 for that

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


More information about the wp-trac mailing list