Fix syntax and add missing return descriptions for inline documentation introduced in [32644] for `WP_Posts_List_Table`.

See #25408. See #32246.

Built from https://develop.svn.wordpress.org/trunk@32668


git-svn-id: http://core.svn.wordpress.org/trunk@32638 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Drew Jaynes 2015-05-31 01:42:25 +00:00
parent 5e2983a77e
commit a69f867738
2 changed files with 8 additions and 9 deletions

View File

@ -984,28 +984,27 @@ class WP_Posts_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 * @return string Name of the default primary column, in this case, 'title'.
*/ */
protected function get_default_primary_column_name() { protected function get_default_primary_column_name() {
return( 'title' ); return( 'title' );
} }
/** /**
* Generate and display row actions links * Generate and display row actions links.
* *
* @since 4.3.0 * @since 4.3.0
* @access protected * @access protected
* *
* @param object $post Post being acted upon * @param object $post Post 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 actions output for posts.
* @return string
*/ */
protected function handle_row_actions( $post, $column_name, $primary ) { protected function handle_row_actions( $post, $column_name, $primary ) {
$title = _draft_or_post_title(); $title = _draft_or_post_title();

View File

@ -4,7 +4,7 @@
* *
* @global string $wp_version * @global string $wp_version
*/ */
$wp_version = '4.3-alpha-32667'; $wp_version = '4.3-alpha-32668';
/** /**
* 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.