开发者 | ethitter |
---|---|
更新时间 | 2015年8月18日 06:15 |
捐献地址: | 去捐款 |
PHP版本: | 3.4 及以上 |
WordPress版本: | 4.3 |
版权: | GPLv2 or later |
版权网址: | 版权信息 |
Add the function date_based_taxonomy_archives()
to any template element that appears on a taxonomy archive. The function accepts an array containing the following arguments:
taxonomies
- array of taxonomy slugs.show_post_count
- boolean value specifying whether or not to display show counts in parenthesis after archive links.limit
- integer specifying the number of archive links to show. Omit to show all archive links for the specified taxonomy.before
- output to display before archive link.after
- output to display after archive link.echo
- boolean value specifying whether to echo or return archive links.date_based_taxonomy_archives_args
- applied to arguments passed to date_based_taxonomy_archives()
at runtime.add_query_arg()
as identified by Sucuri: https://blog.sucuri.net/2015/04/security-advisory-xss-vulnerability-affecting-multiple-wordpress-plugins.html.$wpdb->prepare()
that were incorrectly implemented, resulting in PHP warnings when WP_DEBUG
was enabled.