Title: Ostrichcize
Author: Zack Tollman
Published: <strong>2012년 11월 24일</strong>
Last modified: 2012년 11월 24일

---

플러그인 검색

이 플러그인은 **최근 3개의 주요 워드프레스 출시와 시험 되지 않았습니다**. 워드프레스의
좀 더 최근 버전으로 이용할 때 더 이상 관리되지 않고 지원되지 않고 호환성 문제가 
있을 수 있습니다.

![](https://s.w.org/plugins/geopattern-icon/ostrichcize_4c3a2b.svg)

# Ostrichcize

 작성자: [Zack Tollman](https://profiles.wordpress.org/tollmanz/)

[다운로드](https://downloads.wordpress.org/plugin/ostrichcize.0.1.zip)

 * [세부사항](https://ko.wordpress.org/plugins/ostrichcize/#description)
 * [평가](https://ko.wordpress.org/plugins/ostrichcize/#reviews)
 *  [설치](https://ko.wordpress.org/plugins/ostrichcize/#installation)
 * [개발](https://ko.wordpress.org/plugins/ostrichcize/#developers)

 [지원](https://wordpress.org/support/plugin/ostrichcize/)

## 설명

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!

## 설치

 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

## FAQ

  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.

## 후기

![](https://secure.gravatar.com/avatar/c20ed8035774fbf90f733d29f0aa4c7bc7e4173de7295f8ffb30278343e2e9ef?
s=60&d=retro&r=g)

### 󠀁[Works, but wish it had a UI](https://wordpress.org/support/topic/works-but-wish-it-had-a-ui/)󠁿

 [alphatriumph](https://profiles.wordpress.org/alphatriumph/) 2016년 9월 3일

Works, and is nice for those of us who like to use notices/warnings to keep us honest
in our PHP while still utilizing poorly-written plugins. Wish this had a UI to configure
it, instead of just hooks, especially since you need to have a plugin to take advantage
of it.

 [ 모든 1 평가 읽기 ](https://wordpress.org/support/plugin/ostrichcize/reviews/)

## 기여자 & 개발자

“Ostrichcize”(은)는 오픈 소스 소프트웨어입니다. 다음의 사람들이 이 플러그인에 기여하였습니다.

기여자

 *   [ Zack Tollman ](https://profiles.wordpress.org/tollmanz/)
 *   [ 10up ](https://profiles.wordpress.org/10up/)

[자국어로 “Ostrichcize”(을)를 번역하세요.](https://translate.wordpress.org/projects/wp-plugins/ostrichcize)

### 개발에 관심이 있으십니까?

[코드 탐색하기](https://plugins.trac.wordpress.org/browser/ostrichcize/)는, [SVN 저장소](https://plugins.svn.wordpress.org/ostrichcize/)
를 확인하시거나, [개발 기록](https://plugins.trac.wordpress.org/log/ostrichcize/)
을 [RSS](https://plugins.trac.wordpress.org/log/ostrichcize/?limit=100&mode=stop_on_copy&format=rss)
로 구독하세요.

## 변경이력

#### 0.1

 * Initial release

## 기초

 *  버전 **0.1**
 *  최근 업데이트: **14년 전**
 *  활성화된 설치 **10+**
 *  워드프레스 버전 ** 3.3 또는 그 이상 **
 *  언어
 * [English (US)](https://wordpress.org/plugins/ostrichcize/)
 * 태그:
 * [debug](https://ko.wordpress.org/plugins/tags/debug/)[error reporting](https://ko.wordpress.org/plugins/tags/error-reporting/)
 *  [고급 보기](https://ko.wordpress.org/plugins/ostrichcize/advanced/)

## 평점

 별 5점 만점에 4점.

 *  [  0/5-별점 후기     ](https://wordpress.org/support/plugin/ostrichcize/reviews/?filter=5)
 *  [  1/4-별점 후기     ](https://wordpress.org/support/plugin/ostrichcize/reviews/?filter=4)
 *  [  0/3-별점 후기     ](https://wordpress.org/support/plugin/ostrichcize/reviews/?filter=3)
 *  [  0/2-별점 후기     ](https://wordpress.org/support/plugin/ostrichcize/reviews/?filter=2)
 *  [  0/1-별점 후기     ](https://wordpress.org/support/plugin/ostrichcize/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/ostrichcize/reviews/#new-post)

[모든  리뷰 보기](https://wordpress.org/support/plugin/ostrichcize/reviews/)

## 기여자

 *   [ Zack Tollman ](https://profiles.wordpress.org/tollmanz/)
 *   [ 10up ](https://profiles.wordpress.org/10up/)

## 지원

할 말 있으신가요? 도움이 필요하신가요?

 [지원 포럼 보기](https://wordpress.org/support/plugin/ostrichcize/)

## 기부

이 플러그인이 발전하도록 도우시겠습니까?

 [ 이 플러그인에 기부하기 ](http://wordpress.org)