Support » Plugin: DiaryPress » Inappropriate use of get_bloginfo( 'url' )

  • Resolved ryanmclaughlin1

    (@ryanmclaughlin1)


    Lines 15, 77 and 80.

    get_bloginfo( ‘url’ ) returns the site url. What you need is get_bloginfo( ‘wpurl’ ) which returns the url to the wp install (which may or may not be the same as the site url).

    Also, wp_login_url() can be used to get the login url directly on line 80.

    https://wordpress.org/plugins/diarypress/

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

    (@tomhowson)

    Hi,

    Thanks for the comments, I will take a closer look and update. wp_login_url() came in in WordPress 2.7. DiaryPress is many years old now. I will give it a refresh.

    All the best,

    T

    Plugin Author Tom

    (@tomhowson)

    Thanks for the feedback, i’ve updated the plugin.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Inappropriate use of get_bloginfo( 'url' )’ is closed to new replies.