wp.VicunaをTheme-Check

wp.Vicuna 1.5.9は5年以上前のテーマですので最新のwordpressの機能には対応していません。
非推奨になってしまったタグや関数などもたくさんあるので、Theme-Checkプラグインを使ってチェックしていきます。

[php]必須: コンテンツ幅が設定されていません。例:
if ( ! isset( $content_width ) ) $content_width = 900;
必須: このテーマは標準のアバター機能をサポートしていないようです。このサポートを追加するには get_avatar もしくは wp_list_comments を使用してください。
必須: このテーマには投稿記事ページネーションのコードがありません。posts_nav_link() もしくは paginate_links() もしくは next_posts_link() と previous_posts_link() を使用して投稿記事ページネーションを追加してください。
必須: このテーマにはコメントページネーションのコードがありません。paginate_comments_links() もしくは next_comments_link() と previous_comments_link() を使用してコメントページネーションを追加してください。
REQUIRED:テーマの css には .wp-caption の css クラスが必要です。
REQUIRED:テーマの css には .wp-caption-text の css クラスが必要です。
REQUIRED:テーマの css には .sticky の css クラスが必要です。
REQUIRED:テーマの css には .gallery-caption の css クラスが必要です。
REQUIRED:テーマの css には .bypostauthor の css クラスが必要です。
REQUIRED:テーマの css には .alignright の css クラスが必要です。
REQUIRED:テーマの css には .alignleft の css クラスが必要です。
REQUIRED:テーマの css には .aligncenter の css クラスが必要です。
REQUIRED:style.css のヘッダーに License: がありません。
REQUIRED:style.css のヘッダーに License URI: がありません。
推奨: このテーマ内に投稿サムネイル (アイキャッチ画像) への参照が見つかりませんでした。 このテーマにサムネイルの機能をもたせるのなら functions.php 内に add_theme_support( 'post-thumbnails' ) を実装したほうがいいでしょう。
推奨: このテーマ内に the_post_thumbnail() への参照が見つかりませんでした。サムネイル用には、カスタムフィールドを使う代りにこの機能を実装するようお勧めします。
推奨: このテーマ内に add_editor_style() への参照が見つかりませんでした。テーマへのエディタースタイルの実装を推奨します。これにより、エディターのコンテンツとこのテーマの実際の出力とをマッチさせることができ、ユーザーエクスペリエンスが向上します。
推奨: style.css のヘッダーの Tags: が空か存在していません。
推奨: widgets.php 内にテキストドメインに関する問題があります。 テキストドメインが含まれていません!
行 40: $title = empty($options['title']) ? __('Pages') : $options['title'];
行 524: wp_register_sidebar_widget('pages', __('Pages').'(vicuna)' , 'vicuna_widget_pages');
行 525: wp_register_widget_control('pages', __('Pages'), 'vicuna_widget_pages_control');
行 71:
<label for="pages-title"><!--?php _e('Title:'); ?--> <input id="pages-title" style="width: 220px;" type="text" name="'pages-<br" />行 121:
<label for="recent_posts-title"><!--?php _e('Title:'); ?--> <input id="recent_posts-title" style="width: 220px;" type="text" name="<br" />行 165:
<label for="categories-title"><!--?php _e('Title:'); ?--> <input id="categories-title" style="width: 220px;" type="text" name="'c<br" />行 206:
<label for="archives-title"><!--?php _e('Title:'); ?--> <input id="archives-title" style="width: 220px;" type="text" name="'arc<br" />行 236:
<label for="tag_cloud-title"><!--?php _e('Title:'); ?--> <input id="tag_cloud-title" style="width: 220px;" type="text" name="'ta<br" />行 276:
<label for="search-title"><!--?php _e('Title:'); ?--> <input id="search-title" style="width: 220px;" type="text" name="'searc<br" />行 325:
<label for="feeds-title"><!--?php _e('Title:'); ?--> <input id="feeds-title" style="width: 220px;" type="text" name="'feeds-<br" />行 366:
<label for="meta-title"><!--?php _e('Title:'); ?--> <input id="meta-title" style="width: 220px;" type="text" name="'meta-ti<br" />行 470:
<label for="recent_comments-title"><!--?php _e('Title:'); ?--> <input id="recent_comments-title" style="width: 220px;" type="text" />行 511:
<label for="recent_pings-title"><!--?php _e('Title:'); ?--> <input id="recent_pings-title" style="width: 220px;" type="text" name="<br" />行 72:
<label for="pages-sortby"><!--?php _e( 'Sort by:' ); ?-->
行 166:
<label for="categories-sortby"><!--?php _e( 'Sort by:' ); ?-->
行 74:
><!--?php _e('Page title'); ?-->
行 75:
><!--?php _e('Page order'); ?-->
行 76:
><!--?php _e( 'Page ID' ); ?-->
行 78:
<label for="pages-exclude"><!--?php _e( 'Exclude:' ); ?--> <input type="text" value="<?php echo $exclude; ?>" />行 172:
<label for="categories-exclude"><!--?php _e( 'Exclude:' ); ?--> <input type="text" value="<?php echo $exclude; ?>" />行 79:<small><!--?php _e( 'Page IDs, separated by commas.' ); ?--></small>

