PATH:
home
/
lab2454c
/
mact34.com
/
wp-content
/
plugins
/
jetpack
/
modules
<?php /** * Module Name: Custom CSS * Module Description: Adds options for CSS preprocessor use, disabling the theme's CSS, or custom image width. * Sort Order: 2 * First Introduced: 1.7 * Requires Connection: No * Auto Activate: No * Module Tags: Appearance * Feature: Appearance * Additional Search Queries: css, customize, custom, style, editor, less, sass, preprocessor, font, mobile, appearance, theme, stylesheet */ function jetpack_load_custom_css() { // If WordPress has the core version of Custom CSS, load our new version. // @see https://core.trac.wordpress.org/changeset/38829 if ( function_exists( 'wp_get_custom_css' ) ) { if ( ! function_exists( 'wp_update_custom_css_post' ) ) { wp_die( 'Please run a SVN up to get the latest version of trunk, or update to at least 4.7 RC1' ); } if ( ! Jetpack_Options::get_option( 'custom_css_4.7_migration' ) ) { include_once dirname( __FILE__ ) . '/custom-css/migrate-to-core.php'; } // TODO: DELETE THIS else { if ( defined( 'WP_CLI' ) && WP_CLI ) { function jetpack_custom_css_undo_data_migration_cli() { Jetpack_Options::delete_option( 'custom_css_4.7_migration' ); WP_CLI::success( __( 'Option deleted, re-migrate via `wp jetpack custom-css migrate`.', 'jetpack' ) ); } WP_CLI::add_command( 'jetpack custom-css undo-migrate', 'jetpack_custom_css_undo_data_migration_cli' ); } } // TODO: END DELETE THIS include_once dirname( __FILE__ ) . '/custom-css/custom-css/preprocessors.php'; include_once dirname( __FILE__ ) . '/custom-css/custom-css-4.7.php'; return; } include_once dirname( __FILE__ ) . "/custom-css/custom-css.php"; add_action( 'init', array( 'Jetpack_Custom_CSS', 'init' ) ); } add_action( 'jetpack_modules_loaded', 'custom_css_loaded' ); function custom_css_loaded() { Jetpack::enable_module_configurable( __FILE__ ); add_filter( 'jetpack_module_configuration_url_custom-css', 'jetpack_custom_css_configuration_url' ); } /** * Overrides default configuration url * * @uses admin_url * @return string module settings URL */ function jetpack_custom_css_configuration_url( $default_url ) { return Jetpack_Custom_CSS_Enhancements::customizer_link( array( 'return_url' => wp_get_referer() ) ); } jetpack_load_custom_css();
[+]
publicize
[+]
photon-cdn
[-] module-headings.php
[edit]
[+]
search
[-] shortcodes.php
[edit]
[-] lazy-images.php
[edit]
[-] minileven.php
[edit]
[+]
site-icon
[-] notes.php
[edit]
[+]
verification-tools
[-] carousel.php
[edit]
[+]
widgets
[+]
plugin-search
[+]
likes
[-] monitor.php
[edit]
[-] geo-location.php
[edit]
[-] seo-tools.php
[edit]
[-] search.php
[edit]
[-] enhanced-distribution.php
[edit]
[+]
theme-tools
[+]
custom-post-types
[-] subscriptions.php
[edit]
[+]
sitemaps
[-] post-by-email.php
[edit]
[-] gravatar-hovercards.php
[edit]
[-] videopress.php
[edit]
[+]
..
[-] shortlinks.php
[edit]
[+]
subscriptions
[-] module-extras.php
[edit]
[-] custom-css.php
[edit]
[-] publicize.php
[edit]
[+]
videopress
[-] latex.php
[edit]
[-] woocommerce-analytics.php
[edit]
[-] widgets.php
[edit]
[-] module-info.php
[edit]
[+]
tiled-gallery
[+]
google-analytics
[-] json-api.php
[edit]
[+]
scan
[+]
contact-form
[-] infinite-scroll.php
[edit]
[-] comment-likes.php
[edit]
[-] tiled-gallery.php
[edit]
[-] plugin-search.php
[edit]
[-] sharedaddy.php
[edit]
[-] sitemaps.php
[edit]
[-] masterbar.php
[edit]
[-] contact-form.php
[edit]
[+]
simple-payments
[-] photon-cdn.php
[edit]
[+]
post-by-email
[-] custom-content-types.php
[edit]
[+]
carousel
[-] widget-visibility.php
[edit]
[+]
photon
[+]
seo-tools
[-] theme-tools.php
[edit]
[-] verification-tools.php
[edit]
[+]
gravatar
[+]
memberships
[+]
shortcodes
[+]
protect
[-] protect.php
[edit]
[+]
widget-visibility
[+]
cloudflare-analytics
[-] sso.php
[edit]
[-] google-analytics.php
[edit]
[+]
sharedaddy
[-] markdown.php
[edit]
[-] wpgroho.js
[edit]
[-] vaultpress.php
[edit]
[+]
geo-location
[+]
markdown
[+]
infinite-scroll
[-] photon.php
[edit]
[+]
wpcom-block-editor
[-] stats.php
[edit]
[-] copy-post.php
[edit]
[+]
related-posts
[-] related-posts.php
[edit]
[+]
custom-css
[+]
comment-likes
[+]
wpcom-tos
[-] wordads.php
[edit]
[+]
woocommerce-analytics
[+]
comments
[-] comments.php
[edit]
[+]
wordads
[+]
masterbar
[+]
sso
[+]
calypsoify
[-] likes.php
[edit]