Nagios Exchange Nagios Exchange
  • Home
  • Directory
  • Library
  • Support
  • About

Advanced Search

Build precise queries to find exactly what you need

Search Logic

Select compatible versions

Press ESC to close

Sign In Sign Up

Nagios World Conference 2026: Sept. 14-17 in St. Paul, MN | Learn More

  • Home
  • Directory
  • Library
  • Support
  • About
Plugins4401Themes and Skins12Add-ons755Graphics and Logos36View All Categories
LinuxSecuritySNMPFile SystemCloud
New Listings Recently Updated Listings Most Favored Listings Most Popular Listings Most Rated Listings Most Reviewed Listings
Random Project
Other Tutorials And HOWTOs Logfile Lovin: Marrying Nimrod and Nagios for Software Visibility
0.0 (0)
61.6K
RSS Feed
Newest Listings Updated Listings
Top Contributors
Yoann LAMY (7)Julien DESMAREST (6)Davide Lemma (4)deskwork_itunes142 (4)Chad Columbus (3)
See More
Newest Contributors
signalgrid (1)Sanna Glue (2)fisherrs (1)juanfertor (1)zsoltaire (1)
See More

Copyright © 2009-2026 Nagios Enterprises, LLC. All rights reserved.

Privacy PolicyTerms of UseTrademarks
Home > Holger
H

Holger

@hteske

User Stats

Member Since: December 25, 2010

Favorites0

Views1

Projects1

check_wp_version
Wordpress
check_wp_version
Checks if updates (core, plugins & themes) for wordpress exist. Works also for wordpress version 2.9+ Based on http://localhost/directory/Uncategorized/Check-Wordpress-Versions/details
3.7 (3)
96.4K
0
Holger
GPL
Check Wordpress Versions

Updated Version for Wordpress 2.9+ incl. check for theme-updates

updates as $update) { if($update->current != $wp_version) { $core_updates = 1; } } foreach($plugins->response as $plgupd) { $plugin_updates = 1; } foreach($themes->response as $thupd) { $theme_updates = 1; } if($core_updates) { $text = "core updates available!"; } else { $text = "core ok"; } if($plugin_updates) { $text .= " ; plugins updates are available!"; } else { $text .= " ; plugins ok"; } if($theme_updates) { $text .= " ; theme updates are available!"; } else { $text .= " ; themes ok"; } if($core_updates || $plugin_updates || $theme_updates) { print("CRITICAL - " . $text." "); exit(2); } else { print("OK - " . $text." "); exit(0); } print("CRITICAL - Error in check_wp_versions.php"); exit(2); ?>

Reviewed 15 years ago

No Favorites Found

Copyright © 2009-2026 Nagios Enterprises, LLC. All rights reserved.

Privacy PolicyTerms of UseTrademarks
Home Browse Submit Profile