行 92: $title = empty($options['title']) ? __('Recent Posts') : $options['title'];
行 528: wp_register_sidebar_widget('recent-posts', __('Recent Posts').'(vicuna)' , 'vicuna_widget_recent_posts');
行 529: wp_register_widget_control('recent-posts', __('Recent Posts'), 'vicuna_widget_recent_posts_control');
行 122:
<label for="recent_posts-number"><!--?php _e('Number of posts to show:'); ?--> <input id="'recent_p<br" style="width: 30px;" type="text" />行 471:
<label for="recent_comments-number"><!--?php _e('Number of posts to show:'); ?--> <input id="'recent_c<br" style="width: 30px;" type="text" />行 512:
<label for="recent_pings-number"><!--?php _e('Number of posts to show:'); ?--> <input id="'recent_p<br" style="width: 30px;" type="text" />行 123:<small><!--?php _e('(at most 15)'); ?--></small>

行 472:<small><!--?php _e('(at most 15)'); ?--></small>

行 513:<small><!--?php _e('(at most 15)'); ?--></small>

行 135: $title = empty($options['title']) ? __('Categories') : $options['title'];
行 532: wp_register_sidebar_widget('categories', __('Categories').'(vicuna)' , 'vicuna_widget_categories');
行 533: wp_register_widget_control('categories', __('Categories'), 'vicuna_widget_categories_control');
行 168:
><!--?php _e('Category title'); ?-->
行 169:
><!--?php _e('Category order'); ?-->
行 170:
><!--?php _e( 'Category ID' ); ?-->
行 173:<small><!--?php _e( 'Category IDs, separated by commas.' ); ?--></small>

行 186: $title = empty($options['title']) ? __('Archives') : $options['title'];
行 536: wp_register_sidebar_widget('archives', __('Archives').'(vicuna)', 'vicuna_widget_archives');
行 537: wp_register_widget_control('archives', __('Archives'), 'vicuna_widget_archives_control');
行 218: $title = empty($options['title']) ? __('Tag Cloud') : $options['title'];
行 540: wp_register_sidebar_widget('tag_cloud', __('Tag Cloud').'(vicuna)', 'vicuna_widget_tag_cloud');
行 541: wp_register_widget_control('tag_cloud', __('Tag Cloud'), 'vicuna_widget_tag_cloud_control');
行 248: $title = empty($options['title']) ? __('Search') : $options['title'];
行 544: wp_register_sidebar_widget('search', __('Search').'(vicuna)', 'vicuna_widget_search');
行 545: wp_register_widget_control('search', __('Search'), 'vicuna_widget_search_control');
行 257: <input class="submit" id="submit" type="submit" value="<?php _e(" />' />
行 327: <input type="radio" name="feeds-icon" value="0" /> checked='checked'<!--?php } ?-->/><!--?php _e('No'); ?-->
行 328: <input type="radio" name="feeds-icon" value="1" /> checked='checked'<!--?php } ?-->/><!--?php _e('Yes'); ?-->
行 341: $title = empty($options['title']) ? __('Meta') : $options['title'];
行 548: wp_register_sidebar_widget('meta', __('Meta').'(vicuna)', 'vicuna_widget_meta');
行 549: wp_register_widget_control('meta', __('Meta'), 'vicuna_widget_meta_control');
行 378: $title = empty($options['title']) ? __('Calendar') : $options['title'];
行 552: wp_register_sidebar_widget('calendar', __('Calendar').'(vicuna)', 'vicuna_widget_calendar');
行 428: <input class="submit" id="submit" type="submit" value="<?php _e(" />' />
行 443: $title = empty($options['title']) ? __('Recent Comments') : $options['title'];
行 555: wp_register_sidebar_widget('recent-comments', __('Recent Comments').'(vicuna)', 'vicuna_widget_recent_comments');
行 556: wp_register_widget_control('recent-comments', __('Recent Comments'), 'vicuna_widget_recent_comments_control');
行 560: wp_register_widget_control('recent-pings', __('Recent Pings'), 'vicuna_widget_recent_pings_control');
推奨: tag.php 内にテキストドメインに関する問題があります。 テキストドメインが含まれていません!
行 13:

