WordPress.org

Make WordPress Core

Ticket #6879: links_list_dep.diff

File links_list_dep.diff, 739 bytes (added by Otto42, 10 years ago)

Patch for deprecated.php to change doc to be correct

  • wp-includes/deprecated.php

     
    10641064 *
    10651065 * @author Dougal
    10661066 * @since 1.0.1
    1067  * @deprecated Use get_categories()
    1068  * @see get_categories()
     1067 * @deprecated Use wp_list_bookmarks()
     1068 * @see wp_list_bookmarks()
    10691069 *
    10701070 * @param string $order Sort link categories by 'name' or 'id'
    10711071 * @param string $$deprecated Not Used
    10721072 */
    10731073function get_links_list($order = 'name', $deprecated = '') {
    1074         _deprecated_function(__FUNCTION__, '0.0', 'get_categories()');
     1074        _deprecated_function(__FUNCTION__, '0.0', 'wp_list_bookmarks()');
    10751075
    10761076        $order = strtolower($order);
    10771077