Closed ZjzMisaka closed 3 years ago
Commited. Thanks for the contribution!
Note:
I've also added the same markup to the contributors template.
In the final release, both of these will have the open
attribute added to the <details>
tag so that the details are open by default. That behaviour can be overridden via WordPress filters, specifically wp_github_oembed_contributor_details_expanded
and wp_github_oembed_repository_commit_details_expanded
You should return false
to those filters if you want the details element(s) closed by default.
The function of expanding and displaying information is added to make the control more beautiful.