Make WordPress Core


Ignore:
Timestamp:
10/18/2020 05:16:33 PM (5 years ago)
Author:
SergeyBiryukov
Message:

Coding Standards: Use self when appropriate.

  • WP_List_Table::get_default_primary_column_name() is a protected method, so calling it statically with the class name is bad practice.
  • Similarly, this applies when calling a private constructor in WP_Screen::get().

Props jrf.
See #50767.

File:
1 edited

Legend:

Unmodified
Added
Removed
Note: See TracChangeset for help on using the changeset viewer.