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:
Drew Jaynes 2015-05-31 01:23:26 +00:00
parent 5457eb4933
commit 2a0048b1fb
2 changed files with 9 additions and 11 deletions

View File

@ -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 * @since 4.3.0
* @access protected * @access protected
* * @return string Name of the default primary column, in this case, 'name'.
* @return string
*/ */
protected function get_default_primary_column_name() { protected function get_default_primary_column_name() {
return '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 * @access protected
* *
* @param object $link Link being acted upon * @param object $link Link being acted upon.
* @param string $column_name Current column name * @param string $column_name Current column name.
* @param string $primary Primary column name * @param string $primary Primary column name.
* * @return string Row action output for links.
* @return string
*/ */
protected function handle_row_actions( $link, $column_name, $primary ) { protected function handle_row_actions( $link, $column_name, $primary ) {
if( $primary === $column_name ) { if( $primary === $column_name ) {

View File

@ -4,7 +4,7 @@
* *
* @global string $wp_version * @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. * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.