Skip to content

Commit

Permalink
Remove ?> from end of PHP function files.
Browse files Browse the repository at this point in the history
  • Loading branch information
Justin Tadlock committed Nov 19, 2013
1 parent c4d4ab6 commit 4181670
Show file tree
Hide file tree
Showing 12 changed files with 0 additions and 22 deletions.
2 changes: 0 additions & 2 deletions admin/admin.php
Expand Up @@ -139,5 +139,3 @@ function hybrid_get_post_templates( $post_type = 'post' ) {
/* Return array of post templates. */
return $hybrid->post_templates[ $post_type ];
}

?>
2 changes: 0 additions & 2 deletions admin/meta-box-post-template.php
Expand Up @@ -140,5 +140,3 @@ function hybrid_meta_box_post_save_template( $post_id, $post = '' ) {
elseif ( current_user_can( 'edit_post_meta', $post_id ) && $new_meta_value && $new_meta_value != $meta_value )
update_post_meta( $post_id, $meta_key, $new_meta_value );
}

?>
2 changes: 0 additions & 2 deletions classes/customize-control-textarea.php
Expand Up @@ -39,5 +39,3 @@ public function render_content() { ?>
</label>
<?php }
}

?>
2 changes: 0 additions & 2 deletions functions/deprecated.php
Expand Up @@ -860,5 +860,3 @@ function hybrid_get_plural_post_format_strings() {
function hybrid_function_removed( $func = '' ) {
die( sprintf( __( '<code>%1$s</code> &mdash; This function has been removed or replaced by another function.', 'hybrid-core' ), $func ) );
}

?>
1 change: 0 additions & 1 deletion functions/i18n.php
Expand Up @@ -444,4 +444,3 @@ function hybrid_get_region( $locale = '' ) {

return preg_replace( '/.*?_(.*?)$/i', '$1', $locale );
}

2 changes: 0 additions & 2 deletions functions/meta.php
Expand Up @@ -48,5 +48,3 @@ function hybrid_register_meta() {
function hybrid_sanitize_meta( $meta_value, $meta_key, $meta_type ) {
return strip_tags( $meta_value );
}

?>
2 changes: 0 additions & 2 deletions functions/post-formats.php
Expand Up @@ -313,5 +313,3 @@ function hybrid_chat_row_id( $chat_author ) {
/* Return the array key for the chat author and add "1" to avoid an ID of "0". */
return absint( array_search( $chat_author, $_hybrid_post_chat_ids ) ) + 1;
}

?>
2 changes: 0 additions & 2 deletions functions/scripts.php
Expand Up @@ -60,5 +60,3 @@ function hybrid_enqueue_scripts() {
if ( isset( $supports[0] ) && in_array( 'mobile-toggle', $supports[0] ) )
wp_enqueue_script( 'mobile-toggle' );
}

?>
2 changes: 0 additions & 2 deletions functions/settings.php
Expand Up @@ -69,5 +69,3 @@ function hybrid_get_setting( $option = '' ) {
function hybrid_get_default_theme_settings() {
return apply_filters( hybrid_get_prefix() . '_default_theme_settings', array() );
}

?>
1 change: 0 additions & 1 deletion functions/styles.php
Expand Up @@ -202,4 +202,3 @@ function hybrid_get_locale_style() {

return hybrid_locate_theme_file( $styles );
}

2 changes: 0 additions & 2 deletions functions/template-hierarchy.php
Expand Up @@ -240,5 +240,3 @@ function hybrid_comments_template( $template ) {
/* Return the found template. */
return locate_template( $templates );
}

?>
2 changes: 0 additions & 2 deletions functions/widgets.php
Expand Up @@ -110,5 +110,3 @@ function hybrid_unregister_widgets() {
unregister_widget( 'WP_Widget_Search' );
unregister_widget( 'WP_Widget_Tag_Cloud' );
}

?>

0 comments on commit 4181670

Please sign in to comment.