Make WordPress Core


Ignore:
Timestamp:
12/06/2014 09:31:41 PM (9 years ago)
Author:
johnbillion
Message:

Improve various hook and filter docs so they are correctly parsed for the code reference.

Fixes #30558
Props DrewAPicture

File:
1 edited

Legend:

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

    r30679 r30754  
    474474        }
    475475?>
    476         <td <?php echo $attributes ?>>
    477             <?php
    478                 /**
    479                  * Fires for each custom column in the Media list table.
    480                  *
    481                  * Custom columns are registered using the 'manage_media_columns' filter.
    482                  *
    483                  * @since 2.5.0
    484                  *
    485                  * @param string $column_name Name of the custom column.
    486                  * @param int    $post_id     Attachment ID.
    487                  */
    488             ?>
    489             <?php do_action( 'manage_media_custom_column', $column_name, $post->ID ); ?>
    490         </td>
     476        <td <?php echo $attributes ?>><?php
     477            /**
     478             * Fires for each custom column in the Media list table.
     479             *
     480             * Custom columns are registered using the 'manage_media_columns' filter.
     481             *
     482             * @since 2.5.0
     483             *
     484             * @param string $column_name Name of the custom column.
     485             * @param int    $post_id     Attachment ID.
     486             */
     487            do_action( 'manage_media_custom_column', $column_name, $post->ID );
     488        ?></td>
    491489<?php
    492490        break;
Note: See TracChangeset for help on using the changeset viewer.