Make WordPress Core

Ticket #42941: 42941.patch

File 42941.patch, 567 bytes (added by tdlewis77, 7 years ago)
  • src/wp-admin/options.php

     
    156156        }
    157157
    158158        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                );
    160166        }
    161167
    162168        if ( 'options' == $option_page ) {