Changeset 48609
- Timestamp:
- 07/25/2020 03:59:01 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/class-wp-customize-manager.php
r48590 r48609 1908 1908 */ 1909 1909 if ( $this->messenger_channel && ! current_user_can( 'customize' ) ) { 1910 $this->wp_die( -1, __( 'Unauthorized. You may remove the customize_messenger_channel param to preview as frontend.' ) ); 1910 $this->wp_die( 1911 -1, 1912 sprintf( 1913 /* translators: %s: customize_messenger_channel */ 1914 __( 'Unauthorized. You may remove the %s param to preview as frontend.' ), 1915 '<code>customize_messenger_channel<code>' 1916 ) 1917 ); 1911 1918 return; 1912 1919 } … … 3901 3908 __( 'Removing %1$s manually will cause PHP warnings. Use the %2$s filter instead.' ), 3902 3909 $id, 3903 '<a href="' . esc_url( 'https://developer.wordpress.org/reference/hooks/customize_loaded_components/' ) . '"><code>customize_loaded_components</code></a>' 3910 sprintf( 3911 '<a href="%1$s">%2$s</a>', 3912 esc_url( 'https://developer.wordpress.org/reference/hooks/customize_loaded_components/' ), 3913 '<code>customize_loaded_components</code>' 3914 ) 3904 3915 ); 3905 3916
Note: See TracChangeset
for help on using the changeset viewer.