wordpress で定義されている定数を調べてみました。
検索方法は、単純に wordpress を展開したディレクトリで find * | xargs grep 'define('
を実行した結果です。wordpress 3.04 日本語版、インストール前の段階(wp-config.php は無く、同梱の wp-config-sample.php のデータ)です。
最新情報は、WordPressで定義されている定数 - 「WordPressユーザーのためのPHP入門 はじめから、ていねいに。」サポートページをごらんください。
index.php:define('WP_USE_THEMES', true); wp-activate.php:define( "WP_INSTALLING", true ); wp-admin/import.php:define('WP_LOAD_IMPORTERS', true); wp-admin/async-upload.php:define('WP_ADMIN', true); wp-admin/admin.php: define('WP_ADMIN', TRUE); wp-admin/admin.php: define('WP_LOAD_IMPORTERS', true); wp-admin/admin.php: define('WP_IMPORTING', true); wp-admin/admin-ajax.php:define('DOING_AJAX', true); wp-admin/admin-ajax.php:define('WP_ADMIN', true); wp-admin/admin-ajax.php: define( 'DOING_AUTOSAVE', true ); wp-admin/admin-ajax.php: define('WP_IMPORTING', true); wp-admin/gears-manifest.php:define( 'ABSPATH', dirname(dirname(__FILE__)) . '/' ); wp-admin/install.php:define( 'WP_INSTALLING', true ); wp-admin/plugins.php: $description = '<p><strong>' . $dropins[ $plugin_file ][0] . ' <span class="attention">' . __('Inactive:') . '</span></strong> ' . sprintf( __( 'Requires <code>%s</code> in <code>wp-config.php</code>.' ), "define('" . $dropins[ $plugin_file ][1] . "', true);" ) . '</p>'; wp-admin/network.php:define( 'WP_NETWORK_ADMIN_PAGE', true ); wp-admin/network.php:define( 'MULTISITE', true ); wp-admin/network.php:define( 'SUBDOMAIN_INSTALL', <?php echo $subdomain_install ? 'true' : 'false'; ?> ); wp-admin/network.php:define( 'DOMAIN_CURRENT_SITE', '<?php echo $hostname; ?>' ); wp-admin/network.php:define( 'PATH_CURRENT_SITE', '<?php echo $base; ?>' ); wp-admin/network.php:define( 'SITE_ID_CURRENT_SITE', 1 ); wp-admin/network.php:define( 'BLOG_ID_CURRENT_SITE', 1 );</textarea> wp-admin/network.php: echo "ndefine( '$c', '$v' );"; wp-admin/user-edit.php: define( 'IS_PROFILE_PAGE', ( $user_id == $current_user->ID ) ); wp-admin/profile.php:define('IS_PROFILE_PAGE', true); wp-admin/admin-post.php:define('WP_ADMIN', true); wp-admin/load-scripts.php:define( 'ABSPATH', dirname(dirname(__FILE__)) . '/' ); wp-admin/load-scripts.php:define( 'WPINC', 'wp-includes' ); wp-admin/setup-config.php:define('WP_INSTALLING', true); wp-admin/setup-config.php:define('WP_SETUP_CONFIG', true); wp-admin/setup-config.php:define('ABSPATH', dirname(dirname(__FILE__)).'/'); wp-admin/setup-config.php:define('WPINC', 'wp-includes'); wp-admin/setup-config.php:define('WP_CONTENT_DIR', ABSPATH . 'wp-content'); wp-admin/setup-config.php:define('WP_DEBUG', false); wp-admin/setup-config.php: define('DB_NAME', $dbname); wp-admin/setup-config.php: define('DB_USER', $uname); wp-admin/setup-config.php: define('DB_PASSWORD', $passwrd); wp-admin/setup-config.php: define('DB_HOST', $dbhost); wp-admin/setup-config.php: case "define('DB_NAME'": wp-admin/setup-config.php: case "define('DB_USER'": wp-admin/setup-config.php: case "define('DB_PASSW": wp-admin/setup-config.php: case "define('DB_HOST'": wp-admin/setup-config.php: case "define('AUTH_KEY": wp-admin/setup-config.php: case "define('SECURE_A": wp-admin/setup-config.php: case "define('LOGGED_I": wp-admin/setup-config.php: case "define('NONCE_KE": wp-admin/setup-config.php: case "define('AUTH_SAL": wp-admin/setup-config.php: case "define('SECURE_A": wp-admin/setup-config.php: case "define('LOGGED_I": wp-admin/setup-config.php: case "define('NONCE_SA": wp-admin/maint/repair.php:define('WP_REPAIRING', true); wp-admin/maint/repair.php: echo '<p>'.__('To allow use of this page to automatically repair database problems, please add the following line to your wp-config.php file. Once this line is added to your config, reload this page.')."</p><code>define('WP_ALLOW_REPAIR', true);</code>"; wp-admin/maint/repair.php: echo '<p>'.__('Repairs complete. Please remove the following line from wp-config.php to prevent this page from being used by unauthorized users.')."</p><code>define('WP_ALLOW_REPAIR', true);</code>"; wp-admin/load-styles.php:define( 'ABSPATH', dirname(dirname(__FILE__)) . '/' ); wp-admin/load-styles.php:define( 'WPINC', 'wp-includes' ); wp-admin/upgrade.php:define( 'WP_INSTALLING', true ); wp-admin/includes/file.php: define('FS_CONNECT_TIMEOUT', 30); wp-admin/includes/file.php: define('FS_TIMEOUT', 30); wp-admin/includes/file.php: define('FS_CHMOD_DIR', 0755 ); wp-admin/includes/file.php: define('FS_CHMOD_FILE', 0644 ); wp-admin/includes/export.php:define('WXR_VERSION', '1.0'); wp-admin/includes/ms.php: $out .= "define( '$key', '" . esc_html( wp_generate_password( 64, true, true ) ) . "' );<br />"; wp-admin/includes/class-ftp.php:if(!defined('CRLF')) define('CRLF',"rn"); wp-admin/includes/class-ftp.php:if(!defined("FTP_AUTOASCII")) define("FTP_AUTOASCII", -1); wp-admin/includes/class-ftp.php:if(!defined("FTP_BINARY")) define("FTP_BINARY", 1); wp-admin/includes/class-ftp.php:if(!defined("FTP_ASCII")) define("FTP_ASCII", 0); wp-admin/includes/class-ftp.php:if(!defined('FTP_FORCE')) define('FTP_FORCE', true); wp-admin/includes/class-ftp.php:define('FTP_OS_Unix','u'); wp-admin/includes/class-ftp.php:define('FTP_OS_Windows','w'); wp-admin/includes/class-ftp.php:define('FTP_OS_Mac','m'); wp-admin/includes/class-wp-filesystem-ftpext.php: define('FS_TIMEOUT', 240); wp-admin/includes/class-pclzip.php: define( 'PCLZIP_READ_BLOCK_SIZE', 2048 ); wp-admin/includes/class-pclzip.php: //define( 'PCLZIP_SEPARATOR', ' ' ); wp-admin/includes/class-pclzip.php: define( 'PCLZIP_SEPARATOR', ',' ); wp-admin/includes/class-pclzip.php: define( 'PCLZIP_ERROR_EXTERNAL', 0 ); wp-admin/includes/class-pclzip.php: // define( 'PCLZIP_TEMPORARY_DIR', '/temp/' ); wp-admin/includes/class-pclzip.php: // define( 'PCLZIP_TEMPORARY_DIR', 'C:/Temp/' ); wp-admin/includes/class-pclzip.php: define( 'PCLZIP_TEMPORARY_DIR', '' ); wp-admin/includes/class-pclzip.php: // define( 'PCLZIP_TEMPORARY_FILE_RATIO', 0.5 ); wp-admin/includes/class-pclzip.php: define( 'PCLZIP_TEMPORARY_FILE_RATIO', 0.47 ); wp-admin/includes/class-pclzip.php: define( 'PCLZIP_ERR_USER_ABORTED', 2 ); wp-admin/includes/class-pclzip.php: define( 'PCLZIP_ERR_NO_ERROR', 0 ); wp-admin/includes/class-pclzip.php: define( 'PCLZIP_ERR_WRITE_OPEN_FAIL', -1 ); wp-admin/includes/class-pclzip.php: define( 'PCLZIP_ERR_READ_OPEN_FAIL', -2 ); wp-admin/includes/class-pclzip.php: define( 'PCLZIP_ERR_INVALID_PARAMETER', -3 ); wp-admin/includes/class-pclzip.php: define( 'PCLZIP_ERR_MISSING_FILE', -4 ); wp-admin/includes/class-pclzip.php: define( 'PCLZIP_ERR_FILENAME_TOO_LONG', -5 ); wp-admin/includes/class-pclzip.php: define( 'PCLZIP_ERR_INVALID_ZIP', -6 ); wp-admin/includes/class-pclzip.php: define( 'PCLZIP_ERR_BAD_EXTRACTED_FILE', -7 ); wp-admin/includes/class-pclzip.php: define( 'PCLZIP_ERR_DIR_CREATE_FAIL', -8 ); wp-admin/includes/class-pclzip.php: define( 'PCLZIP_ERR_BAD_EXTENSION', -9 ); wp-admin/includes/class-pclzip.php: define( 'PCLZIP_ERR_BAD_FORMAT', -10 ); wp-admin/includes/class-pclzip.php: define( 'PCLZIP_ERR_DELETE_FILE_FAIL', -11 ); wp-admin/includes/class-pclzip.php: define( 'PCLZIP_ERR_RENAME_FILE_FAIL', -12 ); wp-admin/includes/class-pclzip.php: define( 'PCLZIP_ERR_BAD_CHECKSUM', -13 ); wp-admin/includes/class-pclzip.php: define( 'PCLZIP_ERR_INVALID_ARCHIVE_ZIP', -14 ); wp-admin/includes/class-pclzip.php: define( 'PCLZIP_ERR_MISSING_OPTION_VALUE', -15 ); wp-admin/includes/class-pclzip.php: define( 'PCLZIP_ERR_INVALID_OPTION_VALUE', -16 ); wp-admin/includes/class-pclzip.php: define( 'PCLZIP_ERR_ALREADY_A_DIRECTORY', -17 ); wp-admin/includes/class-pclzip.php: define( 'PCLZIP_ERR_UNSUPPORTED_COMPRESSION', -18 ); wp-admin/includes/class-pclzip.php: define( 'PCLZIP_ERR_UNSUPPORTED_ENCRYPTION', -19 ); wp-admin/includes/class-pclzip.php: define( 'PCLZIP_ERR_INVALID_ATTRIBUTE_VALUE', -20 ); wp-admin/includes/class-pclzip.php: define( 'PCLZIP_ERR_DIRECTORY_RESTRICTION', -21 ); wp-admin/includes/class-pclzip.php: define( 'PCLZIP_OPT_PATH', 77001 ); wp-admin/includes/class-pclzip.php: define( 'PCLZIP_OPT_ADD_PATH', 77002 ); wp-admin/includes/class-pclzip.php: define( 'PCLZIP_OPT_REMOVE_PATH', 77003 ); wp-admin/includes/class-pclzip.php: define( 'PCLZIP_OPT_REMOVE_ALL_PATH', 77004 ); wp-admin/includes/class-pclzip.php: define( 'PCLZIP_OPT_SET_CHMOD', 77005 ); wp-admin/includes/class-pclzip.php: define( 'PCLZIP_OPT_EXTRACT_AS_STRING', 77006 ); wp-admin/includes/class-pclzip.php: define( 'PCLZIP_OPT_NO_COMPRESSION', 77007 ); wp-admin/includes/class-pclzip.php: define( 'PCLZIP_OPT_BY_NAME', 77008 ); wp-admin/includes/class-pclzip.php: define( 'PCLZIP_OPT_BY_INDEX', 77009 ); wp-admin/includes/class-pclzip.php: define( 'PCLZIP_OPT_BY_EREG', 77010 ); wp-admin/includes/class-pclzip.php: define( 'PCLZIP_OPT_BY_PREG', 77011 ); wp-admin/includes/class-pclzip.php: define( 'PCLZIP_OPT_COMMENT', 77012 ); wp-admin/includes/class-pclzip.php: define( 'PCLZIP_OPT_ADD_COMMENT', 77013 ); wp-admin/includes/class-pclzip.php: define( 'PCLZIP_OPT_PREPEND_COMMENT', 77014 ); wp-admin/includes/class-pclzip.php: define( 'PCLZIP_OPT_EXTRACT_IN_OUTPUT', 77015 ); wp-admin/includes/class-pclzip.php: define( 'PCLZIP_OPT_REPLACE_NEWER', 77016 ); wp-admin/includes/class-pclzip.php: define( 'PCLZIP_OPT_STOP_ON_ERROR', 77017 ); wp-admin/includes/class-pclzip.php: //define( 'PCLZIP_OPT_CRYPT', 77018 ); wp-admin/includes/class-pclzip.php: define( 'PCLZIP_OPT_EXTRACT_DIR_RESTRICTION', 77019 ); wp-admin/includes/class-pclzip.php: define( 'PCLZIP_OPT_TEMP_FILE_THRESHOLD', 77020 ); wp-admin/includes/class-pclzip.php: define( 'PCLZIP_OPT_ADD_TEMP_FILE_THRESHOLD', 77020 ); // alias wp-admin/includes/class-pclzip.php: define( 'PCLZIP_OPT_TEMP_FILE_ON', 77021 ); wp-admin/includes/class-pclzip.php: define( 'PCLZIP_OPT_ADD_TEMP_FILE_ON', 77021 ); // alias wp-admin/includes/class-pclzip.php: define( 'PCLZIP_OPT_TEMP_FILE_OFF', 77022 ); wp-admin/includes/class-pclzip.php: define( 'PCLZIP_OPT_ADD_TEMP_FILE_OFF', 77022 ); // alias wp-admin/includes/class-pclzip.php: define( 'PCLZIP_ATT_FILE_NAME', 79001 ); wp-admin/includes/class-pclzip.php: define( 'PCLZIP_ATT_FILE_NEW_SHORT_NAME', 79002 ); wp-admin/includes/class-pclzip.php: define( 'PCLZIP_ATT_FILE_NEW_FULL_NAME', 79003 ); wp-admin/includes/class-pclzip.php: define( 'PCLZIP_ATT_FILE_MTIME', 79004 ); wp-admin/includes/class-pclzip.php: define( 'PCLZIP_ATT_FILE_CONTENT', 79005 ); wp-admin/includes/class-pclzip.php: define( 'PCLZIP_ATT_FILE_COMMENT', 79006 ); wp-admin/includes/class-pclzip.php: define( 'PCLZIP_CB_PRE_EXTRACT', 78001 ); wp-admin/includes/class-pclzip.php: define( 'PCLZIP_CB_POST_EXTRACT', 78002 ); wp-admin/includes/class-pclzip.php: define( 'PCLZIP_CB_PRE_ADD', 78003 ); wp-admin/includes/class-pclzip.php: define( 'PCLZIP_CB_POST_ADD', 78004 ); wp-admin/includes/class-pclzip.php: define( 'PCLZIP_CB_PRE_LIST', 78005 ); wp-admin/includes/class-pclzip.php: define( 'PCLZIP_CB_POST_LIST', 78006 ); wp-admin/includes/class-pclzip.php: define( 'PCLZIP_CB_PRE_DELETE', 78007 ); wp-admin/includes/class-pclzip.php: define( 'PCLZIP_CB_POST_DELETE', 78008 ); wp-admin/includes/class-wp-importer.php: // Or define( 'WP_IMPORTING', true ); wp-admin/includes/plugin.php: define('WP_UNINSTALL_PLUGIN', $file); wp-app.php:define('APP_REQUEST', true); wp-config-sample.php:define('DB_NAME', 'database_name_here'); wp-config-sample.php:define('DB_USER', 'username_here'); wp-config-sample.php:define('DB_PASSWORD', 'password_here'); wp-config-sample.php:define('DB_HOST', 'localhost'); wp-config-sample.php:define('DB_CHARSET', 'utf8'); wp-config-sample.php:define('DB_COLLATE', ''); wp-config-sample.php:define('AUTH_KEY', 'put your unique phrase here'); wp-config-sample.php:define('SECURE_AUTH_KEY', 'put your unique phrase here'); wp-config-sample.php:define('LOGGED_IN_KEY', 'put your unique phrase here'); wp-config-sample.php:define('NONCE_KEY', 'put your unique phrase here'); wp-config-sample.php:define('AUTH_SALT', 'put your unique phrase here'); wp-config-sample.php:define('SECURE_AUTH_SALT', 'put your unique phrase here'); wp-config-sample.php:define('LOGGED_IN_SALT', 'put your unique phrase here'); wp-config-sample.php:define('NONCE_SALT', 'put your unique phrase here'); wp-config-sample.php:define('WP_DEBUG', false); wp-config-sample.php: define('ABSPATH', dirname(__FILE__) . '/'); wp-content/plugins/akismet/akismet.php:define('AKISMET_VERSION', '2.4.0'); wp-content/themes/twentyten/functions.php: define( 'HEADER_TEXTCOLOR', '' ); wp-content/themes/twentyten/functions.php: define( 'HEADER_IMAGE', '%s/images/headers/path.jpg' ); wp-content/themes/twentyten/functions.php: define( 'HEADER_IMAGE_WIDTH', apply_filters( 'twentyten_header_image_width', 940 ) ); wp-content/themes/twentyten/functions.php: define( 'HEADER_IMAGE_HEIGHT', apply_filters( 'twentyten_header_image_height', 198 ) ); wp-content/themes/twentyten/functions.php: define( 'NO_HEADER_TEXT', true ); wp-cron.php:define('DOING_CRON', true); wp-includes/class-simplepie.php:define('SIMPLEPIE_NAME', 'SimplePie'); wp-includes/class-simplepie.php:define('SIMPLEPIE_VERSION', '1.2'); wp-includes/class-simplepie.php:define('SIMPLEPIE_BUILD', '20090627192103'); wp-includes/class-simplepie.php:define('SIMPLEPIE_URL', 'http://simplepie.org'); wp-includes/class-simplepie.php:define('SIMPLEPIE_USERAGENT', SIMPLEPIE_NAME . '/' . SIMPLEPIE_VERSION . ' (Feed Parser; ' . SIMPLEPIE_URL . '; Allow like Gecko) Build/' . SIMPLEPIE_BUILD); wp-includes/class-simplepie.php:define('SIMPLEPIE_LINKBACK', '<a href="' . SIMPLEPIE_URL . '" title="' . SIMPLEPIE_NAME . ' ' . SIMPLEPIE_VERSION . '">' . SIMPLEPIE_NAME . '</a>'); wp-includes/class-simplepie.php:define('SIMPLEPIE_LOCATOR_NONE', 0); wp-includes/class-simplepie.php:define('SIMPLEPIE_LOCATOR_AUTODISCOVERY', 1); wp-includes/class-simplepie.php:define('SIMPLEPIE_LOCATOR_LOCAL_EXTENSION', 2); wp-includes/class-simplepie.php:define('SIMPLEPIE_LOCATOR_LOCAL_BODY', 4); wp-includes/class-simplepie.php:define('SIMPLEPIE_LOCATOR_REMOTE_EXTENSION', 8); wp-includes/class-simplepie.php:define('SIMPLEPIE_LOCATOR_REMOTE_BODY', 16); wp-includes/class-simplepie.php:define('SIMPLEPIE_LOCATOR_ALL', 31); wp-includes/class-simplepie.php:define('SIMPLEPIE_TYPE_NONE', 0); wp-includes/class-simplepie.php:define('SIMPLEPIE_TYPE_RSS_090', 1); wp-includes/class-simplepie.php:define('SIMPLEPIE_TYPE_RSS_091_NETSCAPE', 2); wp-includes/class-simplepie.php:define('SIMPLEPIE_TYPE_RSS_091_USERLAND', 4); wp-includes/class-simplepie.php:define('SIMPLEPIE_TYPE_RSS_091', 6); wp-includes/class-simplepie.php:define('SIMPLEPIE_TYPE_RSS_092', 8); wp-includes/class-simplepie.php:define('SIMPLEPIE_TYPE_RSS_093', 16); wp-includes/class-simplepie.php:define('SIMPLEPIE_TYPE_RSS_094', 32); wp-includes/class-simplepie.php:define('SIMPLEPIE_TYPE_RSS_10', 64); wp-includes/class-simplepie.php:define('SIMPLEPIE_TYPE_RSS_20', 128); wp-includes/class-simplepie.php:define('SIMPLEPIE_TYPE_RSS_RDF', 65); wp-includes/class-simplepie.php:define('SIMPLEPIE_TYPE_RSS_SYNDICATION', 190); wp-includes/class-simplepie.php:define('SIMPLEPIE_TYPE_RSS_ALL', 255); wp-includes/class-simplepie.php:define('SIMPLEPIE_TYPE_ATOM_03', 256); wp-includes/class-simplepie.php:define('SIMPLEPIE_TYPE_ATOM_10', 512); wp-includes/class-simplepie.php:define('SIMPLEPIE_TYPE_ATOM_ALL', 768); wp-includes/class-simplepie.php:define('SIMPLEPIE_TYPE_ALL', 1023); wp-includes/class-simplepie.php:define('SIMPLEPIE_CONSTRUCT_NONE', 0); wp-includes/class-simplepie.php:define('SIMPLEPIE_CONSTRUCT_TEXT', 1); wp-includes/class-simplepie.php:define('SIMPLEPIE_CONSTRUCT_HTML', 2); wp-includes/class-simplepie.php:define('SIMPLEPIE_CONSTRUCT_XHTML', 4); wp-includes/class-simplepie.php:define('SIMPLEPIE_CONSTRUCT_BASE64', 8); wp-includes/class-simplepie.php:define('SIMPLEPIE_CONSTRUCT_IRI', 16); wp-includes/class-simplepie.php:define('SIMPLEPIE_CONSTRUCT_MAYBE_HTML', 32); wp-includes/class-simplepie.php:define('SIMPLEPIE_CONSTRUCT_ALL', 63); wp-includes/class-simplepie.php:define('SIMPLEPIE_SAME_CASE', 1); wp-includes/class-simplepie.php:define('SIMPLEPIE_LOWERCASE', 2); wp-includes/class-simplepie.php:define('SIMPLEPIE_UPPERCASE', 4); wp-includes/class-simplepie.php:define('SIMPLEPIE_PCRE_HTML_ATTRIBUTE', '((?:[x09x0Ax0Bx0Cx0Dx20]+[^x09x0Ax0Bx0Cx0Dx20x2Fx3E][^x09x0Ax0Bx0Cx0Dx20x2Fx3Dx3E]*(?:[x09x0Ax0Bx0Cx0Dx20]*=[x09x0Ax0Bx0Cx0Dx20]*(?:"(?:[^"]*)"|'(?:[^']*)'|(?:[^x09x0Ax0Bx0Cx0Dx20x22x27x3E][^x09x0Ax0Bx0Cx0Dx20x3E]*)?))?)*)[x09x0Ax0Bx0Cx0Dx20]*'); wp-includes/class-simplepie.php:define('SIMPLEPIE_PCRE_XML_ATTRIBUTE', '((?:s+(?:(?:[^s:]+:)?[^s:]+)s*=s*(?:"(?:[^"]*)"|'(?:[^']*)'))*)s*'); wp-includes/class-simplepie.php:define('SIMPLEPIE_NAMESPACE_XML', 'http://www.w3.org/XML/1998/namespace'); wp-includes/class-simplepie.php:define('SIMPLEPIE_NAMESPACE_ATOM_10', 'http://www.w3.org/2005/Atom'); wp-includes/class-simplepie.php:define('SIMPLEPIE_NAMESPACE_ATOM_03', 'http://purl.org/atom/ns#'); wp-includes/class-simplepie.php:define('SIMPLEPIE_NAMESPACE_RDF', 'http://www.w3.org/1999/02/22-rdf-syntax-ns#'); wp-includes/class-simplepie.php:define('SIMPLEPIE_NAMESPACE_RSS_090', 'http://my.netscape.com/rdf/simple/0.9/'); wp-includes/class-simplepie.php:define('SIMPLEPIE_NAMESPACE_RSS_10', 'http://purl.org/rss/1.0/'); wp-includes/class-simplepie.php:define('SIMPLEPIE_NAMESPACE_RSS_10_MODULES_CONTENT', 'http://purl.org/rss/1.0/modules/content/'); wp-includes/class-simplepie.php:define('SIMPLEPIE_NAMESPACE_RSS_20', ''); wp-includes/class-simplepie.php:define('SIMPLEPIE_NAMESPACE_DC_10', 'http://purl.org/dc/elements/1.0/'); wp-includes/class-simplepie.php:define('SIMPLEPIE_NAMESPACE_DC_11', 'http://purl.org/dc/elements/1.1/'); wp-includes/class-simplepie.php:define('SIMPLEPIE_NAMESPACE_W3C_BASIC_GEO', 'http://www.w3.org/2003/01/geo/wgs84_pos#'); wp-includes/class-simplepie.php:define('SIMPLEPIE_NAMESPACE_GEORSS', 'http://www.georss.org/georss'); wp-includes/class-simplepie.php:define('SIMPLEPIE_NAMESPACE_MEDIARSS', 'http://search.yahoo.com/mrss/'); wp-includes/class-simplepie.php:define('SIMPLEPIE_NAMESPACE_MEDIARSS_WRONG', 'http://search.yahoo.com/mrss'); wp-includes/class-simplepie.php:define('SIMPLEPIE_NAMESPACE_ITUNES', 'http://www.itunes.com/dtds/podcast-1.0.dtd'); wp-includes/class-simplepie.php:define('SIMPLEPIE_NAMESPACE_XHTML', 'http://www.w3.org/1999/xhtml'); wp-includes/class-simplepie.php:define('SIMPLEPIE_IANA_LINK_RELATIONS_REGISTRY', 'http://www.iana.org/assignments/relation/'); wp-includes/class-simplepie.php:define('SIMPLEPIE_PHP5', version_compare(PHP_VERSION, '5.0.0', '>=')); wp-includes/class-simplepie.php:define('SIMPLEPIE_FILE_SOURCE_NONE', 0); wp-includes/class-simplepie.php:define('SIMPLEPIE_FILE_SOURCE_REMOTE', 1); wp-includes/class-simplepie.php:define('SIMPLEPIE_FILE_SOURCE_LOCAL', 2); wp-includes/class-simplepie.php:define('SIMPLEPIE_FILE_SOURCE_FSOCKOPEN', 4); wp-includes/class-simplepie.php:define('SIMPLEPIE_FILE_SOURCE_CURL', 8); wp-includes/class-simplepie.php:define('SIMPLEPIE_FILE_SOURCE_FILE_GET_CONTENTS', 16); wp-includes/comment-template.php: define('COMMENTS_TEMPLATE', true); wp-includes/class-http.php: * define('WP_PROXY_HOST', '192.168.84.101'); wp-includes/class-http.php: * define('WP_PROXY_PORT', '8080'); wp-includes/class-http.php: * define('WP_PROXY_BYPASS_HOSTS', 'localhost, www.example.com'); wp-includes/js/tinymce/plugins/spellchecker/classes/utils/JSON.php:define('JSON_BOOL', 1); wp-includes/js/tinymce/plugins/spellchecker/classes/utils/JSON.php:define('JSON_INT', 2); wp-includes/js/tinymce/plugins/spellchecker/classes/utils/JSON.php:define('JSON_STR', 3); wp-includes/js/tinymce/plugins/spellchecker/classes/utils/JSON.php:define('JSON_FLOAT', 4); wp-includes/js/tinymce/plugins/spellchecker/classes/utils/JSON.php:define('JSON_NULL', 5); wp-includes/js/tinymce/plugins/spellchecker/classes/utils/JSON.php:define('JSON_START_OBJ', 6); wp-includes/js/tinymce/plugins/spellchecker/classes/utils/JSON.php:define('JSON_END_OBJ', 7); wp-includes/js/tinymce/plugins/spellchecker/classes/utils/JSON.php:define('JSON_START_ARRAY', 8); wp-includes/js/tinymce/plugins/spellchecker/classes/utils/JSON.php:define('JSON_END_ARRAY', 9); wp-includes/js/tinymce/plugins/spellchecker/classes/utils/JSON.php:define('JSON_KEY', 10); wp-includes/js/tinymce/plugins/spellchecker/classes/utils/JSON.php:define('JSON_SKIP', 11); wp-includes/js/tinymce/plugins/spellchecker/classes/utils/JSON.php:define('JSON_IN_ARRAY', 30); wp-includes/js/tinymce/plugins/spellchecker/classes/utils/JSON.php:define('JSON_IN_OBJECT', 40); wp-includes/js/tinymce/plugins/spellchecker/classes/utils/JSON.php:define('JSON_IN_BETWEEN', 50); wp-includes/js/tinymce/plugins/spellchecker/classes/utils/Logger.php:define('MC_LOGGER_DEBUG', 0); wp-includes/js/tinymce/plugins/spellchecker/classes/utils/Logger.php:define('MC_LOGGER_INFO', 10); wp-includes/js/tinymce/plugins/spellchecker/classes/utils/Logger.php:define('MC_LOGGER_WARN', 20); wp-includes/js/tinymce/plugins/spellchecker/classes/utils/Logger.php:define('MC_LOGGER_ERROR', 30); wp-includes/js/tinymce/plugins/spellchecker/classes/utils/Logger.php:define('MC_LOGGER_FATAL', 40); wp-includes/js/prototype.js: function define(D) { wp-includes/default-constants.php: define('WP_MEMORY_LIMIT', '64M'); wp-includes/default-constants.php: define('WP_MEMORY_LIMIT', '32M'); wp-includes/default-constants.php: define( 'WP_CONTENT_DIR', ABSPATH . 'wp-content' ); // no trailing slash, full paths only - WP_CONTENT_URL is defined further down wp-includes/default-constants.php: // Add define('WP_DEBUG', true); to wp-config.php to enable display of notices during development. wp-includes/default-constants.php: define( 'WP_DEBUG', false ); wp-includes/default-constants.php: // Add define('WP_DEBUG_DISPLAY', false); to wp-config.php use the globally configured setting for display_errors and not force errors to be displayed. wp-includes/default-constants.php: define( 'WP_DEBUG_DISPLAY', true ); wp-includes/default-constants.php: // Add define('WP_DEBUG_LOG', true); to enable error logging to wp-content/debug.log. wp-includes/default-constants.php: define('WP_DEBUG_LOG', false); wp-includes/default-constants.php: define('WP_CACHE', false); wp-includes/default-constants.php: define('MEDIA_TRASH', false); wp-includes/default-constants.php: define('SHORTINIT', false); wp-includes/default-constants.php: define( 'WP_CONTENT_URL', get_option('siteurl') . '/wp-content'); // full url - WP_CONTENT_DIR is defined further up wp-includes/default-constants.php: define( 'WP_PLUGIN_DIR', WP_CONTENT_DIR . '/plugins' ); // full path, no trailing slash wp-includes/default-constants.php: define( 'WP_PLUGIN_URL', WP_CONTENT_URL . '/plugins' ); // full url, no trailing slash wp-includes/default-constants.php: define( 'PLUGINDIR', 'wp-content/plugins' ); // Relative to ABSPATH. For back compat. wp-includes/default-constants.php: define( 'WPMU_PLUGIN_DIR', WP_CONTENT_DIR . '/mu-plugins' ); // full path, no trailing slash wp-includes/default-constants.php: define( 'WPMU_PLUGIN_URL', WP_CONTENT_URL . '/mu-plugins' ); // full url, no trailing slash wp-includes/default-constants.php: define( 'MUPLUGINDIR', 'wp-content/mu-plugins' ); // Relative to ABSPATH. For back compat. wp-includes/default-constants.php: define( 'COOKIEHASH', md5( $siteurl ) ); wp-includes/default-constants.php: define( 'COOKIEHASH', '' ); wp-includes/default-constants.php: define('USER_COOKIE', 'wordpressuser_' . COOKIEHASH); wp-includes/default-constants.php: define('PASS_COOKIE', 'wordpresspass_' . COOKIEHASH); wp-includes/default-constants.php: define('AUTH_COOKIE', 'wordpress_' . COOKIEHASH); wp-includes/default-constants.php: define('SECURE_AUTH_COOKIE', 'wordpress_sec_' . COOKIEHASH); wp-includes/default-constants.php: define('LOGGED_IN_COOKIE', 'wordpress_logged_in_' . COOKIEHASH); wp-includes/default-constants.php: define('TEST_COOKIE', 'wordpress_test_cookie'); wp-includes/default-constants.php: define('COOKIEPATH', preg_replace('|https?://[^/]+|i', '', get_option('home') . '/' ) ); wp-includes/default-constants.php: define('SITECOOKIEPATH', preg_replace('|https?://[^/]+|i', '', get_option('siteurl') . '/' ) ); wp-includes/default-constants.php: define( 'ADMIN_COOKIE_PATH', SITECOOKIEPATH . 'wp-admin' ); wp-includes/default-constants.php: define( 'PLUGINS_COOKIE_PATH', preg_replace('|https?://[^/]+|i', '', WP_PLUGIN_URL) ); wp-includes/default-constants.php: define('COOKIE_DOMAIN', false); wp-includes/default-constants.php: define('FORCE_SSL_ADMIN', false); wp-includes/default-constants.php: define('FORCE_SSL_LOGIN', false); wp-includes/default-constants.php: define( 'AUTOSAVE_INTERVAL', 60 ); wp-includes/default-constants.php: define( 'EMPTY_TRASH_DAYS', 30 ); wp-includes/default-constants.php: define('WP_POST_REVISIONS', true); wp-includes/default-constants.php: define('TEMPLATEPATH', get_template_directory()); wp-includes/default-constants.php: define('STYLESHEETPATH', get_stylesheet_directory()); wp-includes/default-constants.php: define( 'WP_DEFAULT_THEME', 'twentyten' ); wp-includes/kses.php: define( 'CUSTOM_TAGS', false ); wp-includes/rss.php:define('RSS', 'RSS'); wp-includes/rss.php:define('ATOM', 'Atom'); wp-includes/rss.php:define('MAGPIE_USER_AGENT', 'WordPress/' . $GLOBALS['wp_version']); wp-includes/rss.php: define('MAGPIE_INITALIZED', 1); wp-includes/rss.php: define('MAGPIE_CACHE_ON', 1); wp-includes/rss.php: define('MAGPIE_CACHE_DIR', './cache'); wp-includes/rss.php: define('MAGPIE_CACHE_AGE', 60*60); // one hour wp-includes/rss.php: define('MAGPIE_CACHE_FRESH_ONLY', 0); wp-includes/rss.php: define('MAGPIE_DEBUG', 0); wp-includes/rss.php: define('MAGPIE_USER_AGENT', $ua); wp-includes/rss.php: define('MAGPIE_FETCH_TIME_OUT', 2); // 2 second timeout wp-includes/rss.php: define('MAGPIE_USE_GZIP', true); wp-includes/ms-default-constants.php: define( 'UPLOADBLOGSDIR', 'wp-content/blogs.dir' ); wp-includes/ms-default-constants.php: define( 'UPLOADS', UPLOADBLOGSDIR . "/{$wpdb->blogid}/files/" ); wp-includes/ms-default-constants.php: define( 'BLOGUPLOADDIR', WP_CONTENT_DIR . "/blogs.dir/{$wpdb->blogid}/files/" ); wp-includes/ms-default-constants.php: define( 'COOKIEPATH', $current_site->path ); wp-includes/ms-default-constants.php: define( 'SITECOOKIEPATH', $current_site->path ); wp-includes/ms-default-constants.php: define( 'ADMIN_COOKIE_PATH', SITECOOKIEPATH ); wp-includes/ms-default-constants.php: define( 'ADMIN_COOKIE_PATH', SITECOOKIEPATH . 'wp-admin' ); wp-includes/ms-default-constants.php: define('COOKIE_DOMAIN', '.' . $current_site->cookie_domain); wp-includes/ms-default-constants.php: define('COOKIE_DOMAIN', '.' . $current_site->domain); wp-includes/ms-default-constants.php: define( 'WPMU_SENDFILE', false ); wp-includes/ms-default-constants.php: define( 'WPMU_ACCEL_REDIRECT', false ); wp-includes/ms-default-constants.php: _deprecated_argument( 'define()', '3.0', $vhost_deprecated ); wp-includes/ms-default-constants.php: define( 'VHOST', SUBDOMAIN_INSTALL ? 'yes' : 'no' ); wp-includes/ms-default-constants.php: define( 'SUBDOMAIN_INSTALL', 'yes' == VHOST ); wp-includes/ms-default-constants.php: define( 'SUBDOMAIN_INSTALL', false ); wp-includes/ms-default-constants.php: define( 'VHOST', 'no' ); wp-includes/load.php: * defined in wp-config.php. Example: <code> define( 'WP_DEBUG', true ); </code> wp-includes/load.php: define( 'WP_LANG_DIR', WP_CONTENT_DIR . '/languages' ); // no leading slash, no trailing slash, full path, not relative to ABSPATH wp-includes/load.php: define( 'LANGDIR', 'wp-content/languages' ); wp-includes/load.php: define( 'WP_LANG_DIR', ABSPATH . WPINC . '/languages' ); // no leading slash, no trailing slash, full path, not relative to ABSPATH wp-includes/load.php: define( 'LANGDIR', WPINC . '/languages' ); wp-includes/ms-functions.php: define( 'WP_INSTALLING', true ); wp-includes/rewrite.php:define('EP_NONE', 0); wp-includes/rewrite.php:define('EP_PERMALINK', 1); wp-includes/rewrite.php:define('EP_ATTACHMENT', 2); wp-includes/rewrite.php:define('EP_DATE', 4); wp-includes/rewrite.php:define('EP_YEAR', 8); wp-includes/rewrite.php:define('EP_MONTH', 16); wp-includes/rewrite.php:define('EP_DAY', 32); wp-includes/rewrite.php:define('EP_ROOT', 64); wp-includes/rewrite.php:define('EP_COMMENTS', 128); wp-includes/rewrite.php:define('EP_SEARCH', 256); wp-includes/rewrite.php:define('EP_CATEGORIES', 512); wp-includes/rewrite.php:define('EP_TAGS', 1024); wp-includes/rewrite.php:define('EP_AUTHORS', 2048); wp-includes/rewrite.php:define('EP_PAGES', 4096); wp-includes/rewrite.php:define('EP_ALL', 8191); wp-includes/pomo/po.php:define('PO_MAX_LINE_LEN', 79); wp-includes/pluggable.php: * define('SECRET_KEY', 'mAry1HadA15|/|b17w55w1t3asSn09w'); wp-includes/class-json.php:define('SERVICES_JSON_SLICE', 1); wp-includes/class-json.php:define('SERVICES_JSON_IN_STR', 2); wp-includes/class-json.php:define('SERVICES_JSON_IN_ARR', 3); wp-includes/class-json.php:define('SERVICES_JSON_IN_OBJ', 4); wp-includes/class-json.php:define('SERVICES_JSON_IN_CMT', 5); wp-includes/class-json.php:define('SERVICES_JSON_LOOSE_TYPE', 16); wp-includes/class-json.php:define('SERVICES_JSON_SUPPRESS_ERRORS', 32); wp-includes/wp-db.php:define( 'EZSQL_VERSION', 'WP1.25' ); wp-includes/wp-db.php:define( 'OBJECT', 'OBJECT', true ); wp-includes/wp-db.php:define( 'OBJECT_K', 'OBJECT_K' ); wp-includes/wp-db.php:define( 'ARRAY_A', 'ARRAY_A' ); wp-includes/wp-db.php:define( 'ARRAY_N', 'ARRAY_N' ); wp-includes/ms-files.php:define( 'SHORTINIT', true ); wp-includes/script-loader.php: * define('SCRIPT_DEBUG', true); loads the development (non-minified) versions of all scripts and CSS, and disables compression and concatenation, wp-includes/script-loader.php: * define('CONCATENATE_SCRIPTS', false); disables compression and concatenation of scripts and CSS, wp-includes/script-loader.php: * define('COMPRESS_SCRIPTS', false); disables compression of scripts, wp-includes/script-loader.php: * define('COMPRESS_CSS', false); disables compression of CSS, wp-includes/script-loader.php: * define('ENFORCE_GZIP', true); forces gzip for compression (default is deflate). wp-load.php:define( 'ABSPATH', dirname(__FILE__) . '/' ); wp-mail.php: define('WP_MAIL_INTERVAL', 300); // 5 minutes wp-settings.php:define( 'WPINC', 'wp-includes' ); wp-settings.php: define( 'MULTISITE', false ); xmlrpc.php:define('XMLRPC_REQUEST', true);
定数を変更する場合、wordpress 本体を改造することになるケースが多いので、注意してください。自動アップグレード等でデフォルトに戻る可能性があります。