Make WordPress Core

Ticket #9571: 9571.3.diff

File 9571.3.diff, 781 bytes (added by MikeHansenMe, 10 years ago)

Refreshed plus docs

  • src/wp-includes/link-template.php

     
    15561556        $order = $previous ? 'DESC' : 'ASC';
    15571557
    15581558        /**
     1559         * Filter the excluded term ids
     1560         *
     1561         * The dynamic portion of the hook name, `$adjacent`, refers to the type
     1562         * of adjacency, 'next' or 'previous'.
     1563         *
     1564         * @since 4.2.0
     1565         *
     1566         * @param string $excluded_terms Array of excluded term IDs.
     1567         */
     1568        $excluded_terms = apply_filters( "get_{$adjacent}_post_excluded", $excluded_terms );
     1569
     1570        /**
    15591571         * Filter the JOIN clause in the SQL for an adjacent post query.
    15601572         *
    15611573         * The dynamic portion of the hook name, `$adjacent`, refers to the type