• Resolved Paul Ryan

    (@figureone)


    A bunch of admin contexts where the admin_enqueue_scripts hook is fired do not have the page querystring param, so many web server log entries are generated. Here’s the fix.

    Replace line 192 of pressbooks-openstax-import.php:
    if ( 'pb_import' === $_REQUEST['page'] ) {
    With:
    if ( isset( $_REQUEST['page'] ) && 'pb_import' === $_REQUEST['page'] ) {

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Fix for “Undefined index: page” log entry’ is closed to new replies.