自己折腾了一个 WP 博客,但是正文下边有这样的错误, Warning: printf (): Too few arguments in /home …………/lib/frontend/post.php on line 348
google 了一下应该是 Printf 中%s 的问题,但是折腾半天并没有什么卵用=3=
求各位大神帮忙
源代码相关部分放在下面
if ( ! function_exists ( 'bizznis_post_meta' ) ) :
function bizznis_post_meta () {
# Filter for each post type.
if ( ! post_type_supports ( get_post_type (), 'bizznis-entry-meta-after-content' ) ) {
return;
}
$filtered = apply_filters ( 'bizznis_post_meta', '[post_categories] [post_tags]' );
if ( empty ( $filtered ) ) {
return;
}
printf ( '<p %s>' . $filtered . '</p>', bizznis_attr ( 'entry-meta' ) );<----348 行
}
endif;
博客地址: http://maltazard.com
里边还是有些很有意思的小东西的,无聊的时候可以刷一刷~
google 了一下应该是 Printf 中%s 的问题,但是折腾半天并没有什么卵用=3=
求各位大神帮忙
源代码相关部分放在下面
if ( ! function_exists ( 'bizznis_post_meta' ) ) :
function bizznis_post_meta () {
# Filter for each post type.
if ( ! post_type_supports ( get_post_type (), 'bizznis-entry-meta-after-content' ) ) {
return;
}
$filtered = apply_filters ( 'bizznis_post_meta', '[post_categories] [post_tags]' );
if ( empty ( $filtered ) ) {
return;
}
printf ( '<p %s>' . $filtered . '</p>', bizznis_attr ( 'entry-meta' ) );<----348 行
}
endif;
博客地址: http://maltazard.com
里边还是有些很有意思的小东西的,无聊的时候可以刷一刷~