In wp_get_attachment_link(), accept an id or WP_Post as the first parameter.

Props several27, DrewAPicture.
Fixes #33277.

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


git-svn-id: http://core.svn.wordpress.org/trunk@33636 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Scott Taylor
2015-08-20 20:32:26 +00:00
parent 89c39e7eab
commit 677d47ebc5
2 changed files with 3 additions and 3 deletions

View File

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