Docs: @param fixes for a variety of docblocks.

See #32246


git-svn-id: https://develop.svn.wordpress.org/trunk@36232 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
John Blackbourn
2016-01-09 01:44:31 +00:00
parent aaa61e80e4
commit 021401424b
10 changed files with 41 additions and 11 deletions

View File

@@ -73,11 +73,14 @@ function register_column_headers($screen, $columns) {
* Prints column headers for a particular screen.
*
* @since 2.7.0
*
* @param string|WP_Screen $screen The screen hook name or screen object.
* @param bool $with_id Whether to set the id attribute or not.
*/
function print_column_headers($screen, $id = true) {
function print_column_headers( $screen, $with_id = true ) {
$wp_list_table = new _WP_List_Table_Compat($screen);
$wp_list_table->print_column_headers($id);
$wp_list_table->print_column_headers( $with_id );
}
/**

View File

@@ -2688,6 +2688,8 @@ function multisite_over_quota_message() {
* Displays the image and editor in the post editor
*
* @since 3.5.0
*
* @param WP_Post $post A post object.
*/
function edit_form_image_editor( $post ) {
$open = isset( $_GET['image-editor'] );

View File

@@ -1173,6 +1173,8 @@ function link_advanced_meta_box($link) {
* Display post thumbnail meta box.
*
* @since 2.9.0
*
* @param WP_Post $post A post object.
*/
function post_thumbnail_meta_box( $post ) {
$thumbnail_id = get_post_meta( $post->ID, '_thumbnail_id', true );
@@ -1184,7 +1186,7 @@ function post_thumbnail_meta_box( $post ) {
*
* @since 3.9.0
*
* @param WP_Post $post
* @param WP_Post $post A post object.
*/
function attachment_id3_data_meta_box( $post ) {
$meta = array();

View File

@@ -635,6 +635,8 @@ function saveDomDocument($doc, $filename) {
* @since 3.0.0
*
* @global array $_wp_admin_css_colors
*
* @param int $user_id User ID.
*/
function admin_color_scheme_picker( $user_id ) {
global $_wp_admin_css_colors;