Make WordPress Core


Ignore:
Timestamp:
09/17/2013 09:07:12 AM (12 years ago)
Author:
SergeyBiryukov
Message:

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/includes/deprecated.php

    r25307 r25472  
    113113 * @deprecated 2.9.0
    114114 * @uses WP_CONTENT_DIR Full filesystem path to the wp-content directory.
    115  * 
     115 *
    116116 * @param string $file Filesystem path relative to the wp-content directory.
    117117 * @return string Full filesystem path to edit.
     
    10521052 */
    10531053function wp_nav_menu_locations_meta_box() {
    1054     _deprecated_function( __FUNCTION__, '3.6' );   
     1054    _deprecated_function( __FUNCTION__, '3.6' );
    10551055}
    10561056
     
    11171117    return $upgrader->upgrade($theme);
    11181118}
     1119
     1120/**
     1121 * This was once used to display attachment links. Now it is deprecated and stubbed.
     1122 *
     1123 * {@internal Missing Short Description}}
     1124 *
     1125 * @since 2.0.0
     1126 * @deprecated 3.7.0
     1127 *
     1128 * @param unknown_type $id
     1129 * @return unknown
     1130 */
     1131function the_attachment_links( $id = false ) {
     1132    _deprecated_function( __FUNCTION__, '3.7' );
     1133}
Note: See TracChangeset for help on using the changeset viewer.