Improve various @param docs for src/wp-admin/*.

See #30224.


git-svn-id: https://develop.svn.wordpress.org/trunk@30680 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Scott Taylor
2014-12-01 00:59:43 +00:00
parent c0045bda84
commit 8a4fa5662b
8 changed files with 33 additions and 23 deletions
+3 -3
View File
@@ -1120,7 +1120,7 @@ function postbox_classes( $id, $page ) {
*
* @since 2.5.0
*
* @param int|object $id Post ID or post object.
* @param integer $id Post ID or post object.
* @param string $title (optional) Title
* @param string $name (optional) Name
* @return array With two entries of type string
@@ -1185,7 +1185,7 @@ function get_sample_permalink($id, $title = null, $name = null) {
*
* @since 2.5.0
*
* @param int|object $id Post ID or post object.
* @param integer $id Post ID or post object.
* @param string $new_title Optional. New title.
* @param string $new_slug Optional. New slug.
* @return string The HTML of the sample permalink slug editor.
@@ -1308,7 +1308,7 @@ function _wp_post_thumbnail_html( $thumbnail_id = null, $post = null ) {
* @since 2.5.0
*
* @param int $post_id ID of the post to check for editing
* @return bool|int False: not locked or locked by current user. Int: user ID of user with lock.
* @return integer False: not locked or locked by current user. Int: user ID of user with lock.
*/
function wp_check_post_lock( $post_id ) {
if ( !$post = get_post( $post_id ) )