From 94138e08918553b8893d9a77f0bcc08552654248 Mon Sep 17 00:00:00 2001
From: Mohammad Jangda <batmoo@gmail.com>
Date: Mon, 8 Apr 2013 01:52:42 -0400
Subject: [PATCH] Only load PHP files

---
 includes/class-wp-push-syndication-server.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/includes/class-wp-push-syndication-server.php b/includes/class-wp-push-syndication-server.php
index 88ede40..044d876 100644
--- a/includes/class-wp-push-syndication-server.php
+++ b/includes/class-wp-push-syndication-server.php
@@ -177,7 +177,7 @@ class WP_Push_Syndication_Server {
 	
 	public function admin_init() {
 		// @TODO define more parameters
-		$name_match = '#class-syndication-(.+)-client\.php#';
+		$name_match = '#class-syndication-(.+)-client\.php$#';
 		
 		$full_path = __DIR__ . '/';
 		if ( $handle = opendir( $full_path ) ) {
-- 
GitLab