PluginProbe ʕ •ᴥ•ʔ
WP Mail SMTP by WPForms – The Most Popular SMTP and Email Log Plugin / 4.9.0
WP Mail SMTP by WPForms – The Most Popular SMTP and Email Log Plugin v4.9.0
4.9.0 0.9.6 1.0.0 1.0.1 1.0.2 1.1.0 1.2.0 1.2.1 1.2.2 1.2.3 1.2.4 1.2.5 1.3.0 1.3.1 1.3.2 1.3.3 1.4.0 1.4.1 1.4.2 1.5.0 1.5.1 1.5.2 1.6.0 1.6.2 1.7.0 1.7.1 1.8.0 1.8.1 1.9.0 2.0.0 2.0.1 2.1.1 2.2.1 2.3.1 2.4.0 2.5.0 2.5.1 2.6.0 2.7.0 2.8.0 2.9.0 3.0.1 3.0.2 3.0.3 3.1.0 3.10.0 3.11.0 3.11.1 3.2.0 3.2.1 3.3.0 3.4.0 3.5.0 3.5.1 3.5.2 3.6.1 3.7.0 3.8.0 3.8.2 3.9.0 4.0.1 4.1.0 4.1.1 4.2.0 4.3.0 4.4.0 4.5.0 4.6.0 4.7.0 4.7.1 4.8.0 trunk 0.10.0 0.10.1 0.11.1 0.11.2 0.3.1 0.3.2 0.4 0.4.1 0.4.2 0.5.0 0.5.1 0.5.2 0.6 0.7 0.8 0.8.2 0.8.3 0.8.4 0.8.5 0.8.6 0.8.7 0.9.0 0.9.1 0.9.2 0.9.3 0.9.4 0.9.5
wp-mail-smtp / polyfills.php
wp-mail-smtp Last commit date
assets 5 days ago src 5 days ago vendor 5 days ago vendor_prefixed 5 days ago polyfills.php 5 days ago readme.txt 5 days ago uninstall.php 5 days ago wp-mail-smtp.php 5 days ago wp_mail_smtp.php 5 days ago
polyfills.php
30 lines
1 <?php
2 /**
3 * Polyfills for functions missing on the plugin's supported-but-older WordPress and PHP versions.
4 *
5 * Must stay in the global namespace so the backfilled functions are reachable by the same
6 * unqualified names their callers use. Required from wp-mail-smtp.php before the plugin boots.
7 *
8 * @since 4.9.0
9 */
10
11 if ( ! defined( 'ABSPATH' ) ) {
12 exit; // Exit if accessed directly.
13 }
14
15 if ( ! function_exists( 'wp_is_serving_rest_request' ) ) {
16 /**
17 * Backfill of WP 6.5's wp_is_serving_rest_request() for older WordPress.
18 *
19 * Action Scheduler 4.0+ calls this function unconditionally.
20 *
21 * @since 4.9.0
22 *
23 * @return bool
24 */
25 function wp_is_serving_rest_request() {
26
27 return defined( 'REST_REQUEST' ) && REST_REQUEST;
28 }
29 }
30