Docs: @param fixes for a variety of docblocks.
See #32246 Built from https://develop.svn.wordpress.org/trunk@36232 git-svn-id: http://core.svn.wordpress.org/trunk@36199 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
@@ -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 );
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@@ -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'] );
|
||||
|
||||
@@ -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();
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user