WordPress.org

Ready to get started?Download WordPress

Forums

WP-PageNavi
[resolved] Minor fix suggestion (3 posts)

  1. firebird75
    Member
    Posted 2 years ago #

    In file core.php, I would suggest the following enhancements :
    line 263 : function init( $options ) {
    replace with static function init( $options ) {

    line 269 : function stylesheets() {
    replace with static function stylesheets() {

    This would allow to fix 2 php warnings that would show up on every page. It doesn't have any real impact other than having a clean code :)

    Hope this helps.

    http://wordpress.org/extend/plugins/wp-pagenavi/

  2. scribu
    Member
    Plugin Author

    Posted 2 years ago #

    Done. The change will appear in the next release.

    Thanks for reporting.

  3. firebird75
    Member
    Posted 2 years ago #

    Excellent thanks!

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic