WordPress.org

Make WordPress Core

Ticket #22950: 22950.diff

File 22950.diff, 747 bytes (added by ericlewis, 6 years ago)
  • wp-includes/link-template.php

     
    13121312 * @param array|string $excluded_terms Optional. Array or comma-separated list of excluded term IDs.
    13131313 * @param bool         $start          Optional. Whether to retrieve first or last post.
    13141314 * @param string       $taxonomy       Optional. Taxonomy, if $in_same_term is true. Default 'category'.
    1315  * @return object
     1315 * @return array Array including the boundary post object.
    13161316 */
    13171317function get_boundary_post( $in_same_term = false, $excluded_terms = '', $start = true, $taxonomy = 'category' ) {
    13181318        $post = get_post();