WordPress plugin intelligence profile

Ostrichcize

Hide PHP error reporting for specified plugins or the current theme.

WP PlugIndex snapshot

Current directory snapshot

Tested up to not listed
Current version0.1
WordPress coverageTested up to not listed
Minimum stackWP 3.3 · PHP —
Directory statusactive
Last directory update24 Nov 201213y ago
Active installations10Adoption metric — not a quality score
WordPress.org rating4.0 / 5 from 1 ratings
Official packageDirect from WordPress.org

Repository metrics are context, not quality scores. Active installations measure adoption and can strongly reflect a plugin’s age and historical popularity. Ratings, recent updates and “Tested up to” metadata also do not guarantee modern code, error-free operation, security, feature completeness or suitability for a particular site. Why active installs don’t tell the whole story →

WP PlugIndex currently records Ostrichcize version 0.1 as active, updated 13y ago and without a listed Tested up to version.

Overview

About this plugin

At the first sign of trouble, an ostrich buries its head in the sand. Ostrichcize allows a plugin or theme developer to

bury his or her head in the sand by turning off error reporting for select plugins or the current theme.

If you have ever installed a plugin or worked on a site with a plugin that throws numerous of errors and notices, but do

not have the time to fix the issue, you can turn off those notices with this plugin. By simply filtering the plugin, you

can add to the list of plugins for which no notices will be shown.

To add to this list simply write something like:

function my_ostrichcized_plugins( $slugs ) { $slugs[] = 'debug-bar-cron'; return $slugs; }

function my_pre_my_ostrichcized_plugins() { add_filter( 'ostrichcized_plugins', 'my_ostrichcized_plugins' ); }

add_action( 'plugins_loaded', 'my_pre_my_ostrichcized_plugins', 1 ); </pre>

Note that the filter must be added before any offending code is run in order to redefine the error reporting function

before it is first called. The means that in most cases, this code will need to run from a plugin and not a theme.

To turn off PHP error reporting for a theme, run:

function my_ostrichcize_theme() { add_filter( 'ostrichcize_theme', '__return_true' ); } add_action( 'plugins_loaded', 'my_ostrichcize_theme', 1 ); </pre>

Thanks to Jeremy Felt (@jeremyfelt) for assistance naming the plugin!

WordPress.org metadata

Plugin tags

Topics listed for this plugin in the WordPress.org directory.

  • error reporting
  • debug
Compatibility & maintenance

Compatibility & maintenance

Tested up to not listed

WordPress.org does not currently provide a Tested up to version that WP PlugIndex can compare with WordPress 7.1.

Current WordPress releaseWordPress 7.1
WordPress.org Tested up toNot listed
Minimum requirementsWordPress 3.3 · PHP not listed
Update activity24 Nov 201213y ago

“Tested up to” is directory metadata supplied by the plugin author. WP PlugIndex does not turn an older declaration into a claim that the plugin is incompatible.

Changes recorded by WP PlugIndex

Recent tracked changes

No tracked version or compatibility changes have been recorded by WP PlugIndex yet.

Tracking & source

WP PlugIndex tracks public WordPress.org directory metadata and records selected version, compatibility and availability changes as they are detected.

Plugin watchlist

Watch this plugin

Sign in to your WP PlugIndex account or create a free account. Free accounts can watch up to 5 plugins and see what changed.

Watch limit

Watchlist limit reached

You have reached your current active watch limit.