Ticket #9571: 9571.3.diff
File 9571.3.diff, 781 bytes (added by , 10 years ago) |
---|
-
src/wp-includes/link-template.php
1556 1556 $order = $previous ? 'DESC' : 'ASC'; 1557 1557 1558 1558 /** 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 /** 1559 1571 * Filter the JOIN clause in the SQL for an adjacent post query. 1560 1572 * 1561 1573 * The dynamic portion of the hook name, `$adjacent`, refers to the type