mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-04-14 01:24:27 +00:00
Customizer: Change instances of "Theme Customizer" to just "Customizer", as the Customizer isn't necessarily theme-specific.
Also capitalize "Customizer". See also https://make.wordpress.org/core/2014/07/08/customizer-improvements-in-4-0/. props studionashvegas, tareq1988. fixes #29947. git-svn-id: https://develop.svn.wordpress.org/trunk@29903 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -832,7 +832,7 @@
|
||||
// Limit the URL to internal, front-end links.
|
||||
//
|
||||
// If the frontend and the admin are served from the same domain, load the
|
||||
// preview over ssl if the customizer is being loaded over ssl. This avoids
|
||||
// preview over ssl if the Customizer is being loaded over ssl. This avoids
|
||||
// insecure content warnings. This is not attempted if the admin and frontend
|
||||
// are on different domains to avoid the case where the frontend doesn't have
|
||||
// ssl certs.
|
||||
@@ -984,7 +984,7 @@
|
||||
api.settings = window._wpCustomizeSettings;
|
||||
api.l10n = window._wpCustomizeControlsL10n;
|
||||
|
||||
// Check if we can run the customizer.
|
||||
// Check if we can run the Customizer.
|
||||
if ( ! api.settings )
|
||||
return;
|
||||
|
||||
|
||||
@@ -691,7 +691,7 @@
|
||||
},
|
||||
|
||||
/**
|
||||
* Highlight widgets in preview when interacted with in the customizer
|
||||
* Highlight widgets in preview when interacted with in the Customizer
|
||||
*/
|
||||
_setupHighlightEffects: function() {
|
||||
var self = this;
|
||||
@@ -1494,7 +1494,7 @@
|
||||
} );
|
||||
|
||||
/**
|
||||
* Expand other customizer sidebar section when dragging a control widget over it,
|
||||
* Expand other Customizer sidebar section when dragging a control widget over it,
|
||||
* allowing the control to be dropped into another section
|
||||
*/
|
||||
this.$controlSection.find( '.accordion-section-title' ).droppable({
|
||||
|
||||
Reference in New Issue
Block a user