<a href="<?php bloginfo(">'><!--?php _e('Home'); ?--></a> > <!--?php _e('Tags'); ?--> ><span class="current"><!--?p <br ?-->行 32: <!--?php edit_post_link(__('Edit'), '<br ?--></span></label></label></label></label></label></label></label></label></label></label></label></label></label></label></label></label></label></pre>
<ul>
<li class="admin">', '</li>
</ul>
<pre><label for="pages-title"><label for="recent_posts-title"><label for="categories-title"><label for="archives-title"><label for="tag_cloud-title"><label for="search-title"><label for="feeds-title"><label for="meta-title"><label for="recent_comments-title"><label for="recent_pings-title"><label for="pages-sortby"><label for="categories-sortby"><label for="pages-exclude"><label for="categories-exclude"><label for="recent_posts-number"><label for="recent_comments-number"><label for="recent_pings-number"><span class="current">

'); ?>
行 45:
</span></label></label></label></label></label></label></label></label></label></label></label></label></label></label></label></label></label></pre>
<ul>
<li class="comment"><a title="" href="<?php the_permalink() ?>#comments">' rel='nofollow'><!--?php if ('open' == $pos<br ?-->推奨: single.php 内にテキストドメインに関する問題があります。 テキストドメインが含まれていません!
行 32:
</a></li>
<li class="newer"><a title="<?php echo apply_filters(" href="<?php echo get_permalink($newer_post->ID) ?>">post_title, $newer_post) ?>' rel='nofollow'><!--?php _e('Newer'); ?--></a></li>
<li class="comment"><a title="" href="<?php the_permalink() ?>#comments">
行 56:
</a></li>
<li class="newer"><!--?php _e('Newer'); ?-->: 行 35:</li>
<li class="older"><a title="<?php echo apply_filters(" href="<?php echo get_permalink($older_post->ID) ?>">post_title, $older_post); ?>' rel='nofollow'><!--?php _e('Older'); ?--></a></li>
<li class="newer">
行 59:</li>
<li class="older"><!--?php _e('Older'); ?-->: 行 48: <!--?php edit_post_link(__('Edit'), '<br ?--></li>
<li class="admin">', '</li>
<li class="older">
'); ?>
推奨: sidebar.php 内にテキストドメインに関する問題があります。 テキストドメインが含まれていません!
行 6:<!--?php _e('Pages'); ?-->
行 14:<!--?php _e('Recent Posts'); ?-->
行 20:<!--?php _e('Categories'); ?-->
行 27:<!--?php _e('Archives'); ?-->
行 34:<!--?php _e('Tag Cloud'); ?-->
行 44:<!--?php _e('Search'); ?-->
行 51: <input class="submit" id="submit" type="submit" value="<?php _e(" />' />
行 64:<!--?php _e('Meta'); ?-->
推奨: search.php 内にテキストドメインに関する問題があります。 テキストドメインが含まれていません!
行 14:

<a href="<?php bloginfo(">'><!--?php _e('Home', 'vicuna'); ?--></a> >

行 18:
<h1></h1>
行 59:
<h2></h2>
行 66:
<h2></h2>
行 85:

<a href="<?php bloginfo(">'><!--?php _e('Home', 'vicuna'); ?--></a> >

行 33: <!--?php edit_post_link(__('Edit'), '<br ?--></li>
<li class="admin">', '</li>
<li class="older">
'); ?>
行 42:</li>
<li class="comment"><a title="" href="<?php the_permalink() ?>#comments">' rel='nofollow'><!--?php if ('open' == $pos<br ?-->推奨: page.php 内にテキストドメインに関する問題があります。 テキストドメインが含まれていません!
行 25: <!--?php edit_post_link(__('Edit'), '<br ?--></a></li>
<li class="admin">', '</li>
<li class="comment"><a title="" href="<?php the_permalink() ?>#comments">
'); ?>
推奨: index.php 内にテキストドメインに関する問題があります。 テキストドメインが含まれていません!
行 34: <!--?php edit_post_link(__('Edit'), '<br ?--></a></li>
<li class="admin">', '</li>
<li class="comment"><a title="" href="<?php the_permalink() ?>#comments">
'); ?>
行 47:
</a></li>
<li class="comment"><a title="" href="<?php the_permalink() ?>#comments">' rel='nofollow'><!--?php if ('open' == $pos<br ?-->推奨: footer.php 内にテキストドメインに関する問題があります。 テキストドメインが含まれていません!
行 1:

行 7:
</a></li>
<li class="template"><a href="http://vicuna.jp/">vicuna CMS</a> - <a title="'<br" href="http://ma38su.org/projects/">推奨: config.php 内にテキストドメインに関する問題があります。 テキストドメインが含まれていません!
行 109:<!--?php _e('Skin'); ?-->
行 119:<!--?php _e('Language'); ?-->
行 130:<!--?php _e('Eye Catch Type'); ?-->
行 168:<!--?php _e( 'Exclude:' ); ?-->
行 169:<label for="pages-exclude"><!--?php _e( 'Page' ); ?--> <input type="text" name="vicuna_g_navi_pages-exclude" />行 171:<label for="categories-exclude"><!--?php _e( 'Category' ); ?--> <input type="text" name="'vicuna_g_navi_categories-excl<br" />行 181: <input type="radio" name="vicuna_tag_displays" value="0" /> checked='checked'<!--?php endif; ?--> /><!--?php echo __('No'); ?-->
行 182: <input type="radio" name="vicuna_tag_displays" value="1" /> checked='checked'<!--?php endif; ?--> /><!--?php echo __('Yes'); ?-->
行 198: <input type="checkbox" name="vicuna_widget_archives" value="1" /> checked='checked'<!--?php endif; ?--> /><!--?php _e('Archives'); ?-->
行 199: <input type="checkbox" name="vicuna_widget_categories" value="1" /> checked='checked'<!--?php endif; ?--> /><!--?php _e('Categories'); ?-->
行 200: <input type="checkbox" name="vicuna_widget_calendar" value="1" /> checked='checked'<!--?php endif; ?--> /><!--?php _e('Calendar'); ?-->
行 201: <input type="checkbox" name="vicuna_widget_tag_cloud" value="1" /> checked='checked'<!--?php endif; ?--> /><!--?php _e('Tag Cloud'); ?-->
行 202: <input type="checkbox" name="vicuna_widget_pages" value="1" /> checked='checked'<!--?php endif; ?--> /><!--?php _e('Pages'); ?-->
行 203: <input type="checkbox" name="vicuna_widget_meta" value="1" /> checked='checked'<!--?php endif; ?--> /><!--?php _e('Meta'); ?-->
行 204: <input type="checkbox" name="vicuna_widget_recent_comments" value="1" /> checked='checked'<!--?php endif; ?--> /><!--?php _e('Recent Comments'); ?-->
行 205: <input type="checkbox" name="vicuna_widget_recent_posts" value="1" /> checked='checked'<!--?php endif; ?--> /><!--?php _e('Recent Posts'); ?-->
行 206: <input type="checkbox" name="vicuna_widget_search" value="1" /> checked='checked'<!--?php endif; ?--> /><!--?php _e('Search'); ?-->
推奨: comments.php 内にテキストドメインに関する問題があります。 テキストドメインが含まれていません!
行 42:
</label></label></a>
<h2><!--?php if ('open' == $post--->comment_status) : _e('Comments'); else : _e('Comments (Close)', 'vicuna'); endif; ?>:行 52:
<!--?php edit_comment_link(__('Edit'), '<span class='admin'-->', ''); ?>
行 96:<input class="radio" id="bakecookie" type="radio" name="bakecookie" /><label for="bakecookie"><!--?php _e('Yes'); ?--></label><input class="radio" id="forget" type="radio" name="'ba<br" />行 98:<label for="comment"><!--?php _e('Comment'); ?--><!--?php if ( allowed_tags() ) : ?--><span><!--?php _e('You can us<br ?-->行 107: <input class="submit post" id="comment-post" type="submit" name="post" value="<?php _e(" />' />
推奨: category.php 内にテキストドメインに関する問題があります。 テキストドメインが含まれていません!
行 37: <!--?php edit_post_link(__('Edit'), '<br ?--></span></label></h2>
</li>
<li class="admin">', '</li>
<li class="template">
<h2><label for="comment"><span>
'); ?>
行 50:
</span></label></h2>
</li>
<li class="comment"><a title="" href="<?php the_permalink() ?>#comments">' rel='nofollow'><!--?php if ('open' == $pos<br ?-->行 57:
</a></li>
<li class="trackback"><a title="" href="<?php the_permalink() ?>#trackback">' rel='nofollow'><!--?php if ('open' == $p<br ?-->行 73:

</a><a href="<?php bloginfo(">'><!--?php _e('Home'); ?--></a><!--?php <br ?-->推奨: archive.php 内にテキストドメインに関する問題があります。 テキストドメインが含まれていません!
行 15:

<a href="<?php bloginfo(">'><!--?php _e('Home', 'vicuna'); ?--></a> > <!--?php _e('Archives'); ?--> ><span class="current"><!--?php echo $archive_title; ?-->
行 72:

<a href="<?php bloginfo(">'><!--?php _e('Home', 'vicuna'); ?--></a> > <!--?php _e('Archives'); ?--> ><span class="current"><!--?php echo $archive_title; ?-->
行 35: <!--?php edit_post_link(__('Edit'), '<br ?--></span></span></li>
<li class="admin">', '</li>
<li class="trackback"><a title="" href="<?php the_permalink() ?>#trackback"><span class="current"><span class="current">
'); ?>
行 49:
</span></span></a></li>
<li class="comment"><a title="" href="<?php the_permalink() ?>#comments">' rel='nofollow'><!--?php if ('open' == $pos<br ?-->推奨: このテーマ内に nav_menu への参照が見つかりませんでした。テーマにメニューバーがあるのなら、そのための WordPress の nav_menu 機能を使用してください。
RECOMMENDED: No reference to add_theme_support( 'custom-header', $args ) was found in the theme. It is recommended that the theme implement this functionality if using an image for the header.
RECOMMENDED: No reference to add_theme_support( 'custom-background', $args ) was found in the theme. If the theme uses background images or solid colors for the background, then it is recommended that the theme implement this functionality.
注意: ファイル widgets.phpに PHP のショートタグが見つかりました。
行 621:
</a></li>
<li class="recentpings"><a href="'<?php">#ping<!--?php echo $comment--->comment_ID
必須: ファイル widgets.php 内に wp_specialchars が見つかりました。これはバージョン 2.8 以降、非推奨になっています。代わりに esc_html() を使用してください。
行 256: <input class="inputField" id="searchKeyword" type="text" name="s" size="10" onfocus="if (this.value == " />') this.value = '';' onblur='if (this.value == '') this.value = '<!--?php _e('Keyword(s)', 'vicuna'); ?-->';' value='<!--?php if ( is_search() ) echo wp_specialchars($s, 1); else _e('Keyword(s)', 'vicuna'); ?-->' />
必須: ファイル widgets.php 内に wp_list_cats が見つかりました。これはバージョン 2.1 以降、非推奨になっています。代わりに wp_list_categories を使用してください。
行 141: wp_list_cats('sort_column='.$sortby.'&optioncount=0&hierarchical=1&exclude=
必須: ファイル widgets.php 内に attribute_escape が見つかりました。これはバージョン 2.8 以降、非推奨になっています。代わりに esc_attr() を使用してください。
行 68: $title = attribute_escape($options['title']);
行 69: $exclude = attribute_escape( $options['exclude'] );
行 117: $title = attribute_escape($options['title']);
行 162: $title = attribute_escape($options['title']);
行 163: $exclude = attribute_escape( $options['exclude'] );
行 204: $title = attribute_escape($options['title']);
行 234: $title = attribute_escape($options['title']);
行 274: $title = attribute_escape($options['title']);
行 319: $title = attribute_escape($options['title']);
行 364: $title = attribute_escape($options['title']);
行 466: $title = attribute_escape($options['title']);
行 507: $title = attribute_escape($options['title']);
必須: ファイル widgets.php に bloginfo('home') が見つかりました。
行 252:
</a><form action="<?php bloginfo(" method="get">/'>
の代わりに echo home_url() を使用してください。
必須: ファイル tag.php に bloginfo('home') が見つかりました。
行 7:

<a href="<?php bloginfo(">' title='<!--?php printf(__('Return to %s index', 'vicuna'<br ?-->行 13:

</a><a href="<?php bloginfo(">'><!--?php _e('Home'); ?--></a> > <!--?php _e('Tags'); ?--> &g
行 68:

<a href="<?php bloginfo(">'><!--?php _e('Home', 'vicuna'); ?--></a> > <!--?php _e('Tag<br ?-->の代わりに echo home_url() を使用してください。
必須: ファイル single.php に bloginfo('home') が見つかりました。
行 19:

<a href="<?php bloginfo(">' title='<!--?php printf(__('Return to %s index', 'vicuna'<br ?-->行 26:

</a><a href="<?php bloginfo(">'><!--?php _e('Home', 'vicuna'); ?--></a> > <!--?php the_cat<br ?-->行 67:

<a href="<?php bloginfo(">'><!--?php _e('Home', 'vicuna'); ?--></a> > <!--?php the_cat<br ?-->の代わりに echo home_url() を使用してください。
必須: ファイル sidebar.php 内に wp_specialchars が見つかりました。これはバージョン 2.8 以降、非推奨になっています。代わりに esc_html() を使用してください。
行 50: <input class="inputField" id="searchKeyword" type="text" name="s" size="10" onfocus="if (this.value == " />') this.value = '';' onblur='if (this.value == '') this.value = '<!--?php _e('Keyword(s)', 'vicuna'); ?-->';' value='<!--?php if ( is_search() ) echo wp_specialchars($s, 1); else _e('Keyword(s)', 'vicuna'); ?-->' />
必須: ファイル sidebar.php 内に wp_list_cats が見つかりました。これはバージョン 2.1 以降、非推奨になっています。代わりに wp_list_categories を使用してください。
行 23: <!--?php wp_list_cats('sort_column=name&optioncount=0&hierarchical=1'); ?-->
必須: ファイル sidebar.php に bloginfo('home') が見つかりました。
行 46:
/'>
の代わりに echo home_url() を使用してください。
必須: ファイル search.php 内に wp_specialchars が見つかりました。これはバージョン 2.8 以降、非推奨になっています。代わりに esc_html() を使用してください。
行 2:<!--?php vicuna_title(wp_specialchars($s, 1)); ?-->
行 19:
<!--?php $allsearch =& new WP_Query('s=$s&showposts=-1'); printf(__('Result <span class='count'-->%s for <em>%s</em>', 'vicuna'), $allsearch->post_count, wp_specialchars($s, 1)); ?>

行 68:
<!--?php printf(__('Your search - <em-->%s -- did not match any documents.', 'vicuna'), wp_specialchars($s, 1)); ?>

必須: ファイル search.php に bloginfo('home') が見つかりました。
行 7:

<a href="<?php bloginfo(">' title='<!--?php printf(__('Return to %s index', 'vicuna'<br ?-->行 14:

</a><a href="<?php bloginfo(">'><!--?php _e('Home', 'vicuna'); ?--></a> > 行 85:

<a href="<?php bloginfo(">'><!--?php _e('Home', 'vicuna'); ?--></a> > の代わりに echo home_url() を使用してください。
必須: ファイル page.php に bloginfo('home') が見つかりました。
行 8:

<a href="<?php bloginfo(">' title='<!--?php printf(__('Return to %s index', 'vicuna'<br ?-->行 15:

</a><a href="<?php bloginfo(">'><!--?php _e('Home', 'vicuna'); ?--></a><!--?php <br ?-->行 35:

<a href="<?php bloginfo(">'><!--?php _e('Home', 'vicuna'); ?--></a><!--?php if ($parent_p<br ?-->の代わりに echo home_url() を使用してください。
必須: ファイル layout.php 内に attribute_escape が見つかりました。これはバージョン 2.8 以降、非推奨になっています。代わりに esc_attr() を使用してください。
行 90:
'>
必須: ファイル index.php に bloginfo('home') が見つかりました。
行 7:

<a href="<?php bloginfo(">'><!--?php bloginfo('name'); ?--></a>

行 14:

<a href="<?php bloginfo(">' title='<!--?php _e('Home', 'vicuna'); ?-->'><!--?php _e('Home<br ?-->行 70:

</a><a href="<?php bloginfo(">' title='<!--?php _e('Home', 'vicuna'); ?-->'><!--?php _e('Home<br ?-->の代わりに echo home_url() を使用してください。
必須: ファイル header.php に bloginfo('home') が見つかりました。
行 19: <link href="<?php bloginfo(" rel="start" />' title='<!--?php bloginfo('name'); ?--> Home' />
の代わりに echo home_url() を使用してください。
必須: ファイル functions.php 内に wp_specialchars が見つかりました。これはバージョン 2.8 以降、非推奨になっています。代わりに esc_html() を使用してください。
行 131: $tag = str_replace(' ', '?', wp_specialchars( $tag ));
行 740: $post->post_title = wp_specialchars( $post->post_title );
必須: ファイル functions.php 内に clean_url が見つかりました。これはバージョン 3.0 以降、非推奨になっています。代わりに esc_url() を使用してください。
行 129: $tag_link = clean_url($tag_links[$tag]);
必須: ファイル functions.php 内に attribute_escape が見つかりました。これはバージョン 2.8 以降、非推奨になっています。代わりに esc_attr() を使用してください。
行 132: $a[] = '
</a></form></li>
<li class="\'level'.$level.'\'">必須: ファイル config.php 内に attribute_escape が見つかりました。これはバージョン 2.8 以降、非推奨になっています。代わりに esc_attr() を使用してください。
行 18: $p_exclude = attribute_escape( $options['g_navi_pages-exclude'] );
行 21: $c_exclude = attribute_escape( $options['g_navi_categories-exclude'] );
行 73:
<form action="<?php echo attribute_escape($_SERVER[" method="post">'>
必須: ファイル config.php に bloginfo('home') が見つかりました。
行 28: <li<!--?php if ( is_front_page() ) { echo ' class=home_page_item'; } ?--> ><a href="<?php bloginfo(">' title='Home'>Home</a></form></li>
<li class="recentpings"><form action="<?php bloginfo(" method="get"><a href="<?php bloginfo(">
の代わりに echo home_url() を使用してください。
必須: ファイル category.php に bloginfo('home') が見つかりました。
行 7:

</a><a href="<?php bloginfo(">' title='<!--?php printf(__('Return to %s index', 'vicuna'<br ?-->行 13:

</a><a href="<?php bloginfo(">'><!--?php _e('Home', 'vicuna'); ?--></a><!--?php <br ?-->行 73:

<a href="<?php bloginfo(">'><!--?php _e('Home'); ?--></a><!--?php <br ?-->の代わりに echo home_url() を使用してください。
必須: ファイル archive.php に bloginfo('home') が見つかりました。
行 9:

<a href="<?php bloginfo(">' title='<!--?php printf(__('Return to %s index', 'vicuna'<br ?-->行 15:

</a><a href="<?php bloginfo(">'><!--?php _e('Home', 'vicuna'); ?--></a> > <!--?php _e('Arc<br ?-->行 72:

<a href="<?php bloginfo(">'><!--?php _e('Home', 'vicuna'); ?--></a> > <!--?php _e('Arc<br ?-->の代わりに echo home_url() を使用してください。
必須: ファイル 404.php に bloginfo('home') が見つかりました。
行 6:

<a href="<?php bloginfo(">' title='<!--?php printf(__('Return to %s index', 'vicuna'<br ?-->行 13:

</a><a href="<?php bloginfo(">'><!--?php _e('Home', 'vicuna'); ?--></a> > 行 27:

<a href="<?php bloginfo(">'><!--?php _e('Home', 'vicuna'); ?--></a> > の代わりに echo home_url() を使用してください。
必須: wp_list_comments が見つかりませんでした。参照: wp_list_comments
<!--?php wp_list_comments( $args ); ?-->
必須: wp_link_pages が見つかりませんでした。参考: wp_link_pages
<!--?php wp_link_pages( $args ); ?-->
必須: post_class が見つかりませんでした。参照: post_class
<div id="post-<?php the_ID(); ?>">>
必須: language_attributes が見つかりませんでした。参照: language_attributes
<div></div>
必須: comment_form が見つかりませんでした。参照: comment_form
<div></div>
<!--?php comment_form(); ?-->
<div></div>
必須: comment-reply スクリプトが呼び出されていません。 参照: Migrating Plugins and Themes to 2.7/Enhanced Comment Display
<div></div>
<!--?php if ( is_singular() ) wp_enqueue_script( "comment-reply" ); ?-->
<div></div>
必須: body_class call in body tag が見つかりませんでした。参照: body_class
<div></div>
<!--?php body_class( $class ); ?-->
<div></div>
必須: add_theme_support( 'automatic-feed-links' ) が見つかりませんでした。参照: add_theme_support
<div></div>
<!--?php add_theme_support( $feature ); ?-->
<div></div>
推奨: テーマ内にファイル readme.txt が見つかりませんでした。 より詳しい情報は Theme_Documentation をご覧ください。
<div></div>
推奨: style.css のヘッダーに Author URI: がありません。
<div></div>
推奨: ファイル layout.php に get_bloginfo(template_directory) が見つかりました。 の代わりにget_template_directory_uri() を使ってください。
<div></div>
推奨: ファイル header.php に get_bloginfo(template_url) が見つかりました。 の代わりにget_template_directory_uri() を使ってください。
<div></div>
推奨: ファイル config.php に get_bloginfo(template_directory) が見つかりました。 の代わりにget_template_directory_uri() を使ってください。
<div></div>
RECOMMENDED: Screenshot size should be 600x450, to account for HiDPI displays. Any 4:3 image size is acceptable, but 600x450 is preferred.
<div></div>
RECOMMENDED: Screenshot dimensions are wrong! Ratio of width to height should be 4:3.
<div></div>
RECOMMENDED: Possible variable $wd found in translation function in functions.php. Translation function calls must NOT contain PHP variables.
<div></div>
行 243: $day_ex = __($wd);
<div></div>
RECOMMENDED: Possible variable $layout_name found in translation function in widgets.php. Translation function calls must NOT contain PHP variables.
<div></div>
行 425:
<div></div>
<label for="layout"><!--?php _e($layout_name, 'vicuna'); ?--></label>
<div></div>
情報: ファイル functions.php 内に非アスキー文字および/または制御文字が見つかりました。対象が日本語ユーザーのみの場合は日本語が入っていてもかまいませんが、公式テーマディレクトリに登録する場合は他言語ユーザーに配慮してテンプレートファイル内に日本語は使わないようにしてください。日本語以外の文字でこのエラーが出ている場合は次のエラーを確認して制御文字が入り込んでいないかファイルをチェックしてみてください。
<div></div>
行 246: /* -- カレンダー日本語表記??? s --
<div></div>
行 251: /* -- カレンダー日本語表記??? s --
<div></div>
行 421: // インデント数 (div.textBody p から見て)
<div></div>
行 454: // インデント数 (div.textBody から見て)
<div></div>
行 475: //
<div><a class="more-link">が、
から???まらない??????の</a><a>を
</a>
<div class="'textB<br"></div>
<a id="more-**"></a>行 486: // (href='hoge#more-**'を、href='hoge#extended'に置換)
行 487: $content = preg_replace('/<p(\s.+?='.+?'>|>)\s?<a class="more-link" href="(.+?)#more-([0-9]+?)">(.+?)<\/a><\/p>/', '

</a><a title="" href="\2#extended" rel="nofollow">\4</a>

', $content);
行 489: //
から???まらない??????の<a class="more-link">を

<
行 490: $content = preg_replace('/\s*</a><a class="more-link" href="(.+?)#more-([0-9]+?)">(.+?)<\/a><\/p>/', '

\n\t\t\t\t'.'

</a><a title="" href="\1#extended" rel="nofollow">\3</a>

', $content);
行 509: // インデント数 (dl.log dd p から見て)
行 550: // [2007-04-03 ???更部???]
行 551: // return get_the_time('Y??? m月 d日');
行 554: // [2007-04-03 ???更部???]
行 555: // return get_the_time('Y??? m月');
行 558: // [2007-04-03 ???更部???]
行 559: // return get_the_time('Y???');
情報: style.php このテーマでは include もしくは require が使用されているようです。もし単独ファイルからテンプレートの別個のセクションをインクルードするためなら、代りに get_template_part() を使用してください。
行 5: require_once($dir.'wp-config.php');[/php]

はい、尋常なエラーの量ではありません(汗
これを全部直すのは大変ですね。
しかし、地道に一つずつ潰していくとこうなります。
theme-check(after)

修正方法1 テキストドメインに関する問題があります。 テキストドメインが含まれていません!

まずは簡単でたくさんエラーのあるテキストドメインの問題を修正します。
「テキストドメインの問題」とは簡単に言えば「翻訳ファイルにその単語が存在しない」いうことなんですが
今回の場合は翻訳ファイルの呼び出し方に問題があります。
引数の指定が違っているだけでvicunaテーマのlanguagesフォルダにすでにあるja.po ja.moで一通りの翻訳は可能です。
before

[php]推奨: sidebar.php 内にテキストドメインに関する問題があります。 テキストドメインが含まれていません!
行 6:<!--?php _e('Pages'); ?-->
行 14:<!--?php _e('Recent Posts'); ?-->
行 20:<!--?php _e('Categories'); ?-->
行 27:<!--?php _e('Archives'); ?-->
行 34:<!--?php _e('Tag Cloud'); ?-->
行 44:<!--?php _e('Search'); ?-->
[/php]

after

[php]推奨: sidebar.php 内にテキストドメインに関する問題があります。 テキストドメインが含まれていません!
行 6:<!--?php _e('Pages','vicuna'); ?-->
行 14:<!--?php _e('Recent Posts','vicuna'); ?-->
行 20:<!--?php _e('Categories','vicuna'); ?-->
行 27:<!--?php _e('Archives','vicuna'); ?-->
行 34:<!--?php _e('Tag Cloud','vicuna'); ?-->
行 44:<!--?php _e('Search','vicuna'); ?-->
[/php]

この要領で'vicuna'を引数に追加すればテキストドメインに関する問題はほぼ解決します。

修正方法2 bloginfo('home')やget_bloginfo(template_directory)は使わない!

最新のWordpressで非推奨になっているタグは代替タグがあるので順次置き換えます。
テキストエディタの置換機能を使えば簡単です。複数ファイルの置換ができるDevasなどを使うと効率的です。
bloginfo('home') → echo home_url()
get_bloginfo(template_directory) → get_template_directory_uri()
get_bloginfo(template_url) → get_template_directory_uri()

修正方法3 wordpressが生成するクラスのcssを設定しよう!

以下のエラーはwordpressが自動生成するクラスなのでcssが無いと怒られます。
WordPress 2.5 でいくつか導入されたのでそれ以前に作られたVicunaでは対応していません。

REQUIRED:テーマの css には .wp-caption の css クラスが必要です。
REQUIRED:テーマの css には .wp-caption-text の css クラスが必要です。
REQUIRED:テーマの css には .sticky の css クラスが必要です。
REQUIRED:テーマの css には .gallery-caption の css クラスが必要です。
REQUIRED:テーマの css には .bypostauthor の css クラスが必要です。
REQUIRED:テーマの css には .alignright の css クラスが必要です。
REQUIRED:テーマの css には .alignleft の css クラスが必要です。
REQUIRED:テーマの css には .aligncenter の css クラスが必要です。

style.phpもしくは各skinのCSSに追加しましょう。

[css].aligncenter,
div.aligncenter {
display: block;
margin-left: auto;
margin-right: auto;
}

.alignleft {
float: left;
}

.alignright {
float: right;
}

.wp-caption,
.gallery-caption {
border: 1px solid #ddd;
text-align: center;
background-color: #f3f3f3;
padding-top: 4px;
margin: 10px;
/* optional rounded corners for browsers that support it */
-moz-border-radius: 3px;
-khtml-border-radius: 3px;
-webkit-border-radius: 3px;
border-radius: 3px;
}

.wp-caption img {
margin: 0;
padding: 0;
border: 0 none;
}

.wp-caption p.wp-caption-text {
font-size: 11px;
line-height: 17px;
padding: 0 4px 5px;
margin: 0;
}

.sticky {
background: steelblue;
border-top: 4px solid red;
}

li.bypostauthor {
background: #f3f3f3;
}[/css]

参考リンク
CSS - WordPress Codex 日本語版

コメントを残す コメントをキャンセル

メールアドレスが公開されることはありません。 が付いている欄は必須項目です