{"id":414089,"date":"2026-11-27T21:23:51","date_gmt":"2026-11-27T21:23:51","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/cms-observer-client\/"},"modified":"2026-11-27T23:45:14","modified_gmt":"2026-11-27T23:45:14","slug":"cms-observer-client","status":"publish","type":"plugin","link":"https:\/\/wordpress.org\/plugins\/cms-observer-client\/","author":23613452,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"2.0.6","stable_tag":"2.0.6","tested":"7.1.5","requires":"6.4","requires_php":"8.1","requires_plugins":null,"header_name":"CMS Observer Client","header_author":"portrino GmbH","header_description":"Reports the WordPress core, PHP and database versions plus the installed plugins to a CMS Observer instance.","last_updated":"2026-11-27 23:45:14","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"https:\/\/github.com\/portrino\/cms-observer-client-wordpress","header_author_uri":"https:\/\/www.portrino.de","rating":0,"author_block_rating":0,"active_installs":0,"downloads":90,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":{"2.0.5":{"tag":"2.0.5","author":"portrino","date":"2026-11-27 23:41:09","revision":3830619},"2.0.6":{"tag":"2.0.6","author":"portrino","date":"2026-11-27 23:45:14","revision":3830622}},"upgrade_notice":{"2.0.0":"<p>Needs CMS Observer 0.7.0 or newer.<\/p>"},"ratings":[],"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":3830619,"resolution":"128x128","location":"assets","locale":"","width":128,"height":128},"icon-256x256.png":{"filename":"icon-256x256.png","revision":3830619,"resolution":"256x256","location":"assets","locale":"","width":256,"height":256},"icon.svg":{"filename":"icon.svg","revision":3830619,"resolution":false,"location":"assets","locale":false}},"assets_banners":{"banner-1544x500.png":{"filename":"banner-1544x500.png","revision":3830619,"resolution":"1544x500","location":"assets","locale":"","width":1544,"height":500},"banner-772x250.png":{"filename":"banner-772x250.png","revision":3830619,"resolution":"772x250","location":"assets","locale":"","width":772,"height":250}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["2.0.5","2.0.6"],"block_files":[],"assets_screenshots":[],"screenshots":[]},"plugin_section":[],"plugin_tags":[5603,441,600,2550,41325],"plugin_category":[51,54],"plugin_contributors":[296020],"plugin_business_model":[],"class_list":["post-414089","plugin","type-plugin","status-publish","hentry","plugin_tags-monitoring","plugin_tags-multisite","plugin_tags-security","plugin_tags-updates","plugin_tags-vulnerabilities","plugin_category-multisite","plugin_category-security-and-spam-protection","plugin_contributors-portrino","plugin_committers-portrino"],"banners":{"banner":"https:\/\/ps.w.org\/cms-observer-client\/assets\/banner-772x250.png?rev=3830619","banner_2x":"https:\/\/ps.w.org\/cms-observer-client\/assets\/banner-1544x500.png?rev=3830619","banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":"https:\/\/ps.w.org\/cms-observer-client\/assets\/icon.svg?rev=3830619","icon":"https:\/\/ps.w.org\/cms-observer-client\/assets\/icon.svg?rev=3830619","icon_2x":false,"generated":false},"screenshots":[],"raw_content":"<!--section=description-->\n<p>This plugin reports a site's WordPress core version, PHP and database versions, and the installed plugin and theme\nversions to a central <a href=\"https:\/\/github.com\/portrino\/cms-observer\">CMS Observer<\/a> instance, which flags insecure and\noutdated versions.<\/p>\n\n<p>Without a central CMS Observer instance this plugin is of no use. Set up your CMS Observer instance first, then\nconnect any number of WordPress sites with this plugin. It needs CMS Observer 0.7.0 or newer.<\/p>\n\n<p>Works on single sites and multisite networks. A network is reported as one site: its configuration is network-wide,\nand a plugin or theme counts as active when it's active on any site of the network (a plugin also when\nnetwork-activated). The parent of an active child theme counts as active too.<\/p>\n\n<p>The report is sent once a day via WP-Cron. It can also be sent with WP-CLI:<\/p>\n\n<pre><code>wp cms-observer push\n<\/code><\/pre>\n\n<p>To check what would be sent without sending it:<\/p>\n\n<pre><code>wp cms-observer push --dry-run\n<\/code><\/pre>\n\n<h3>External services<\/h3>\n\n<p>This plugin connects to a CMS Observer instance, a self-hosted application (https:\/\/github.com\/portrino\/cms-observer)\nwhose URL you configure. It doesn't connect to any service before you have set the API URL and token. No data is\nsent to the plugin authors or any other third party.<\/p>\n\n<p>Once a day via WP-Cron, and whenever <code>wp cms-observer push<\/code> is run, the plugin sends a report to\n    \/api\/v1\/sites\/report over https, authenticated with the configured token. The report contains:<\/p>\n\n<ul>\n<li>the WordPress core, PHP and database versions and the database platform (MySQL or MariaDB)<\/li>\n<li>the plugin version and the environment type (<code>wp_get_environment_type()<\/code>)<\/li>\n<li>the domains of the site (on multisite: of all sites of the network)<\/li>\n<li>the name, title, version and active state of every installed plugin and theme<\/li>\n<\/ul>\n\n<p>It contains no content, users or other personal data. What happens to the data on the Observer is up to whoever\noperates the instance you configure.<\/p>\n\n<!--section=installation-->\n<ol>\n<li>Install and activate the plugin, on multisite network-wide.<\/li>\n<li>On the CMS Observer, register a new site with the type <code>wordpress<\/code> and copy the printed token:\n   php bin\/console app:site:create \"\" wordpress \"\"<\/li>\n<li>In WordPress, go to Settings &gt; CMS Observer (on multisite: Network Admin &gt; Settings &gt; CMS Observer) and set the\nAPI URL (the Observer's base URL, must use https) and the token.<\/li>\n<\/ol>\n\n<p>Alternatively define <code>CMS_OBSERVER_API_URL<\/code> and <code>CMS_OBSERVER_TOKEN<\/code> as constants in <code>wp-config.php<\/code> or as\nenvironment variables. They take precedence over the settings page (environment variable first), so a shared\n    wp-config.php can serve several environments.<\/p>\n\n<p>For Composer based setups the plugin is also available as <code>portrino\/cms-observer-client-wordpress<\/code> (recommended,\nit replaces <code>wpackagist-plugin\/cms-observer-client<\/code>).<\/p>\n\n<!--section=faq-->\n<dl>\n<dt id=\"how%20do%20i%20run%20several%20environments%20%28production%2C%20staging%2C%20%E2%80%A6%29%3F\"><h3>How do I run several environments (production, staging, \u2026)?<\/h3><\/dt>\n<dd><p>Set the token for each environment as environment variable or constant in <code>wp-config.php<\/code>, not on the settings\npage. A token saved on the settings page is stored in the database and copied along with it, e.g. when staging gets\nthe production database. The Observer rejects a report with HTTP 409 when none of its domains matches the\nregistered site URL; WP-CLI shows the Observer's message, the settings page shows the last failed push.<\/p>\n\n<p>Set <code>WP_ENVIRONMENT_TYPE<\/code> in each environment's <code>wp-config.php<\/code>, the report sends it as the application context.\nWithout it WordPress reports <code>production<\/code>.<\/p><\/dd>\n<dt id=\"the%20report%20isn%27t%20sent%20every%20day.%20why%3F\"><h3>The report isn't sent every day. Why?<\/h3><\/dt>\n<dd><p>WP-Cron only runs when the site gets visits. On sites with low traffic, or with <code>DISABLE_WP_CRON<\/code>, run WP-Cron from\na system cron job, or run <code>wp cms-observer push<\/code> from one.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>2.0.6<\/h4>\n\n<ul>\n<li>Composer: <code>portrino\/cms-observer-client-wordpress<\/code> replaces <code>wpackagist-plugin\/cms-observer-client<\/code>, so a project\ncan't end up with both in the same plugin directory.<\/li>\n<li>WordPress.org banner and icon.<\/li>\n<\/ul>\n\n<h4>2.0.5<\/h4>\n\n<ul>\n<li>First release on WordPress.org. Updates now come from WordPress.org; installations of 2.0.4 or older look for\nupdates on GitHub and need one manual update to this version.<\/li>\n<\/ul>\n\n<h4>2.0.4<\/h4>\n\n<ul>\n<li>A report the CMS Observer rejects as invalid (HTTP 422) now names the invalid field in the error message, instead of\nonly the status code.<\/li>\n<\/ul>\n\n<h4>2.0.3<\/h4>\n\n<ul>\n<li>Show every failed push from WP-Cron on the settings page, also when the report can't be built. These errors are\nno longer written to the PHP error log.<\/li>\n<li>Add a readme.txt and leave the Markdown files out of the release ZIP.<\/li>\n<\/ul>\n\n<h4>2.0.2<\/h4>\n\n<ul>\n<li>Maintenance release without functional changes.<\/li>\n<\/ul>\n\n<h4>2.0.0<\/h4>\n\n<ul>\n<li>Report the installed themes along with the plugins, as <code>packages<\/code>. Needs CMS Observer 0.7.0 or newer.<\/li>\n<\/ul>\n\n<h4>1.0.0<\/h4>\n\n<ul>\n<li>First release.<\/li>\n<\/ul>","raw_excerpt":"Reports WordPress core, PHP and database versions plus all installed plugins and themes to a CMS Observer instance.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/414089","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=414089"}],"author":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/portrino"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=414089"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=414089"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=414089"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=414089"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=414089"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=414089"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}