• Resolved Compute

    (@compute)


    Hello and thanks for this great plugin!

    When Building the subpages menu the plugin echo’es an

      before even checking if the $subpages variable is empty or not.

    By checking

    if( empty( $subpages ) )
            return;

    Before anything else inside build_subpages() this will fix the empty

      issue.

    http://ww.wp.xz.cn/plugins/be-subpages-widget/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Bill Erickson

    (@billerickson)

    I’m not sure what you’re referring to. That check is run before the plugin outputs anything (line 70).

    Plugin Author Bill Erickson

    (@billerickson)

    Actually, now I see what you’re saying. If you’re using the “display current page’s subpages” it does a UL even if there’s no subpages.

    This has been fixed in version 1.3

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Subpages makes an empty’ is closed to new replies.