summaryrefslogtreecommitdiffstats
path: root/wp-includes/functions.php
diff options
context:
space:
mode:
Diffstat (limited to 'wp-includes/functions.php')
-rw-r--r--wp-includes/functions.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/wp-includes/functions.php b/wp-includes/functions.php
index e271370..de60099 100644
--- a/wp-includes/functions.php
+++ b/wp-includes/functions.php
@@ -203,6 +203,7 @@ function is_serialized_string($data) {
function get_option($setting) {
global $wpdb, $switched, $current_blog;
+ // Allow plugins to short-circuit options.
$pre = apply_filters( 'pre_option_' . $setting, false );
if ( $pre )
return $pre;