Changeset 33805 for trunk/src/wp-includes/link-template.php
- Timestamp:
- 08/29/2015 07:58:13 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/link-template.php
r33736 r33805 1571 1571 * 1572 1572 * @since 2.5.0 1573 * @since 4.4.0 Added the `$taxonomy` parameter. 1573 1574 * 1574 1575 * @param string $join The JOIN clause in the SQL. 1575 1576 * @param bool $in_same_term Whether post should be in a same taxonomy term. 1576 1577 * @param array $excluded_terms Array of excluded term IDs. 1577 */ 1578 $join = apply_filters( "get_{$adjacent}_post_join", $join, $in_same_term, $excluded_terms ); 1578 * @param string $taxonomy Taxonomy. Used to identify the term used when `$in_same_term` is true. 1579 */ 1580 $join = apply_filters( "get_{$adjacent}_post_join", $join, $in_same_term, $excluded_terms, $taxonomy ); 1579 1581 1580 1582 /** … … 1585 1587 * 1586 1588 * @since 2.5.0 1589 * @since 4.4.0 Added the `$taxonomy` parameter. 1587 1590 * 1588 1591 * @param string $where The `WHERE` clause in the SQL. 1589 1592 * @param bool $in_same_term Whether post should be in a same taxonomy term. 1590 1593 * @param array $excluded_terms Array of excluded term IDs. 1591 */ 1592 $where = apply_filters( "get_{$adjacent}_post_where", $wpdb->prepare( "WHERE p.post_date $op %s AND p.post_type = %s $where", $current_post_date, $post->post_type ), $in_same_term, $excluded_terms ); 1594 * @param string $taxonomy Taxonomy. Used to identify the term used when `$in_same_term` is true. 1595 */ 1596 $where = apply_filters( "get_{$adjacent}_post_where", $wpdb->prepare( "WHERE p.post_date $op %s AND p.post_type = %s $where", $current_post_date, $post->post_type ), $in_same_term, $excluded_terms, $taxonomy ); 1593 1597 1594 1598 /**
Note: See TracChangeset
for help on using the changeset viewer.