Changes between Initial Version and Version 1 of Ticket #18561, comment 58
- Timestamp:
- 09/01/11 19:13:43 (22 months ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #18561, comment 58
initial v1 33 33 $located = apply_filters( 'pre_locate_template', '', $template_names, $template_paths ); 34 34 35 // Skip the check if a filter overloaded35 // Skip the check if 'pre_locate_template' overloaded everything 36 36 if ( empty( $located ) ) { 37 37 … … 52 52 53 53 // Only load the template if one is found 54 if ( $load && ' ' !== $located)54 if ( $load && '!empty( $located ) ) 55 55 load_template( $located, $require_once ); 56 56