0
我正在开发WordPress的网站,我得到了这个错误。这个wordpress代码中的语法错误是什么?
Parse error: syntax error, unexpected '' ' (T_CONSTANT_ENCAPSED_STRING) in /home/content/p3pnexwpnas11_data02/07/3672907/html/wp-content/themes/primer/inc/template-tags.php on line 51
这里获得
printf('<a href="%1$s" class="custom-logo-link" %2$s>%3$s</a>',
esc_url(home_url('/')),
$custom_logo_id ? 'rel="home" itemprop="url"' : 'style="display:none;"',
$custom_logo_id ? wp_get_attachment_image($custom_logo_id, 'full', false, $args) : '<img class="custom-logo"/>'
);
被编码那么,什么是错误?