Add @see reference for set_post_thumbnail() in the phpDoc for wp_ajax_set_attachment_thumbnail().

See #27891.


git-svn-id: https://develop.svn.wordpress.org/trunk@29037 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Drew Jaynes (DrewAPicture) 2014-07-08 20:35:53 +00:00
parent 4e8a1a1ab1
commit 854fa2b5d6

View File

@ -1950,6 +1950,8 @@ function wp_ajax_set_post_thumbnail() {
* Ajax handler for setting the featured image for an attachment. * Ajax handler for setting the featured image for an attachment.
* *
* @since 4.0.0 * @since 4.0.0
*
* @see set_post_thumbnail()
*/ */
function wp_ajax_set_attachment_thumbnail() { function wp_ajax_set_attachment_thumbnail() {
if ( empty( $_POST['urls'] ) || ! is_array( $_POST['urls'] ) ) { if ( empty( $_POST['urls'] ) || ! is_array( $_POST['urls'] ) ) {