Make WordPress Core


Ignore:
Timestamp:
03/25/2025 03:14:50 PM (12 months ago)
Author:
audrasjb
Message:

Permalinks: Revert [59966].

The original commit ignores some of the arguments that can be passed to the function, mainly base and format. Reverting for now.

Props peterwilsoncc.

File:
1 edited

Legend:

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

    r60062 r60088  
    47144714        }
    47154715        $link .= $args['add_fragment'];
    4716         $link  = get_option( 'permalink_structure' ) ? user_trailingslashit( $link, 'paged' ) : $link;
    47174716
    47184717        $page_links[] = sprintf(
     
    47474746                }
    47484747                $link .= $args['add_fragment'];
    4749                 $link  = get_option( 'permalink_structure' ) ? user_trailingslashit( $link, 'paged' ) : $link;
    47504748
    47514749                $page_links[] = sprintf(
     
    47724770        }
    47734771        $link .= $args['add_fragment'];
    4774         $link  = get_option( 'permalink_structure' ) ? user_trailingslashit( $link, 'paged' ) : $link;
    47754772
    47764773        $page_links[] = sprintf(
Note: See TracChangeset for help on using the changeset viewer.