Skip to content

Commit

Permalink
Add trailing slash to cat urls
Browse files Browse the repository at this point in the history
  • Loading branch information
kirtangajjar committed Jul 4, 2024
1 parent 7fee3dd commit 8ef5b57
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion includes/utils.php
Original file line number Diff line number Diff line change
Expand Up @@ -590,7 +590,7 @@ function get_edit_link( $args, $link_text, $css_class = '' ) {
if ( is_internal_connection() ) {
$url = add_query_arg( $args, get_admin_url( null, 'edit.php' ) );
} else {
$url = add_query_arg( $args, get_root_url() . 'wp-admin/edit.php' );
$url = add_query_arg( $args, trailingslashit( get_root_url() ) . 'wp-admin/edit.php' );
}

$class_html = '';
Expand Down

0 comments on commit 8ef5b57

Please sign in to comment.