Skip to content
New issue

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

get_the_author_meta() not working on author pages #969

Closed
gregarios opened this issue Jul 31, 2023 · 6 comments
Closed

get_the_author_meta() not working on author pages #969

gregarios opened this issue Jul 31, 2023 · 6 comments

Comments

@gregarios
Copy link

gregarios commented Jul 31, 2023

In version 3.5.12 the get_the_author_meta() doesn't show anything even though there is a meta description for the author.

Example in author.php — this only prints the administrator's info:

<h2><?php printf( __( '%s', 'wshg' ), get_the_author() ); ?></h2>	
<?php if ( get_the_author_meta( 'description' ) ) : ?><?php the_author_meta( 'description' ); ?><?php endif; ?>
@gregarios
Copy link
Author

This is the change that causes the problem, in file /co-authors-plus.php:
screenshot-20230731-102316-AM

Commenting out this fixes it as far as I can tell:
screenshot-20230731-102304-AM

@GaryJones
Copy link
Contributor

@gregarios Can you please confirm if you meant 3.5.12 (just released) rather than 3.1.12?

@gregarios
Copy link
Author

@gregarios Can you please confirm if you meant 3.5.12 (just released) rather than 3.1.12?

Oh yes sorry I meant 3.5.12

@GaryJones
Copy link
Contributor

Thanks - from your screenshot, it looks like #926 has broken things. I'm looking into it.

@GaryJones GaryJones mentioned this issue Jul 31, 2023
@GaryJones
Copy link
Contributor

Fixed by #970. Released as 3.5.13.

@gregarios
Copy link
Author

Fixed by #970. Released as 3.5.13.

Verified fixed under 3.5.13.
Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants