We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
If a title contains a percent sign, e.g. "Nasdaq up 25%", the "%" is stripped from the title (only in posts archives, single titles are OK).
It looks like the problem is in functions-post.php, in render_permalink(): there's this code:
$html = sprintf( '<a class="%s" href="%s">%s</a>', esc_attr( $args['class'] ), esc_url( $url ), sprintf( $args['text'], esc_url( $url ) ) );
I don't understand the purpose of sprintf( $args['text'], esc_url( $url ) ), but replacing it with just $args['text'] seems to fix the problem.
sprintf( $args['text'], esc_url( $url ) )
$args['text']
The text was updated successfully, but these errors were encountered:
Are you posting in the right repository?
Is this something in Hybrid Core? https://github.com/justintadlock/hybrid-core
Sorry, something went wrong.
Yes, sorry, it's Hybrid Core. I forgot that under the hood Mythic uses Hybrid Core that has a separate repo.
Do you want me to post the issue on Hybrid Core and close this one?
No branches or pull requests
If a title contains a percent sign, e.g. "Nasdaq up 25%", the "%" is stripped from the title (only in posts archives, single titles are OK).
It looks like the problem is in functions-post.php, in render_permalink(): there's this code:
I don't understand the purpose of
sprintf( $args['text'], esc_url( $url ) )
, but replacing it with just$args['text']
seems to fix the problem.The text was updated successfully, but these errors were encountered: