WordPress.org

Make WordPress Core

Ticket #30891: 30891.comments-user-can.patch

File 30891.comments-user-can.patch, 754 bytes (added by SergeyBiryukov, 5 years ago)
  • src/wp-admin/includes/class-wp-list-table.php

     
    8080         */
    8181        protected $_column_headers;
    8282
    83         protected $compat_fields = array( '_args', '_pagination_args', 'screen', '_actions', '_pagination' );
     83        protected $compat_fields = array( '_args', '_pagination_args', 'screen', '_actions', '_pagination', 'user_can' );
    8484
    8585        protected $compat_methods = array( 'set_pagination_args', 'get_views', 'get_bulk_actions', 'bulk_actions',
    8686                'row_actions', 'months_dropdown', 'view_switcher', 'comments_bubble', 'get_items_per_page', 'pagination',