These invoke notices on each unsupported identifier.

It causes that the preferences panel gets spammed in
error messages.

git-svn-id: http://textpattern.googlecode.com/svn/development/4.x@5418 2fea6a4d-a838-0410-917b-93a53c48e9d2
Modernizr SVG classname was incorrect

git-svn-id: http://textpattern.googlecode.com/svn/development/4.x@5419 2fea6a4d-a838-0410-917b-93a53c48e9d2
pluginErrorHandler() checks the $errno.

pluginErrorHandler() doesn't invoke notices when running
into a unsupported error number. Previously for instance,
any captured E_STRICT would have generated E_NOTICE
in the error hander function.

This also changes the function work entirely based on the
site's production_status. This normalizes differences
between PHP versions, and makes sure each status
only displays errors it was supposed to.

See issue #373

git-svn-id: http://textpattern.googlecode.com/svn/development/4.x@5420 2fea6a4d-a838-0410-917b-93a53c48e9d2
Only debug mode tracks notices. Both user and system.

git-svn-id: http://textpattern.googlecode.com/svn/development/4.x@5421 2fea6a4d-a838-0410-917b-93a53c48e9d2
Make the code more readable and updatable.

git-svn-id: http://textpattern.googlecode.com/svn/development/4.x@5422 2fea6a4d-a838-0410-917b-93a53c48e9d2
pluginErrorHandler() displays all errors in debugging mode.

Even strict and deprecation notices, and any future error
levels. Shows the error level code instead of the label
if it runs into an uncommon type.

git-svn-id: http://textpattern.googlecode.com/svn/development/4.x@5423 2fea6a4d-a838-0410-917b-93a53c48e9d2
tagErrorHandler() checks the $errno.

tagErrorHandler() doesn't invoke notices when running
into a unsupported error number. Previously for instance,
any captured E_STRICT would have generated E_NOTICE
in the error hander function.

This also changes the function work entirely based on the
site's production_status. This normalizes differences
between PHP versions, and makes sure each status
only displays errors it was supposed to.

See issue #373

git-svn-id: http://textpattern.googlecode.com/svn/development/4.x@5424 2fea6a4d-a838-0410-917b-93a53c48e9d2
adminErrorHandler() checks the $errno.

Tries to avoid unintentionally killing off pages on
no reason.

See issue #373

git-svn-id: http://textpattern.googlecode.com/svn/development/4.x@5425 2fea6a4d-a838-0410-917b-93a53c48e9d2
adminErrorHandler() displays error type on verbose mode.

See issue #373

git-svn-id: http://textpattern.googlecode.com/svn/development/4.x@5426 2fea6a4d-a838-0410-917b-93a53c48e9d2
adminErrorHandler() doesn't terminate panel pages.

Terminating the script on error sounds bit dangerous and
extreme. That would kill any ongoing operation which
can lead to unexpected damage. We should ensure
that the error handlers don't do anything unexpected
or affect anything, but output if possible.

Since that change, I haven't seen anything but white pages
when developing plugins and that has made debugging
much more painful. I like many other, do typos.

The handler will still terminates the process on misc async
responses, since there is no better way of announcing the
error in 'text' response. Adding the error in the content
is not an option when the response is just one blob.

See issue #373

git-svn-id: http://textpattern.googlecode.com/svn/development/4.x@5427 2fea6a4d-a838-0410-917b-93a53c48e9d2
jQuery UI 1.10.2

git-svn-id: http://textpattern.googlecode.com/svn/development/4.x@5428 2fea6a4d-a838-0410-917b-93a53c48e9d2
Change jQuery version comment in CSS file to v1.10.2

git-svn-id: http://textpattern.googlecode.com/svn/development/4.x@5429 2fea6a4d-a838-0410-917b-93a53c48e9d2
func_get_args() can not be used as argument pre-5.3.0.

Trying to do so generates an obscure fatal error on
PHP 5.2.0.

git-svn-id: http://textpattern.googlecode.com/svn/development/4.x@5430 2fea6a4d-a838-0410-917b-93a53c48e9d2
Conditional styling.

git-svn-id: http://textpattern.googlecode.com/svn/development/4.x@5431 2fea6a4d-a838-0410-917b-93a53c48e9d2
Fix double-encoding in tagErrorHandler().

git-svn-id: http://textpattern.googlecode.com/svn/development/4.x@5432 2fea6a4d-a838-0410-917b-93a53c48e9d2
publicErrorHandler() checks the $errno.

publicErrorHandler() doesn't invoke notices when running
into a unsupported error number. Previously for instance,
any captured E_STRICT would have generated E_NOTICE
in the error hander function.

This also changes the function work entirely based on the
site's production_status. This normalizes differences
between PHP versions, and makes sure each status
only displays errors it was supposed to.

See issue #373

git-svn-id: http://textpattern.googlecode.com/svn/development/4.x@5433 2fea6a4d-a838-0410-917b-93a53c48e9d2
publicErrorHandler() doesn't display notices in testing mode.

There are number of Textpattern sites that leave their
production status to testing mode. This is due to whatever
reason, maybe due to it really never displaying errors.

But, because of this security feeling, users are
compromising their sites. PHP does not consistently sanitize
user-defined values present in notices, opening a
vector for XSS attacks.

git-svn-id: http://textpattern.googlecode.com/svn/development/4.x@5434 2fea6a4d-a838-0410-917b-93a53c48e9d2
Error handlers exit out on suppressed errors.

git-svn-id: http://textpattern.googlecode.com/svn/development/4.x@5435 2fea6a4d-a838-0410-917b-93a53c48e9d2
Latest changes from Griddle v0.2.2

git-svn-id: http://textpattern.googlecode.com/svn/development/4.x@5436 2fea6a4d-a838-0410-917b-93a53c48e9d2
Dropping $txpcfg['doc_root'].

According to comments, this fellow really never existed.
It was deprecated a decade ago.

Even diagnostics panel doesn't do that 'IIS' normalization.

git-svn-id: http://textpattern.googlecode.com/svn/development/4.x@5437 2fea6a4d-a838-0410-917b-93a53c48e9d2