\"
plugin_version.type = \"hidden\"
form.appendChild(plugin_version)
var wordpress_version = document.createElement(\"input\")
wordpress_version.name = \"wordpress_version\"
wordpress_version.id = \"wordpress_version\"
wordpress_version.value = '$wp_version'
wordpress_version.type = \"hidden\"
form.appendChild(wordpress_version)
}
},200);
";
} else {
echo '';
}
} else {
echo '';
}
} else {
echo "";
return;
}
}
}
/**
* Google analytics .
*/
function ga_footer() {
if ( ! ( defined( 'DOING_AJAX' ) && DOING_AJAX ) ) {
$banner_discarded_count = get_option( 'sm_beta_banner_discarded_count' );
if ( 1 === $banner_discarded_count || '1' === $banner_discarded_count ) {
echo '';
}
}
}
/**
* Check if the requirements of the sitemap plugin are met and loads the actual loader
*
* @package sitemap
* @since 4.0
*/
function sm_setup() {
$fail = false;
// Check minimum PHP requirements, which is 5.2 at the moment.
if ( version_compare( PHP_VERSION, '5.2', '<' ) ) {
add_action( 'admin_notices', 'sm_add_php_version_error' );
$fail = true;
}
// Check minimum WP requirements, which is 3.3 at the moment.
if ( version_compare( $GLOBALS['wp_version'], '3.3', '<' ) ) {
add_action( 'admin_notices', 'sm_add_wp_version_error' );
$fail = true;
}
if ( ! $fail ) {
require_once trailingslashit( dirname( __FILE__ ) ) . 'class-googlesitemapgeneratorloader.php';
}
}
/**
* Adds a notice to the admin interface that the WordPress version is too old for the plugin
*
* @package sitemap
* @since 4.0
*/
function sm_add_wp_version_error() {
/* translators: %s: search term */
echo '
' . esc_html( __( 'Your WordPress version is too old for XML Sitemaps.', 'google-sitemap-generator' ) ) . ' ' . esc_html( sprintf( __( 'Unfortunately this release of Google XML Sitemaps requires at least WordPress %4$s. You are using WordPress %2$s, which is out-dated and insecure. Please upgrade or go to active plugins and deactivate the Google XML Sitemaps plugin to hide this message. You can download an older version of this plugin from the plugin website.', 'google-sitemap-generator' ), 'plugins.php?plugin_status=active', esc_html( $GLOBALS['wp_version'] ), 'http://www.arnebrachhold.de/redir/sitemap-home/', '3.3' ) ) . '
';
}
/**
* Adds a notice to the admin interface that the WordPress version is too old for the plugin
*
* @package sitemap
* @since 4.0
*/
function sm_add_php_version_error() {
/* translators: %s: search term */
echo '
' . esc_html( __( 'Your PHP version is too old for XML Sitemaps.', 'google-sitemap-generator' ) ) . ' ' . esc_html( sprintf( __( 'Unfortunately this release of Google XML Sitemaps requires at least PHP %4$s. You are using PHP %2$s, which is out-dated and insecure. Please ask your web host to update your PHP installation or go to active plugins and deactivate the Google XML Sitemaps plugin to hide this message. You can download an older version of this plugin from the plugin website.', 'google-sitemap-generator' ), 'plugins.php?plugin_status=active', PHP_VERSION, 'http://www.arnebrachhold.de/redir/sitemap-home/', '5.2' ) ) . '
Here at Affiverse, we’re helping the world do affiliate marketing better. Our industry-leading agency service and events give affiliates around the world the guidance they need to achieve success.
People are at the heart of what we do, which is why we want to hear your thoughts and ideas about how Affiverse can better support you. Complete this survey and help us continue to provide best-in-class service and help the world do affiliate marketing better! As an extra incentive, you’ll also have the chance to win one of 50 Amazon vouchers or a Media Package valued at £1,250, so click here to complete the survey and ensure you don’t miss out!