Plugin info

Total downloads: 2,274
Active installs: 10
Total reviews: 1
Average rating: 4
Support threads opened: 0
Support threads resolved: 0 (0%)
Available in: 1 language(s)
Contributors: 4
Last updated: 11/24/2012 (4785 days ago)
Added to WordPress: 11/24/2012 (13 years old)
Minimum WordPress version: 3.3
Tested up to WordPress version: f
Minimum PHP version: f

Maintenance & Compatibility

Maintenance score

Possibly abandoned • Last updated 4785 days ago • 1 reviews

22/100

Is Ostrichcize abandoned?

Possibly abandoned (last update 4785 days ago).

Compatibility

Requires WordPress: 3.3
Tested up to: f
Requires PHP: f

Similar & Alternatives

Explore plugins with similar tags, and compare key metrics like downloads, ratings, updates, support, and WP/PHP compatibility.

Debug
Rating 4.6/5 (11 reviews)Active installs 2,000
Simple Log Viewer
Rating 5.0/5 (2 reviews)Active installs 10
JS Error Logger
Rating 5.0/5 (1 reviews)Active installs 10
Error Log Monitor
Rating 4.3/5 (48 reviews)Active installs 20,000
DecaLog
Rating 4.8/5 (8 reviews)Active installs 1,000
Error Log Viewer By WP Guru
Rating 4.5/5 (8 reviews)Active installs 100

Description

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 );

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 );

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

Installation

  1. Install Ostrichcize if not already installed (https://wordpress.org/extend/plugins/ostrichcize/)
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. Setup Ostrichcize rules as noted above

Frequently Asked Questions

Is there a UI to add ostrichcize rules?

No. At this time, I really only want developer’s using this tool. Any WordPress developer that is messing with error
handling should easily be able to make this plugin work. If not, the developer should not be using this tool. Similarly,
users should not be messing with error reporting.

Can I run this in production?

You certainly can, but that is not the intent of the tool. It is best to only run this in development.

What is the use case?

This plugin is inspired by having installed countless plugins that throw error notices. Many times, these are small,
non-critical errors. Since I often do not have time to fix the errors myself, I allow them to continue to muck up my
error logs or on screen display of errors. I thought it would be nice to have a way to hide these errors so that only
errors due to my custom code are displayed. Ostrichcize allows you to do just that.

Review feed

No reviews available

Screenshots

No screenshots available

Changelog

0.1

  • Initial release