- Timestamp:
- 01/22/2018 06:31:39 AM (8 years ago)
- Location:
- branches/4.9
- Files:
-
- 2 edited
-
. (modified) (1 prop)
-
src/wp-includes/class-wp-customize-manager.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/4.9
-
branches/4.9/src/wp-includes/class-wp-customize-manager.php
r42537 r42539 3940 3940 */ 3941 3941 public function render_control_templates() { 3942 if ( $this->branching() ) { 3943 $l10n = array( 3944 /* translators: %s: User who is customizing the changeset in customizer. */ 3945 'locked' => __( '%s is already customizing this changeset. Please wait until they are done to try customizing. Your latest changes have been autosaved.' ), 3946 /* translators: %s: User who is customizing the changeset in customizer. */ 3947 'locked_allow_override' => __( '%s is already customizing this changeset. Do you want to take over?' ), 3948 ); 3949 } else { 3950 $l10n = array( 3951 /* translators: %s: User who is customizing the changeset in customizer. */ 3952 'locked' => __( '%s is already customizing this site. Please wait until they are done to try customizing. Your latest changes have been autosaved.' ), 3953 /* translators: %s: User who is customizing the changeset in customizer. */ 3954 'locked_allow_override' => __( '%s is already customizing this site. Do you want to take over?' ), 3955 ); 3956 } 3957 3942 3958 foreach ( $this->registered_control_types as $control_type ) { 3943 3959 $control = new $control_type( $this, 'temp', array( … … 4102 4118 <# } else if ( data.allowOverride ) { #> 4103 4119 <?php 4104 /* translators: %s: User who is customizing the changeset in customizer. */ 4105 printf( __( '%s is already customizing this site. Do you want to take over?' ), '{{ data.lockUser.name }}' ); 4120 echo esc_html( sprintf( $l10n['locked_allow_override'], '{{ data.lockUser.name }}' ) ); 4106 4121 ?> 4107 4122 <# } else { #> 4108 4123 <?php 4109 /* translators: %s: User who is customizing the changeset in customizer. */ 4110 printf( __( '%s is already customizing this site. Please wait until they are done to try customizing. Your latest changes have been autosaved.' ), '{{ data.lockUser.name }}' ); 4124 echo esc_html( sprintf( $l10n['locked'], '{{ data.lockUser.name }}' ) ); 4111 4125 ?> 4112 4126 <# } #>
Note: See TracChangeset
for help on using the changeset viewer.