WordPress.org

Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #23805, comment 2


Ignore:
Timestamp:
02/16/2014 02:33:07 AM (7 years ago)
Author:
GregLone
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #23805, comment 2

    initial v1  
    11I second that.
    22
    3 I have a [plugin](http://wordpress.org/plugins/sf-archiver/) that builds a custom type, like @GaryJ. So far I couldn't find a way to avoid 2 php notices because of that problem (the variable `$_object` is not set).
     3I have a plugin (http://wordpress.org/plugins/sf-archiver/) that builds a custom type, like @GaryJ. So far I couldn't find a way to avoid 2 php notices because of that problem (the variable `$_object` is not set).
    44Another way would be to add a filter in the switch, in a `default:` statement. Perhaps something like that:
    55