Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
01/27/2016 08:56:27 PM (11 years ago)
Author:
djpaul
Message:

Emails: add Customizer integration.

This integration allows appearance changes to be easily made to emails, and previewed. For example, font size, background and font colors, and more.

A new submenu has been added under wp-admin's "Appearance" menu that takes the current priviledged user directly to the Customizer preview for a randomly-selected email.

See #6592. Props timersys, mercime, boonebgorges, hnla, DJPaul.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/bp-core/bp-core-admin.php

    r10474 r10475  
    936936                                'dependencies' => array(),
    937937                        ),
     938
     939                        // 2.5
     940                        'bp-customizer-controls' => array(
     941                                'file'         => "{$url}customizer-controls{$min}.css",
     942                                'dependencies' => array(),
     943                        ),
    938944                ) );
    939945
     
    968974                 */
    969975                $scripts = apply_filters( 'bp_core_admin_register_scripts', array(
     976                        // 2.5
     977                        'bp-customizer-controls' => array(
     978                                'file'         => "{$url}customizer-controls{$min}.js",
     979                                'dependencies' => array( 'jquery' ),
     980                                'footer'       => true,
     981                        ),
    970982                ) );
    971 
    972983
    973984                $version = bp_get_version();
Note: See TracChangeset for help on using the changeset viewer.