Created
July 25, 2015 18:41
-
-
Save smbrown/00e00d9c8cf52850dab5 to your computer and use it in GitHub Desktop.
yarpp 4.0.6 fix for WP_Widget notice agains WP 4.3b4
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- a/content/plugins/yet-another-related-posts-plugin/class-widget.php | |
+++ b/content/plugins/yet-another-related-posts-plugin/class-widget.php | |
@@ -4,7 +4,7 @@ | |
// http://msafi.com/fix-yet-another-related-posts-plugin-yarpp-widget-and-add-it-to-the-sidebar/ | |
class YARPP_Widget extends WP_Widget { | |
function YARPP_Widget() { | |
- parent::WP_Widget(false, $name = __('Related Posts (YARPP)','yarpp')); | |
+ parent::__construct(false, $name = __('Related Posts (YARPP)','yarpp')); | |
} | |
function widget($args, $instance) { |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment