Links: Clarify documentation for the $link_id parameter to mention that it accepts either an integer or object.

Props tloureiro.
See #36736.

Built from https://develop.svn.wordpress.org/trunk@37351


git-svn-id: http://core.svn.wordpress.org/trunk@37317 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Drew Jaynes 2016-05-02 23:40:27 +00:00
parent f98a2ed41d
commit 3470faa683
2 changed files with 2 additions and 2 deletions

View File

@ -131,7 +131,7 @@ function wp_get_link_cats( $link_id = 0 ) {
* *
* @since 2.0.0 * @since 2.0.0
* *
* @param int $link_id ID of link to retrieve. * @param int|stdClass $link_id Link ID or object to retrieve.
* @return object Link object for editing. * @return object Link object for editing.
*/ */
function get_link_to_edit( $link_id ) { function get_link_to_edit( $link_id ) {

View File

@ -4,7 +4,7 @@
* *
* @global string $wp_version * @global string $wp_version
*/ */
$wp_version = '4.6-alpha-37350'; $wp_version = '4.6-alpha-37351';
/** /**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema. * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.