WordPress.org

Make WordPress Core

Opened 6 years ago

Closed 6 years ago

#29148 closed defect (bug) (fixed)

Strict Standards in class-wp-plugins-list-table.php

Reported by: imath Owned by: ocean90
Milestone: 4.0 Priority: normal
Severity: normal Version: 4.0
Component: Administration Keywords:
Focuses: administration Cc:

Description (last modified by ocean90)

Hi,

Just noticed, since [29440], there's this strict standard when listing plugins :

Strict Standards: Declaration of WP_Plugins_List_Table::bulk_actions() should be compatible with WP_List_Table::bulk_actions($which = '') in /src/wp-admin/includes/class-wp-plugins-list-table.php

Suggest the diff attached.

Attachments (1)

29148.diff (1.4 KB) - added by imath 6 years ago.

Download all attachments as: .zip

Change History (5)

@imath
6 years ago

#1 @SergeyBiryukov
6 years ago

  • Description modified (diff)
  • Milestone changed from Awaiting Review to 4.0

#2 @ocean90
6 years ago

#29162 was marked as a duplicate.

#3 @ocean90
6 years ago

  • Description modified (diff)

#4 @ocean90
6 years ago

  • Owner set to ocean90
  • Resolution set to fixed
  • Status changed from new to closed

In 29453:

WP_Plugins_List_Table::bulk_actions() method declaration should match WP_List_Table, see [29440].

props imath.
fixes #29148.

Note: See TracTickets for help on using tickets.