Ticket #42941: 42941.patch
File 42941.patch, 567 bytes (added by , 7 years ago) |
---|
-
src/wp-admin/options.php
156 156 } 157 157 158 158 if ( ! isset( $whitelist_options[ $option_page ] ) ) { 159 wp_die( __( '<strong>ERROR</strong>: options page not found.' ) ); 159 wp_die( 160 sprintf( 161 /* translators: %s: the options page id */ 162 __( '<strong>ERROR</strong>: options page %s not found in whitelist.' ), 163 $option_page 164 ) 165 ); 160 166 } 161 167 162 168 if ( 'options' == $option_page ) {