WordPress.org

Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #17912, comment 13


Ignore:
Timestamp:
04/16/13 21:06:21 (12 months ago)
Author:
MikeHansenMe
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #17912, comment 13

    initial v1  
    77$post = get_post( $args[0] ); 
    88}}} 
    9 an assumes $post is post data when it is actually an empty array, causing even more undefined index notices.  
     9and assumes $post is post data when it is actually an empty array, causing even more undefined index notices.  
    1010 
    1111My patch just breaks out when they are not set. No need for conditional checks when there are other notices anyways.