$sql = "CREATE TABLE 'my_custom_table'(
id mediumint(9) NOT NULL AUTO_INCREMENT,
time datetime DEFAULT '0000-00-00 00:00:00' NOT NULL,
name tinytext NOT NULL,
text text NOT NULL,
url VARCHAR(55) DEFAULT '' NOT NULL,
UNIQUE KEY id (id)
);";
require_once( ABSPATH . 'wp-admin/includes/upgrade.php' );
dbDelta( $sql );
これは私のコードです。実行しようとするとエラーが発生します。my_custom_table
ただし、文字列を変数に置き換えると、$table_name = 'my_custom_table';
これは機能します。どうして??