Fix formatting and add a missing return description for inline documentation introduced in [32644] for `WP_Links_List_Table`.
See #25408. See #32246. Built from https://develop.svn.wordpress.org/trunk@32661 git-svn-id: http://core.svn.wordpress.org/trunk@32631 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
5457eb4933
commit
2a0048b1fb
|
@ -140,12 +140,11 @@ class WP_Links_List_Table extends WP_List_Table {
|
|||
}
|
||||
|
||||
/**
|
||||
* Get name of default primary column
|
||||
* Get the name of the default primary column.
|
||||
*
|
||||
* @since 4.3.0
|
||||
* @access protected
|
||||
*
|
||||
* @return string
|
||||
* @return string Name of the default primary column, in this case, 'name'.
|
||||
*/
|
||||
protected function get_default_primary_column_name() {
|
||||
return 'name';
|
||||
|
@ -251,16 +250,15 @@ class WP_Links_List_Table extends WP_List_Table {
|
|||
}
|
||||
|
||||
/**
|
||||
* Generate and display row actions links
|
||||
* Generate and display row actions for links.
|
||||
*
|
||||
* @since 4.3
|
||||
* @since 4.3.0
|
||||
* @access protected
|
||||
*
|
||||
* @param object $link Link being acted upon
|
||||
* @param string $column_name Current column name
|
||||
* @param string $primary Primary column name
|
||||
*
|
||||
* @return string
|
||||
* @param object $link Link being acted upon.
|
||||
* @param string $column_name Current column name.
|
||||
* @param string $primary Primary column name.
|
||||
* @return string Row action output for links.
|
||||
*/
|
||||
protected function handle_row_actions( $link, $column_name, $primary ) {
|
||||
if( $primary === $column_name ) {
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '4.3-alpha-32660';
|
||||
$wp_version = '4.3-alpha-32661';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
|
Loading…
Reference in New Issue