WordPress.org

Make WordPress Core

Changeset 15926


Ignore:
Timestamp:
10/23/2010 12:03:54 PM (9 years ago)
Author:
dd32
Message:

Do not use deprecated argument in wp-links-opml.php. See #15195

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-links-opml.php

    r13747 r15926  
    3737<?php
    3838if ( empty($link_cat) )
    39     $cats = get_categories(array('type' => 'link', 'hierarchical' => 0));
     39    $cats = get_categories(array('taxonomy' => 'link_category', 'hierarchical' => 0));
    4040else
    41     $cats = get_categories(array('type' => 'link', 'hierarchical' => 0, 'include' => $link_cat));
     41    $cats = get_categories(array('taxonomy' => 'link_category', 'hierarchical' => 0, 'include' => $link_cat));
    4242
    4343foreach ( (array)$cats as $cat ) :
Note: See TracChangeset for help on using the changeset viewer.