PluginProbe
WP Ultimate Post Grid / 2.4.0
WP Ultimate Post Grid v2.4.0
4.1.1 trunk 1.5 1.6 1.7 1.7.1 1.7.2 1.8 1.9 2.0 2.1 2.2 2.3 2.4.0 2.5.0 2.6.0 2.7.0 2.8.0 2.8.2 3.0.0 3.3.0 3.4.0 3.5.0 3.6.0 3.7.0 All 32 releases
← All changes | helpers/ajax.php +1 -1 2.7.02.4.0 View file →
@@ -7,9 +7,9 @@
7 7 }
8 8
9 9 public function url()
10 10 {
11 - $scheme = ( !empty( $_SERVER['HTTPS'] ) && strtolower( $_SERVER['HTTPS'] ) !== 'off' || ( isset( $_SERVER['SERVER_PORT'] ) && $_SERVER['SERVER_PORT'] == 443 ) ) ? 'https' : 'http';
11 + $scheme = (!empty($_SERVER['HTTPS']) && $_SERVER['HTTPS'] !== 'off' || $_SERVER['SERVER_PORT'] == 443) ? 'https' : 'http';
12 12 $ajaxurl = admin_url( 'admin-ajax.php', $scheme );
13 13 $ajaxurl .= '?wpupg_ajax=1';
14 14
15 15 // WPML AJAX Localization Fix