Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
30 lines (27 sloc) 0.585 kb
<?php
/**
* WordPress.com-specific functions and definitions.
*
* This file is centrally included from `wp-content/mu-plugins/wpcom-theme-compat.php`.
*
* @package _s
*/
/**
* Adds support for wp.com-specific theme functions.
*
* @global array $themecolors
*/
function _s_wpcom_setup() {
global $themecolors;
// Set theme colors for third party services.
if ( ! isset( $themecolors ) ) {
$themecolors = array(
'bg' => '',
'border' => '',
'text' => '',
'link' => '',
'url' => '',
);
}
}
add_action( 'after_setup_theme', '_s_wpcom_setup' );
Jump to Line
Something went wrong with that request. Please try again.