WordPress.org

Ready to get started?Download WordPress

Forums

Hierarchical Pages Widget
debug on (3 posts)

  1. wtfusdfdsfsdgkdkjldlgkljdfkj
    Member
    Posted 1 year ago #

    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/

  2. wtfusdfdsfsdgkdkjldlgkljdfkj
    Member
    Posted 1 year ago #

    and another

    line 129
    if (is_array(@$page_info[$current_post]['children'] )) {

  3. wlindley
    Member
    Plugin Author

    Posted 1 year ago #

    Thank you for this -- Look for improved handling in the next release.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.