Deprecate the_attachment_links(), unused since [6910]. props vinod dalvi. fixes #25340.

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


git-svn-id: http://core.svn.wordpress.org/trunk@25393 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Sergey Biryukov
2013-09-17 09:08:08 +00:00
parent 48f63d061d
commit 14db24911f
2 changed files with 17 additions and 53 deletions

View File

@@ -112,7 +112,7 @@ function dropdown_link_categories( $default = 0 ) {
* @since 1.5.0
* @deprecated 2.9.0
* @uses WP_CONTENT_DIR Full filesystem path to the wp-content directory.
*
*
* @param string $file Filesystem path relative to the wp-content directory.
* @return string Full filesystem path to edit.
*/
@@ -1051,7 +1051,7 @@ function wp_create_thumbnail( $file, $max_side, $deprecated = '' ) {
* @deprecated 3.6.0
*/
function wp_nav_menu_locations_meta_box() {
_deprecated_function( __FUNCTION__, '3.6' );
_deprecated_function( __FUNCTION__, '3.6' );
}
/**
@@ -1116,3 +1116,18 @@ function wp_update_theme($theme, $feedback = '') {
$upgrader = new Theme_Upgrader();
return $upgrader->upgrade($theme);
}
/**
* This was once used to display attachment links. Now it is deprecated and stubbed.
*
* {@internal Missing Short Description}}
*
* @since 2.0.0
* @deprecated 3.7.0
*
* @param unknown_type $id
* @return unknown
*/
function the_attachment_links( $id = false ) {
_deprecated_function( __FUNCTION__, '3.7' );
}