/var/www/wordpress/wp-admin/includes/admin.php
/var/www/wordpress/wp-admin/includes/bookmark.php
/var/www/wordpress/wp-admin/includes/class-ftp-pure.php
/var/www/wordpress/wp-admin/includes/class-ftp-sockets.php
/var/www/wordpress/wp-admin/includes/class-ftp.php
/var/www/wordpress/wp-admin/includes/class-pclzip.php
/var/www/wordpress/wp-admin/includes/class-wp-filesystem-base.php
/var/www/wordpress/wp-admin/includes/class-wp-filesystem-direct.php
/var/www/wordpress/wp-admin/includes/class-wp-filesystem-ftpext.php
/var/www/wordpress/wp-admin/includes/class-wp-filesystem-ftpsockets.php
/var/www/wordpress/wp-admin/includes/class-wp-filesystem-ssh2.php
/var/www/wordpress/wp-admin/includes/class-wp-importer.php
/var/www/wordpress/wp-admin/includes/class-wp-upgrader.php
/var/www/wordpress/wp-admin/includes/comment.php
/var/www/wordpress/wp-admin/includes/continents-cities.php
/var/www/wordpress/wp-admin/includes/dashboard.php
/var/www/wordpress/wp-admin/includes/deprecated.php
/var/www/wordpress/wp-admin/includes/export.php
/var/www/wordpress/wp-admin/includes/file.php
/var/www/wordpress/wp-admin/includes/image-edit.php
/var/www/wordpress/wp-admin/includes/image.php
/var/www/wordpress/wp-admin/includes/import.php
/var/www/wordpress/wp-admin/includes/manifest.php
/var/www/wordpress/wp-admin/includes/media.php
/var/www/wordpress/wp-admin/includes/meta-boxes.php
/var/www/wordpress/wp-admin/includes/misc.php
/var/www/wordpress/wp-admin/includes/ms-deprecated.php
/var/www/wordpress/wp-admin/includes/ms.php
/var/www/wordpress/wp-admin/includes/nav-menu.php
/var/www/wordpress/wp-admin/includes/plugin-install.php
/var/www/wordpress/wp-admin/includes/plugin.php
/var/www/wordpress/wp-admin/includes/post.php
/var/www/wordpress/wp-admin/includes/schema.php
/var/www/wordpress/wp-admin/includes/taxonomy.php
/var/www/wordpress/wp-admin/includes/template.php
/var/www/wordpress/wp-admin/includes/theme-install.php
/var/www/wordpress/wp-admin/includes/theme.php
/var/www/wordpress/wp-admin/includes/update-core.php
/var/www/wordpress/wp-admin/includes/update.php
/var/www/wordpress/wp-admin/includes/upgrade.php
/var/www/wordpress/wp-admin/includes/user.php
/var/www/wordpress/wp-admin/includes/widgets.php
/var/www/wordpress/wp-admin/js/revisions-js.php
/var/www/wordpress/wp-admin/maint/repair.php
/var/www/wordpress/wp-admin/admin-ajax.php
/var/www/wordpress/wp-admin/admin-footer.php
/var/www/wordpress/wp-admin/admin-functions.php
/var/www/wordpress/wp-admin/admin-header.php
/var/www/wordpress/wp-admin/admin-post.php
/var/www/wordpress/wp-admin/admin.php
/var/www/wordpress/wp-admin/async-upload.php
/var/www/wordpress/wp-admin/comment.php
/var/www/wordpress/wp-admin/custom-background.php
/var/www/wordpress/wp-admin/custom-header.php
/var/www/wordpress/wp-admin/edit-attachment-rows.php
/var/www/wordpress/wp-admin/edit-comments.php
/var/www/wordpress/wp-admin/edit-form-advanced.php
/var/www/wordpress/wp-admin/edit-form-comment.php
/var/www/wordpress/wp-admin/edit-link-categories.php
/var/www/wordpress/wp-admin/edit-link-category-form.php
/var/www/wordpress/wp-admin/edit-link-form.php
/var/www/wordpress/wp-admin/edit-post-rows.php
/var/www/wordpress/wp-admin/edit-tag-form.php
/var/www/wordpress/wp-admin/edit-tags.php
/var/www/wordpress/wp-admin/edit.php
/var/www/wordpress/wp-admin/export.php
/var/www/wordpress/wp-admin/gears-manifest.php
/var/www/wordpress/wp-admin/import.php
/var/www/wordpress/wp-admin/index-extra.php
/var/www/wordpress/wp-admin/index.php
/var/www/wordpress/wp-admin/install-helper.php
/var/www/wordpress/wp-admin/install.php
/var/www/wordpress/wp-admin/link-add.php
/var/www/wordpress/wp-admin/link-category.php
/var/www/wordpress/wp-admin/link-manager.php
/var/www/wordpress/wp-admin/link-parse-opml.php
/var/www/wordpress/wp-admin/link.php
/var/www/wordpress/wp-admin/load-scripts.php
/var/www/wordpress/wp-admin/load-styles.php
/var/www/wordpress/wp-admin/media-new.php
/var/www/wordpress/wp-admin/media-upload.php
/var/www/wordpress/wp-admin/media.php
/var/www/wordpress/wp-admin/menu-header.php
/var/www/wordpress/wp-admin/menu.php
/var/www/wordpress/wp-admin/moderation.php
/var/www/wordpress/wp-admin/ms-admin.php
/var/www/wordpress/wp-admin/ms-delete-site.php
/var/www/wordpress/wp-admin/ms-edit.php
/var/www/wordpress/wp-admin/ms-options.php
/var/www/wordpress/wp-admin/ms-sites.php
/var/www/wordpress/wp-admin/ms-themes.php
/var/www/wordpress/wp-admin/ms-upgrade-network.php
/var/www/wordpress/wp-admin/ms-users.php
/var/www/wordpress/wp-admin/my-sites.php
/var/www/wordpress/wp-admin/nav-menus.php
/var/www/wordpress/wp-admin/network.php
/var/www/wordpress/wp-admin/options-discussion.php
/var/www/wordpress/wp-admin/options-general.php
/var/www/wordpress/wp-admin/options-head.php
/var/www/wordpress/wp-admin/options-media.php
/var/www/wordpress/wp-admin/options-permalink.php
/var/www/wordpress/wp-admin/options-privacy.php
/var/www/wordpress/wp-admin/options-reading.php
/var/www/wordpress/wp-admin/options-writing.php
/var/www/wordpress/wp-admin/options.php
/var/www/wordpress/wp-admin/plugin-editor.php
/var/www/wordpress/wp-admin/plugin-install.php
/var/www/wordpress/wp-admin/plugins.php
/var/www/wordpress/wp-admin/post-new.php
/var/www/wordpress/wp-admin/post.php
/var/www/wordpress/wp-admin/press-this.php
/var/www/wordpress/wp-admin/profile.php
/var/www/wordpress/wp-admin/revision.php
/var/www/wordpress/wp-admin/setup-config.php
/var/www/wordpress/wp-admin/sidebar.php
/var/www/wordpress/wp-admin/theme-editor.php
/var/www/wordpress/wp-admin/theme-install.php
/var/www/wordpress/wp-admin/themes.php
/var/www/wordpress/wp-admin/tools.php
/var/www/wordpress/wp-admin/update-core.php
/var/www/wordpress/wp-admin/update.php
/var/www/wordpress/wp-admin/upgrade-functions.php
/var/www/wordpress/wp-admin/upgrade.php
/var/www/wordpress/wp-admin/upload.php
/var/www/wordpress/wp-admin/user-edit.php
/var/www/wordpress/wp-admin/user-new.php
/var/www/wordpress/wp-admin/users.php
/var/www/wordpress/wp-admin/widgets.php
/var/www/wordpress/wp-content/languages/ru_RU.php
/var/www/wordpress/wp-content/plugins/akismet/akismet.php
/var/www/wordpress/wp-content/plugins/rh/rh.php
/var/www/wordpress/wp-content/plugins/hello.php
/var/www/wordpress/wp-content/plugins/index.php
/var/www/wordpress/wp-content/themes/twentyten/404.php
/var/www/wordpress/wp-content/themes/twentyten/archive.php
/var/www/wordpress/wp-content/themes/twentyten/attachment.php
/var/www/wordpress/wp-content/themes/twentyten/author.php
/var/www/wordpress/wp-content/themes/twentyten/category.php
/var/www/wordpress/wp-content/themes/twentyten/comments.php
/var/www/wordpress/wp-content/themes/twentyten/footer.php
/var/www/wordpress/wp-content/themes/twentyten/functions.php
/var/www/wordpress/wp-content/themes/twentyten/header.php
/var/www/wordpress/wp-content/themes/twentyten/index.php
/var/www/wordpress/wp-content/themes/twentyten/loop.php
/var/www/wordpress/wp-content/themes/twentyten/onecolumn-page.php
/var/www/wordpress/wp-content/themes/twentyten/page.php
/var/www/wordpress/wp-content/themes/twentyten/search.php
/var/www/wordpress/wp-content/themes/twentyten/sidebar-footer.php
/var/www/wordpress/wp-content/themes/twentyten/sidebar.php
/var/www/wordpress/wp-content/themes/twentyten/single.php
/var/www/wordpress/wp-content/themes/twentyten/tag.php
/var/www/wordpress/wp-content/themes/index.php
/var/www/wordpress/wp-content/index.php
/var/www/wordpress/wp-includes/js/tinymce/langs/wp-langs.php
/var/www/wordpress/wp-includes/js/tinymce/plugins/spellchecker/classes/utils/JSON.php
/var/www/wordpress/wp-includes/js/tinymce/plugins/spellchecker/classes/utils/Logger.php
/var/www/wordpress/wp-includes/js/tinymce/plugins/spellchecker/classes/EnchantSpell.php
/var/www/wordpress/wp-includes/js/tinymce/plugins/spellchecker/classes/GoogleSpell.php
/var/www/wordpress/wp-includes/js/tinymce/plugins/spellchecker/classes/PSpell.php
/var/www/wordpress/wp-includes/js/tinymce/plugins/spellchecker/classes/PSpellShell.php
/var/www/wordpress/wp-includes/js/tinymce/plugins/spellchecker/classes/SpellChecker.php
/var/www/wordpress/wp-includes/js/tinymce/plugins/spellchecker/includes/general.php
/var/www/wordpress/wp-includes/js/tinymce/plugins/spellchecker/config.php
/var/www/wordpress/wp-includes/js/tinymce/plugins/spellchecker/rpc.php
/var/www/wordpress/wp-includes/js/tinymce/wp-mce-help.php
/var/www/wordpress/wp-includes/js/tinymce/wp-tinymce.php
/var/www/wordpress/wp-includes/pomo/entry.php
/var/www/wordpress/wp-includes/pomo/mo.php
/var/www/wordpress/wp-includes/pomo/po.php
/var/www/wordpress/wp-includes/pomo/streams.php
/var/www/wordpress/wp-includes/pomo/translations.php
/var/www/wordpress/wp-includes/Text/Diff/Engine/native.php
/var/www/wordpress/wp-includes/Text/Diff/Engine/shell.php
/var/www/wordpress/wp-includes/Text/Diff/Engine/string.php
/var/www/wordpress/wp-includes/Text/Diff/Engine/xdiff.php
/var/www/wordpress/wp-includes/Text/Diff/Renderer/inline.php
/var/www/wordpress/wp-includes/Text/Diff/Renderer.php
/var/www/wordpress/wp-includes/Text/Diff.php
/var/www/wordpress/wp-includes/theme-compat/comments-popup.php
/var/www/wordpress/wp-includes/theme-compat/comments.php
/var/www/wordpress/wp-includes/theme-compat/footer.php
/var/www/wordpress/wp-includes/theme-compat/header.php
/var/www/wordpress/wp-includes/theme-compat/sidebar.php
/var/www/wordpress/wp-includes/atomlib.php
/var/www/wordpress/wp-includes/author-template.php
/var/www/wordpress/wp-includes/bookmark-template.php
/var/www/wordpress/wp-includes/bookmark.php
/var/www/wordpress/wp-includes/cache.php
/var/www/wordpress/wp-includes/canonical.php
/var/www/wordpress/wp-includes/capabilities.php
/var/www/wordpress/wp-includes/category-template.php
/var/www/wordpress/wp-includes/category.php
/var/www/wordpress/wp-includes/class-feed.php
/var/www/wordpress/wp-includes/class-http.php
/var/www/wordpress/wp-includes/class-IXR.php
/var/www/wordpress/wp-includes/class-json.php
/var/www/wordpress/wp-includes/class-oembed.php
/var/www/wordpress/wp-includes/class-phpass.php
/var/www/wordpress/wp-includes/class-phpmailer.php
/var/www/wordpress/wp-includes/class-pop3.php
/var/www/wordpress/wp-includes/class-simplepie.php
/var/www/wordpress/wp-includes/class-smtp.php
/var/www/wordpress/wp-includes/class-snoopy.php
/var/www/wordpress/wp-includes/class.wp-dependencies.php
/var/www/wordpress/wp-includes/class.wp-scripts.php
/var/www/wordpress/wp-includes/class.wp-styles.php
/var/www/wordpress/wp-includes/classes.php
/var/www/wordpress/wp-includes/comment-template.php
/var/www/wordpress/wp-includes/comment.php
/var/www/wordpress/wp-includes/compat.php
/var/www/wordpress/wp-includes/cron.php
/var/www/wordpress/wp-includes/default-constants.php
/var/www/wordpress/wp-includes/default-embeds.php
/var/www/wordpress/wp-includes/default-filters.php
/var/www/wordpress/wp-includes/default-widgets.php
/var/www/wordpress/wp-includes/deprecated.php
/var/www/wordpress/wp-includes/feed-atom-comments.php
/var/www/wordpress/wp-includes/feed-atom.php
/var/www/wordpress/wp-includes/feed-rdf.php
/var/www/wordpress/wp-includes/feed-rss.php
/var/www/wordpress/wp-includes/feed-rss2-comments.php
/var/www/wordpress/wp-includes/feed-rss2.php
/var/www/wordpress/wp-includes/feed.php
/var/www/wordpress/wp-includes/formatting.php
/var/www/wordpress/wp-includes/functions.php
/var/www/wordpress/wp-includes/functions.wp-scripts.php
/var/www/wordpress/wp-includes/functions.wp-styles.php
/var/www/wordpress/wp-includes/general-template.php
/var/www/wordpress/wp-includes/http.php
/var/www/wordpress/wp-includes/kses.php
/var/www/wordpress/wp-includes/l10n.php
/var/www/wordpress/wp-includes/link-template.php
/var/www/wordpress/wp-includes/load.php
/var/www/wordpress/wp-includes/locale.php
/var/www/wordpress/wp-includes/media.php
/var/www/wordpress/wp-includes/meta.php
/var/www/wordpress/wp-includes/ms-blogs.php
/var/www/wordpress/wp-includes/ms-default-constants.php
/var/www/wordpress/wp-includes/ms-default-filters.php
/var/www/wordpress/wp-includes/ms-deprecated.php
/var/www/wordpress/wp-includes/ms-files.php
/var/www/wordpress/wp-includes/ms-functions.php
/var/www/wordpress/wp-includes/ms-load.php
/var/www/wordpress/wp-includes/ms-settings.php
/var/www/wordpress/wp-includes/nav-menu-template.php
/var/www/wordpress/wp-includes/nav-menu.php
/var/www/wordpress/wp-includes/pluggable-deprecated.php
/var/www/wordpress/wp-includes/pluggable.php
/var/www/wordpress/wp-includes/plugin.php
/var/www/wordpress/wp-includes/post-template.php
/var/www/wordpress/wp-includes/post-thumbnail-template.php
/var/www/wordpress/wp-includes/post.php
/var/www/wordpress/wp-includes/query.php
/var/www/wordpress/wp-includes/registration-functions.php
/var/www/wordpress/wp-includes/registration.php
/var/www/wordpress/wp-includes/rewrite.php
/var/www/wordpress/wp-includes/rss-functions.php
/var/www/wordpress/wp-includes/rss.php
/var/www/wordpress/wp-includes/script-loader.php
/var/www/wordpress/wp-includes/shortcodes.php
/var/www/wordpress/wp-includes/taxonomy.php
/var/www/wordpress/wp-includes/template-loader.php
/var/www/wordpress/wp-includes/theme.php
/var/www/wordpress/wp-includes/update.php
/var/www/wordpress/wp-includes/user.php
/var/www/wordpress/wp-includes/vars.php
/var/www/wordpress/wp-includes/version.php
/var/www/wordpress/wp-includes/widgets.php
/var/www/wordpress/wp-includes/wp-db.php
/var/www/wordpress/wp-includes/wp-diff.php
/var/www/wordpress/index.php
/var/www/wordpress/wp-activate.php
/var/www/wordpress/wp-app.php
/var/www/wordpress/wp-atom.php
/var/www/wordpress/wp-blog-header.php
/var/www/wordpress/wp-comments-post.php
/var/www/wordpress/wp-commentsrss2.php
/var/www/wordpress/wp-config-sample.php
/var/www/wordpress/wp-cron.php
/var/www/wordpress/wp-feed.php
/var/www/wordpress/wp-links-opml.php
/var/www/wordpress/wp-load.php
/var/www/wordpress/wp-login.php
/var/www/wordpress/wp-mail.php
/var/www/wordpress/wp-pass.php
/var/www/wordpress/wp-rdf.php
/var/www/wordpress/wp-register.php
/var/www/wordpress/wp-rss.php
/var/www/wordpress/wp-rss2.php
/var/www/wordpress/wp-settings.php
#CodeDescriptions
1<?php
2/**
3 * Used to set up and fix common variables and include
4 * the WordPress procedural and class library.
5 *
6 * Allows for some configuration in wp-config.php (see default-constants.php)
7 *
8 * @package WordPress
9 */
10
11/**
12 * Stores the location of the WordPress directory of functions, classes, and core content.
13 *
14 * @since 1.0.0
15 */
16define( 'WPINC', 'wp-includes' );
17
18// Include files required for initialization.
19require( ABSPATH . WPINC . '/load.php' );
20require( ABSPATH . WPINC . '/default-constants.php' );
21require( ABSPATH . WPINC . '/version.php' );
22
23// Set initial default constants including WP_MEMORY_LIMIT, WP_DEBUG, WP_CONTENT_DIR and WP_CACHE.
24wp_initial_constants( );
25
26// Disable magic quotes at runtime. Magic quotes are added using wpdb later in wp-settings.php.
27set_magic_quotes_runtime( 0 );
28@ini_set( 'magic_quotes_sybase', 0 );
29
30// Set default timezone in PHP 5.
31if ( function_exists( 'date_default_timezone_set' ) )
32 date_default_timezone_set( 'UTC' );
33
34// Turn register_globals off.
35wp_unregister_GLOBALS();
36
37// Ensure these global variables do not exist so they do not interfere with WordPress.
38unset( $wp_filter, $cache_lastcommentmodified, $cache_lastpostdate );
39
40// Standardize $_SERVER variables across setups.
41wp_fix_server_vars();
42
43// Check for the required PHP version and for the MySQL extension or a database drop-in.
44wp_check_php_mysql_versions();
45
46// Check if we have recieved a request due to missing favicon.ico
47wp_favicon_request();
48
49// Check if we're in maintenance mode.
50wp_maintenance();
51
52// Start loading timer.
53timer_start();
54
55// Check if we're in WP_DEBUG mode.
56wp_debug_mode();
57
58// For an advanced caching plugin to use. Uses a static drop-in because you would only want one.
59if ( WP_CACHE )
60 WP_DEBUG ? include( WP_CONTENT_DIR . '/advanced-cache.php' ) : @include( WP_CONTENT_DIR . '/advanced-cache.php' );
61
62// Define WP_LANG_DIR if not set.
63wp_set_lang_dir();
64
65// Load early WordPress files.
66require( ABSPATH . WPINC . '/compat.php' );
67require( ABSPATH . WPINC . '/functions.php' );
68require( ABSPATH . WPINC . '/classes.php' );
69
70// Include the wpdb class, or a db.php database drop-in if present.
71require_wp_db();
72
73// Set the database table prefix and the format specifiers for database table columns.
74wp_set_wpdb_vars();
75
76// Start the WordPress object cache, or an external object cache if the drop-in is present.
77wp_start_object_cache();
78
79// Load early WordPress files.
80require( ABSPATH . WPINC . '/plugin.php' );
81require( ABSPATH . WPINC . '/default-filters.php' );
82require( ABSPATH . WPINC . '/pomo/mo.php' );
83
84// Initialize multisite if enabled.
85if ( is_multisite() ) {
86 require( ABSPATH . WPINC . '/ms-blogs.php' );
87 require( ABSPATH . WPINC . '/ms-settings.php' );
88} elseif ( ! defined( 'MULTISITE' ) ) {
89 define( 'MULTISITE', false );
90}
91
92// Stop most of WordPress from being loaded if we just want the basics.
93if ( SHORTINIT )
94 return false;
95
96// Load the l18n library.
97require( ABSPATH . WPINC . '/l10n.php' );
98
99// Run the installer if WordPress is not installed.
100wp_not_installed();
101
102// Load most of WordPress.
103require( ABSPATH . WPINC . '/formatting.php' );
104require( ABSPATH . WPINC . '/capabilities.php' );
105require( ABSPATH . WPINC . '/query.php' );
106require( ABSPATH . WPINC . '/theme.php' );
107require( ABSPATH . WPINC . '/user.php' );
108require( ABSPATH . WPINC . '/meta.php' );
109require( ABSPATH . WPINC . '/general-template.php' );
110require( ABSPATH . WPINC . '/link-template.php' );
111require( ABSPATH . WPINC . '/author-template.php' );
112require( ABSPATH . WPINC . '/post.php' );
113require( ABSPATH . WPINC . '/post-template.php' );
114require( ABSPATH . WPINC . '/category.php' );
115require( ABSPATH . WPINC . '/category-template.php' );
116require( ABSPATH . WPINC . '/comment.php' );
117require( ABSPATH . WPINC . '/comment-template.php' );
118require( ABSPATH . WPINC . '/rewrite.php' );
119require( ABSPATH . WPINC . '/feed.php' );
120require( ABSPATH . WPINC . '/bookmark.php' );
121require( ABSPATH . WPINC . '/bookmark-template.php' );
122require( ABSPATH . WPINC . '/kses.php' );
123require( ABSPATH . WPINC . '/cron.php' );
124require( ABSPATH . WPINC . '/deprecated.php' );
125require( ABSPATH . WPINC . '/script-loader.php' );
126require( ABSPATH . WPINC . '/taxonomy.php' );
127require( ABSPATH . WPINC . '/update.php' );
128require( ABSPATH . WPINC . '/canonical.php' );
129require( ABSPATH . WPINC . '/shortcodes.php' );
130require( ABSPATH . WPINC . '/media.php' );
131require( ABSPATH . WPINC . '/http.php' );
132require( ABSPATH . WPINC . '/class-http.php' );
133require( ABSPATH . WPINC . '/widgets.php' );
134require( ABSPATH . WPINC . '/nav-menu.php' );
135require( ABSPATH . WPINC . '/nav-menu-template.php' );
136
137// Load multisite-specific files.
138if ( is_multisite() ) {
139 require( ABSPATH . WPINC . '/ms-functions.php' );
140 require( ABSPATH . WPINC . '/ms-default-filters.php' );
141 require( ABSPATH . WPINC . '/ms-deprecated.php' );
142}
143
144// Define constants that rely on the API to obtain the default value.
145// Define must-use plugin directory constants, which may be overridden in the sunrise.php drop-in.
146wp_plugin_directory_constants( );
147
148// Load must-use plugins.
149foreach ( wp_get_mu_plugins() as $mu_plugin ) {
150 include_once( $mu_plugin );//Arbitrary code inclusion
151}
152unset( $mu_plugin );
153
154do_action( 'muplugins_loaded' );
155
156if ( is_multisite() )
157 ms_cookie_constants( );
158
159// Define constants after multisite is loaded. Cookie-related constants may be overridden in ms_network_cookies().
160wp_cookie_constants( );
161
162// Define and enforce our SSL constants
163wp_ssl_constants( );
164
165// Create common globals.
166require( ABSPATH . WPINC . '/vars.php' );
167
168// Make taxonomies and posts available to plugins and themes.
169// @plugin authors: warning: these get registered again on the init hook.
170create_initial_taxonomies();
171create_initial_post_types();
172
173// Load active plugins.
174foreach ( wp_get_active_and_valid_plugins() as $plugin )
175 include_once( $plugin );//Arbitrary code inclusion
176unset( $plugin );
177
178// Load pluggable functions.
179require( ABSPATH . WPINC . '/pluggable.php' );
180require( ABSPATH . WPINC . '/pluggable-deprecated.php' );
181
182// Set internal encoding.
183wp_set_internal_encoding();
184
185// Run wp_cache_postload() if object cache is enabled and the function exists.
186if ( WP_CACHE && function_exists( 'wp_cache_postload' ) )
187 wp_cache_postload();
188
189do_action( 'plugins_loaded' );
190
191// Define constants which affect functionality if not already defined.
192wp_functionality_constants( );
193
194// Add magic quotes and set up $_REQUEST ( $_GET + $_POST )
195wp_magic_quotes();
196
197do_action( 'sanitize_comment_cookies' );
198
199/**
200 * WordPress Query object
201 * @global object $wp_the_query
202 * @since 2.0.0
203 */
204$wp_the_query =& new WP_Query();
205
206/**
207 * Holds the reference to @see $wp_the_query
208 * Use this global for WordPress queries
209 * @global object $wp_query
210 * @since 1.5.0
211 */
212$wp_query =& $wp_the_query;
213
214/**
215 * Holds the WordPress Rewrite object for creating pretty URLs
216 * @global object $wp_rewrite
217 * @since 1.5.0
218 */
219$wp_rewrite =& new WP_Rewrite();
220
221/**
222 * WordPress Object
223 * @global object $wp
224 * @since 2.0.0
225 */
226$wp =& new WP();
227
228/**
229 * WordPress Widget Factory Object
230 * @global object $wp_widget_factory
231 * @since 2.8.0
232 */
233$wp_widget_factory =& new WP_Widget_Factory();
234
235do_action( 'setup_theme' );
236
237// Define the template related constants.
238wp_templating_constants( );
239
240// Load the default text localization domain.
241load_default_textdomain();
242
243// Find the blog locale.
244$locale = get_locale();
245$locale_file = WP_LANG_DIR . "/$locale.php";
246if ( is_readable( $locale_file ) )
247 require( $locale_file );//Arbitrary code inclusion
248unset($locale_file);
249
250// Pull in locale data after loading text domain.
251require( ABSPATH . WPINC . '/locale.php' );
252
253/**
254 * WordPress Locale object for loading locale domain date and various strings.
255 * @global object $wp_locale
256 * @since 2.1.0
257 */
258$wp_locale =& new WP_Locale();
259
260// Load the functions for the active theme, for both parent and child theme if applicable.
261if ( TEMPLATEPATH !== STYLESHEETPATH && file_exists( STYLESHEETPATH . '/functions.php' ) )
262 include( STYLESHEETPATH . '/functions.php' );
263if ( file_exists( TEMPLATEPATH . '/functions.php' ) )
264 include( TEMPLATEPATH . '/functions.php' );
265
266do_action( 'after_setup_theme' );
267
268// Load any template functions the theme supports.
269require_if_theme_supports( 'post-thumbnails', ABSPATH . WPINC . '/post-thumbnail-template.php' );
270
271register_shutdown_function( 'shutdown_action_hook' );
272
273// Set up current user.
274$wp->init();
275
276/**
277 * Most of WP is loaded at this stage, and the user is authenticated. WP continues
278 * to load on the init hook that follows (e.g. widgets), and many plugins instantiate
279 * themselves on it for all sorts of reasons (e.g. they need a user, a taxonomy, etc.).
280 *
281 * If you wish to plug an action once WP is loaded, use the wp_loaded hook below.
282 */
283do_action( 'init' );
284
285// Check site status
286if ( is_multisite() ) {
287 if ( true !== ( $file = ms_site_check() ) ) {
288 require( $file );//Arbitrary code inclusion
289 die();
290 }
291 unset($file);
292}
293
294/**
295 * This hook is fired once WP, all plugins, and the theme are fully loaded and instantiated.
296 *
297 * AJAX requests should use wp-admin/admin-ajax.php. admin-ajax.php can handle requests for
298 * users not logged in.
299 *
300 * @link http://codex.wordpress.org/AJAX_in_Plugins
301 *
302 * @since 3.0.0
303 */
304do_action('wp_loaded');
305?>
306
/var/www/wordpress/wp-signup.php
/var/www/wordpress/wp-trackback.php
/var/www/wordpress/xmlrpc.php