mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-07-01 15:50:09 +00:00
Docs: Further corrections and promotions for docblocks relating to object types.
See #50768 git-svn-id: https://develop.svn.wordpress.org/trunk@49197 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -1372,7 +1372,7 @@ class WP_List_Table {
|
||||
*
|
||||
* @since 3.1.0
|
||||
*
|
||||
* @param object $item The current item
|
||||
* @param object|array $item The current item
|
||||
*/
|
||||
public function single_row( $item ) {
|
||||
echo '<tr>';
|
||||
@@ -1381,13 +1381,13 @@ class WP_List_Table {
|
||||
}
|
||||
|
||||
/**
|
||||
* @param object $item
|
||||
* @param object|array $item
|
||||
* @param string $column_name
|
||||
*/
|
||||
protected function column_default( $item, $column_name ) {}
|
||||
|
||||
/**
|
||||
* @param object $item
|
||||
* @param object|array $item
|
||||
*/
|
||||
protected function column_cb( $item ) {}
|
||||
|
||||
@@ -1396,7 +1396,7 @@ class WP_List_Table {
|
||||
*
|
||||
* @since 3.1.0
|
||||
*
|
||||
* @param object $item The current item.
|
||||
* @param object|array $item The current item.
|
||||
*/
|
||||
protected function single_row_columns( $item ) {
|
||||
list( $columns, $hidden, $sortable, $primary ) = $this->get_column_info();
|
||||
@@ -1448,9 +1448,9 @@ class WP_List_Table {
|
||||
*
|
||||
* @since 4.3.0
|
||||
*
|
||||
* @param object $item The item being acted upon.
|
||||
* @param string $column_name Current column name.
|
||||
* @param string $primary Primary column name.
|
||||
* @param object|array $item The item being acted upon.
|
||||
* @param string $column_name Current column name.
|
||||
* @param string $primary Primary column name.
|
||||
* @return string The row actions HTML, or an empty string
|
||||
* if the current column is not the primary column.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user