Warning: Use of undefined constant NONCE_SALTエラーの解決方法


Warning: Use of undefined constant NONCE_SALT – assumed ‘NONCE_SALT’ (this will throw an Error in a future version of PHP) in /xxx/wordpress/wp-content/plugins/smart-slider-3/Nextend/SmartSlider3/Platform/WordPress/Shortcode/Shortcode.php on line 248


 * Authentication unique keys and salts.
 * Change these to different unique phrases! You can generate these using
 * the {@link https://api.wordpress.org/secret-key/1.1/salt/ WordPress.org secret-key service}.
 * You can change these at any point in time to invalidate all existing cookies.
 * This will force all users to have to log in again.
 * @since 2.6.0

define('AUTH_KEY',         'put your unique phrase here');
define('SECURE_AUTH_KEY',  'put your unique phrase here');
define('LOGGED_IN_KEY',    'put your unique phrase here');
define('NONCE_KEY',        'put your unique phrase here');
define('AUTH_SALT',        'put your unique phrase here');
define('SECURE_AUTH_SALT', 'put your unique phrase here');
define('LOGGED_IN_SALT',   'put your unique phrase here');
define('NONCE_SALT',       'put your unique phrase here');




‘put your unique phrase here’には、一意の文字列が入ります。文字列は以下のリンクからWordPress APIで取得して、コピー&ペーストで問題ありません。