WordPress.org

Make WordPress Core

Changeset 32668


Ignore:
Timestamp:
05/31/2015 01:41:28 AM (4 years ago)
Author:
DrewAPicture
Message:

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

See #25408. See #32246.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/includes/class-wp-posts-list-table.php

    r32656 r32668  
    985985
    986986    /**
    987      * Get name of default primary column
     987     * Get the name of the default primary column.
    988988     *
    989989     * @since 4.3.0
    990990     * @access protected
    991991     *
    992      * @return string
     992     * @return string Name of the default primary column, in this case, 'title'.
    993993     */
    994994    protected function get_default_primary_column_name() {
     
    997997
    998998    /**
    999      * Generate and display row actions links
     999     * Generate and display row actions links.
    10001000     *
    10011001     * @since 4.3.0
    10021002     * @access protected
    10031003     *
    1004      * @param object $post Post being acted upon
    1005      * @param string $column_name Current column name
    1006      * @param string $primary Primary column name
    1007      *
    1008      * @return string
     1004     * @param object $post        Post being acted upon.
     1005     * @param string $column_name Current column name.
     1006     * @param string $primary     Primary column name.
     1007     * @return string Row actions output for posts.
    10091008     */
    10101009    protected function handle_row_actions( $post, $column_name, $primary ) {
Note: See TracChangeset for help on using the changeset viewer.