mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-06-28 22:30:04 +00:00
Docs: Docs on docs. Further improve documentation of known return types, plus other docs fixes.
See #48303 git-svn-id: https://develop.svn.wordpress.org/trunk@46662 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -170,7 +170,7 @@ class WP_Users_List_Table extends WP_List_Table {
|
||||
*
|
||||
* @global string $role
|
||||
*
|
||||
* @return array An array of HTML links, one for each view.
|
||||
* @return string[] An array of HTML links keyed by their view.
|
||||
*/
|
||||
protected function get_views() {
|
||||
global $role;
|
||||
@@ -259,7 +259,7 @@ class WP_Users_List_Table extends WP_List_Table {
|
||||
*
|
||||
* @since 3.1.0
|
||||
*
|
||||
* @return array Array of bulk actions.
|
||||
* @return string[] Array of bulk action labels keyed by their action.
|
||||
*/
|
||||
protected function get_bulk_actions() {
|
||||
$actions = array();
|
||||
@@ -348,8 +348,7 @@ class WP_Users_List_Table extends WP_List_Table {
|
||||
*
|
||||
* @since 3.1.0
|
||||
*
|
||||
* @return array Array in which the key is the ID of the column,
|
||||
* and the value is the description.
|
||||
* @return string[] Array of column titles keyed by their column name.
|
||||
*/
|
||||
public function get_columns() {
|
||||
$c = array(
|
||||
|
||||
Reference in New Issue
Block a user