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

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
  • Submit Feedback
Plugins4406Themes and Skins13Add-ons760Graphics 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 Dealing with SELinux in Nagios
0.0 (0)
81.6K
RSS Feed
Newest Listings Updated Listings
Top Contributors
deskwork_itunes142 (4)Chad Columbus (3)Marcin Bednarski (3)Davide Lemma (3)Gary T. GIesen (2)
See More
Newest Contributors
pawal (1)matthewducey (1)Linuxfabrik (1)signalgrid (1)Sanna Glue (2)
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.6K
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 16 years ago

No Favorites Found

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

Privacy PolicyTerms of UseTrademarks
Home Browse Submit Profile