WordPress.org

Make WordPress Core

Changeset 45033


Ignore:
Timestamp:
03/27/2019 02:44:31 PM (10 months ago)
Author:
SergeyBiryukov
Message:

Docs: Correct back-compat reference to $excluded_categories in get_adjacent_post().

See #46543, #17673.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/link-template.php

    r45031 r45033  
    16891689
    16901690    if ( ! empty( $excluded_terms ) && ! is_array( $excluded_terms ) ) {
    1691         // back-compat, $excluded_terms used to be $excluded_terms with IDs separated by " and "
     1691        // Back-compat, $excluded_terms used to be $excluded_categories with IDs separated by " and ".
    16921692        if ( false !== strpos( $excluded_terms, ' and ' ) ) {
    16931693            _deprecated_argument( __FUNCTION__, '3.3.0', sprintf( __( 'Use commas instead of %s to separate excluded terms.' ), "'and'" ) );
Note: See TracChangeset for help on using the changeset viewer.