Support » Plugin: Hierarchical Pages Widget » debug on

  • wtfusdfdsfsdgkdkjldlgkljdfkj

    (@wtfusdfdsfsdgkdkjldlgkljdfkj)


    just out of interest to avoid seeing errors with debug on
    i’ve added “@” to the following lines
    changes nothing, just hides the errors

    line 41 if (@$option[‘desc’])
    line 43 switch (@$option[‘type’]) {

    line 88
    if(@!$args[‘post_type’])$args[‘post_type’] = ‘page’;

    line 172
    if (@$page_info[$page->ID][‘show’]) {

    line 176
    if (@$args[‘child_of’]) {

    line 213
    if (@$instance[‘menu_order’] == ‘yes’) { // Deprecated, eliminated upon form display (see below)

    http://wordpress.org/extend/plugins/hierarchical-pages/

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘debug on’ is closed to new replies.