joshuadavidnelson / disable-blog

All the power of WordPress, without a blog. This plugin removes blog related functionality.
https://wordpress.org/plugins/disable-blog/
GNU General Public License v2.0
52 stars 6 forks source link

Undefined variable: current_url in [...]/disable-blog/public/class-disable-blog-public.php on line 127 #29

Closed chesio closed 4 years ago

chesio commented 4 years ago

I get the PHP Notice with version 0.4.7.

The problem seems to be that the variable is initially declared and used with a typo in it, but later on referenced without a typo.

joshuadavidnelson commented 4 years ago

Hey @chesio! Thanks for catching this and the PR.

I'll get this merged into a release this week.