Log Deprecated Noticesインストールしましたが、修正方法がわかりません
-
テーマ作成初心者です。
Log Deprecated Noticesをインストールしたら、下記2点があがってきました。
見つかったのはよいものの、どのように修正すればよいのかわかりません。
どなたか、ご指導お願いいたします。1.Argument in add_theme_page()
Used in wp-content/themes/kotenhanagara/functions.php on line 305.2.Argument in current_user_can()
An admin menu page is using user levels instead of capabilities. There is likely a related log item with specifics.————————————————————–
ちなみに、functions.php 305行目:
add_theme_page(‘Custom header and footer’,’Header & Footer’,8,’custom_handf’,’kotenhanagara_fc_settings_page’);
4件の返信を表示中 - 1 - 4件目 (全4件中)
4件の返信を表示中 - 1 - 4件目 (全4件中)
- トピック「Log Deprecated Noticesインストールしましたが、修正方法がわかりません」には新たに返信することはできません。