Changeset 45926 for trunk/src/wp-includes/option.php
- Timestamp:
- 09/01/2019 05:12:43 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/option.php
r45899 r45926 165 165 function wp_protect_special_option( $option ) { 166 166 if ( 'alloptions' === $option || 'notoptions' === $option ) { 167 wp_die( sprintf( __( '%s is a protected WP option and may not be modified' ), esc_html( $option ) ) ); 167 wp_die( 168 sprintf( 169 /* translators: %s: option name */ 170 __( '%s is a protected WP option and may not be modified' ), 171 esc_html( $option ) 172 ) 173 ); 168 174 } 169 175 } … … 2137 2143 __FUNCTION__, 2138 2144 '3.0.0', 2139 /* translators: %s: misc */2140 2145 sprintf( 2146 /* translators: %s: misc */ 2141 2147 __( 'The "%s" options group has been removed. Use another settings group.' ), 2142 2148 'misc' … … 2150 2156 __FUNCTION__, 2151 2157 '3.5.0', 2152 /* translators: %s: privacy */2153 2158 sprintf( 2159 /* translators: %s: privacy */ 2154 2160 __( 'The "%s" options group has been removed. Use another settings group.' ), 2155 2161 'privacy' … … 2190 2196 __FUNCTION__, 2191 2197 '3.0.0', 2192 /* translators: %s: misc */2193 2198 sprintf( 2199 /* translators: %s: misc */ 2194 2200 __( 'The "%s" options group has been removed. Use another settings group.' ), 2195 2201 'misc' … … 2203 2209 __FUNCTION__, 2204 2210 '3.5.0', 2205 /* translators: %s: privacy */2206 2211 sprintf( 2212 /* translators: %s: privacy */ 2207 2213 __( 'The "%s" options group has been removed. Use another settings group.' ), 2208 2214 'privacy' … … 2220 2226 __FUNCTION__, 2221 2227 '4.7.0', 2222 /* translators: 1: $sanitize_callback, 2: register_setting() */2223 2228 sprintf( 2229 /* translators: 1: $sanitize_callback, 2: register_setting() */ 2224 2230 __( '%1$s is deprecated. The callback from %2$s is used instead.' ), 2225 2231 '<code>$sanitize_callback</code>',
Note: See TracChangeset
for help on using the changeset viewer.