* Plugin Name: GLM Members Database
* Plugin URI: http://www.gaslightmedia.com/
* Description: Gaslight Media Members Database.
- * Version: 2.10.21
+ * Version: 2.10.22
* Author: Gaslight Media
* Author URI: http://www.gaslightmedia.com/
* License: GPL2
* @package glmMembersDatabase
* @author Chuck Scott <cscott@gaslightmedia.com>
* @license http://www.gaslightmedia.com Gaslightmedia
- * @version 2.10.21
+ * @version 2.10.22
*/
// Check that we're being called by WordPress.
*
*/
-define('GLM_MEMBERS_PLUGIN_VERSION', '2.10.21');
+define('GLM_MEMBERS_PLUGIN_VERSION', '2.10.22');
define('GLM_MEMBERS_PLUGIN_DB_VERSION', '1.1.32');
// Check if plugin version is not current in WordPress option and if needed updated it
if (strpos($video_url, 'player') !== false) {
$memberData['video_embed'] = '<iframe width="100%" height="315" src="'.$video_url.'" frameborder="0" allowfullscreen></iframe>';
} else {
- $memberData['video_embed'] = preg_replace("/\s*[a-zA-Z\/\/:\.]*www.vimeo.com\/([a-zA-Z0-9\-_]+)([a-zA-Z0-9\/\*\-\_\?\&\;\%\=\.]*)/i","<iframe width=\"100%\" height=\"315\" src=\"//player.vimeo.com/video/$1\" frameborder=\"0\" allowfullscreen></iframe>",$video_url);
+ $memberData['video_embed'] = preg_replace("/\s*[a-zA-Z\/\/:\.]*vimeo.com\/([a-zA-Z0-9\-_]+)([a-zA-Z0-9\/\*\-\_\?\&\;\%\=\.]*)/i","<iframe width=\"100%\" height=\"315\" src=\"//player.vimeo.com/video/$1\" frameborder=\"0\" allowfullscreen></iframe>",$video_url);
}
} else {
$memberData['video_embed'] = "Could not find video";
(none)
== Changelog ==
+= 2.10.22 =
+* Vimeo links that do not start with www. are now correctly interpreted on the
+ video sections on Member Detail pages
+
= 2.10.21 =
-* adding url GET params in the member list view to scroll to the search results when clicking on alpha search or filter search
+* adding url GET params in the member list view to scroll to the search results
+ when clicking on alpha search or filter search
= 2.10.17 - 2.10.19 =
* Improve member search in admin. Can now use Back To Search button to return