WordPress.org

Make WordPress Core

Ticket #12307: closing_tags_patch.diff

File closing_tags_patch.diff, 18.9 KB (added by sorich87, 5 years ago)

fix closing tags in all the wordpress core files

  • wp-admin/admin-header.php

     
    145145 
    146146if ( $parent_file == 'options-general.php' ) 
    147147        require(ABSPATH . 'wp-admin/options-head.php'); 
     148 
     149?> 
  • wp-admin/edit.php

     
    424424<br class="clear" /> 
    425425</div> 
    426426 
    427 <?php 
    428 include('admin-footer.php'); 
     427<?php include('admin-footer.php'); ?> 
  • wp-admin/includes/class-wp-filesystem-ssh2.php

     
    381381                return $ret; 
    382382        } 
    383383} 
     384 
     385?> 
  • wp-admin/includes/class-wp-upgrader.php

     
    13901390                } 
    13911391        } 
    13921392} 
     1393 
     1394?> 
  • wp-admin/includes/continents-cities.php

     
    491491__('Wake', 'continents-cities'); 
    492492__('Wallis', 'continents-cities'); 
    493493__('Yap', 'continents-cities'); 
     494 
     495?> 
  • wp-admin/includes/image-edit.php

     
    665665        return $return; 
    666666} 
    667667 
     668?> 
  • wp-admin/includes/image.php

     
    339339 
    340340        return apply_filters('file_is_displayable_image', $result, $path); 
    341341} 
     342 
     343?> 
  • wp-admin/includes/manifest.php

     
    206206 
    207207        return $files; 
    208208} 
     209 
     210?> 
  • wp-admin/includes/media.php

     
    22492249add_filter('media_upload_gallery', 'media_upload_gallery'); 
    22502250 
    22512251add_filter('media_upload_library', 'media_upload_library'); 
     2252 
     2253?> 
  • wp-admin/includes/meta-boxes.php

     
    876876        $thumbnail_id = get_post_meta( $post->ID, '_thumbnail_id', true ); 
    877877        echo _wp_post_thumbnail_html( $thumbnail_id ); 
    878878} 
     879?> 
  • wp-admin/includes/nav-menu.php

     
    403403        } 
    404404        return $output; 
    405405} 
    406 ?> 
    407  No newline at end of file 
     406?> 
  • wp-admin/includes/plugin-install.php

     
    563563        iframe_footer(); 
    564564        exit; 
    565565} 
     566 
     567?> 
  • wp-admin/includes/post.php

     
    16131613</script> 
    16141614<?php 
    16151615} 
     1616?> 
  • wp-admin/includes/taxonomy.php

     
    269269 
    270270        return wp_insert_term($tag_name, $taxonomy); 
    271271} 
     272 
     273?> 
  • wp-admin/includes/theme-install.php

     
    546546        iframe_footer(); 
    547547        exit; 
    548548} 
     549?> 
  • wp-admin/includes/upgrade.php

     
    19751975        dbDelta( $ms_queries ); 
    19761976} 
    19771977endif; 
     1978 
    19781979?> 
  • wp-admin/includes/widgets.php

     
    218218        return $sidebar_args; 
    219219} 
    220220 
     221?> 
  • wp-admin/link-manager.php

     
    277277 
    278278</div> 
    279279 
    280 <?php 
    281 include('admin-footer.php'); 
     280<?php include('admin-footer.php'); ?> 
  • wp-admin/load-scripts.php

     
    135135 
    136136echo $out; 
    137137exit; 
     138 
     139?> 
  • wp-admin/load-styles.php

     
    145145 
    146146echo $out; 
    147147exit; 
     148 
     149?> 
  • wp-admin/plugin-editor.php

     
    240240        break; 
    241241} 
    242242include("admin-footer.php"); 
     243?> 
     244 No newline at end of file 
  • wp-admin/plugin-install.php

     
    7474        <br class="clear" /> 
    7575        <?php do_action('install_plugins_' . $tab, $paged); ?> 
    7676</div> 
    77 <?php 
    78 include('admin-footer.php'); 
     77<?php include('admin-footer.php'); ?> 
  • wp-admin/revision.php

     
    216216 
    217217</div> 
    218218 
    219 <?php 
    220  
    221 require_once( 'admin-footer.php' ); 
     219<?php require_once( 'admin-footer.php' ); ?> 
  • wp-admin/theme-editor.php

     
    241241} 
    242242 
    243243include("admin-footer.php"); 
     244 
     245?> 
  • wp-admin/theme-install.php

     
    7575        <br class="clear" /> 
    7676        <?php do_action('install_themes_' . $tab, $paged); ?> 
    7777</div> 
    78 <?php 
    79 include('admin-footer.php'); 
     78<?php include('admin-footer.php'); ?> 
  • wp-admin/update-core.php

     
    446446} 
    447447 
    448448include('admin-footer.php'); 
     449 
     450?> 
  • wp-admin/update.php

     
    247247        } else { 
    248248                do_action('update-custom_' . $action); 
    249249        } 
    250 } 
    251  No newline at end of file 
     250} 
     251 
     252?> 
  • wp-admin/upload.php

     
    491491 
    492492</div> 
    493493 
    494 <?php 
    495 include('admin-footer.php'); 
     494<?php include('admin-footer.php'); ?> 
  • wp-admin/widgets.php

     
    404404<?php 
    405405do_action( 'sidebar_admin_page' ); 
    406406require_once( 'admin-footer.php' ); 
     407?> 
  • wp-cron.php

     
    5858} 
    5959 
    6060die(); 
     61 
     62?> 
  • wp-includes/class-feed.php

     
    100100                        } 
    101101                } 
    102102        } 
    103 } 
    104  No newline at end of file 
     103} 
     104 
     105?> 
  • wp-includes/class-http.php

     
    20002000        function is_available() { 
    20012001                return ( function_exists('gzuncompress') || function_exists('gzdeflate') || function_exists('gzinflate') ); 
    20022002        } 
    2003 } 
    2004  No newline at end of file 
     2003} 
     2004 
     2005?> 
  • wp-includes/class.wp-dependencies.php

     
    241241                return true; 
    242242        } 
    243243} 
     244 
     245?> 
  • wp-includes/class.wp-scripts.php

     
    200200                $this->ext_handles = ''; 
    201201        } 
    202202} 
     203 
     204?> 
  • wp-includes/class.wp-styles.php

     
    124124        } 
    125125 
    126126} 
     127 
     128?> 
  • wp-includes/compat.php

     
    168168        } 
    169169        return $parts; 
    170170} 
     171 
     172?> 
  • wp-includes/cron.php

     
    398398function check_server_timer( $local_time ) { 
    399399        return true; 
    400400} 
     401 
     402?> 
  • wp-includes/default-filters.php

     
    243243// Admin Color Schemes 
    244244add_action( 'admin_init', 'register_admin_color_schemes', 1); 
    245245add_action( 'admin_color_scheme_picker', 'admin_color_scheme_picker' ); 
     246 
     247?> 
  • wp-includes/default-widgets.php

     
    11451145} 
    11461146 
    11471147add_action('init', 'wp_widgets_init', 1); 
     1148 
     1149?> 
  • wp-includes/deprecated.php

     
    24592459function get_usernumposts( $userid ) { 
    24602460        _deprecated_function( __FUNCTION__, '3.0', 'count_user_posts()' ); 
    24612461        return count_user_posts( $userid ); 
    2462 } 
    2463  No newline at end of file 
     2462} 
     2463 
     2464?> 
  • wp-includes/feed.php

     
    534534 
    535535        return $feed; 
    536536} 
     537 
     538?> 
  • wp-includes/functions.wp-scripts.php

     
    131131 
    132132        return $query; 
    133133} 
     134 
     135?> 
  • wp-includes/functions.wp-styles.php

     
    129129 
    130130        return $query; 
    131131} 
     132 
     133?> 
  • wp-includes/kses.php

     
    13201320 
    13211321        return $css; 
    13221322} 
     1323 
     1324?> 
  • wp-includes/media.php

     
    13511351        $oembed = _wp_oembed_get_object(); 
    13521352        $oembed->providers[$format] = array( $provider, $regex ); 
    13531353} 
     1354 
     1355?> 
  • wp-includes/ms-load.php

     
    210210 
    211211        die( $msg ); 
    212212} 
     213 
     214?> 
  • wp-includes/ms-settings.php

     
    127127 
    128128// Define upload directory constants 
    129129ms_upload_constants(); 
     130 
     131?> 
  • wp-includes/pluggable-deprecated.php

     
    112112} 
    113113else : 
    114114        _deprecated_function( 'wp_login', '2.5', 'wp_signon()' ); 
    115 endif; 
    116  No newline at end of file 
     115endif; 
     116 
     117?> 
  • wp-includes/pluggable.php

     
    17631763        return $r; 
    17641764} 
    17651765endif; 
     1766 
     1767?> 
  • wp-includes/pomo/entry.php

     
    6666                return is_null($this->context)? $this->singular : $this->context.chr(4).$this->singular; 
    6767        } 
    6868} 
    69 endif; 
    70  No newline at end of file 
     69endif; 
     70 
     71?> 
  • wp-includes/pomo/mo.php

     
    228228                return $this->_nplurals; 
    229229        } 
    230230} 
    231 endif; 
    232  No newline at end of file 
     231endif; 
     232 
     233?> 
  • wp-includes/pomo/po.php

     
    361361        } 
    362362} 
    363363endif; 
     364 
     365?> 
  • wp-includes/pomo/streams.php

     
    206206                parent::POMO_CachedFileReader($filename); 
    207207        } 
    208208} 
    209 endif; 
    210  No newline at end of file 
     209endif; 
     210 
     211?> 
  • wp-includes/pomo/translations.php

     
    251251        } 
    252252} 
    253253endif; 
     254 
     255?> 
  • wp-includes/post-template.php

     
    12301230        endif; 
    12311231 
    12321232} 
     1233?> 
  • wp-includes/post.php

     
    45864586                add_filter('the_preview', '_set_preview'); 
    45874587        } 
    45884588} 
     4589 
     4590?> 
  • wp-includes/script-loader.php

     
    765765 
    766766add_action( 'wp_default_styles', 'wp_default_styles' ); 
    767767add_filter( 'style_loader_src', 'wp_style_loader_src', 10, 2 ); 
     768 
     769?> 
  • wp-includes/Text/Diff.php

     
    448448    } 
    449449 
    450450} 
     451 
     452?> 
  • wp-includes/Text/Diff/Engine/native.php

     
    434434    } 
    435435 
    436436} 
     437 
     438?> 
  • wp-includes/Text/Diff/Engine/shell.php

     
    160160    } 
    161161 
    162162} 
     163 
     164?> 
  • wp-includes/Text/Diff/Engine/string.php

     
    246246    } 
    247247 
    248248} 
     249 
     250?> 
  • wp-includes/Text/Diff/Engine/xdiff.php

     
    6262    } 
    6363 
    6464} 
     65 
     66?> 
  • wp-includes/Text/Diff/Renderer.php

     
    233233    } 
    234234 
    235235} 
     236 
     237?> 
  • wp-includes/Text/Diff/Renderer/inline.php

     
    204204    } 
    205205 
    206206} 
     207 
     208?> 
  • wp-includes/version.php

     
    4444 * @global string $required_mysql_version 
    4545 */ 
    4646$required_mysql_version = '4.1.2'; 
     47 
     48?> 
     49 No newline at end of file 
  • wp-includes/widgets.php

     
    12081208function _get_widget_id_base($id) { 
    12091209        return preg_replace( '/-[0-9]+$/', '', $id ); 
    12101210} 
     1211 
     1212?>