Make WordPress Core

Changeset 5870


Ignore:
Timestamp:
08/14/2007 03:12:24 AM (19 years ago)
Author:
ryan
Message:

Space before slash to properly close br tag. Props tmountjr. fixes #4717

Location:
trunk
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/import/mt.php

    r5820 r5870  
    170170        }
    171171
    172         echo '<input type="submit" value="'.__('Submit').'">'.'<br/>';
     172        echo '<input type="submit" value="'.__('Submit').'">'.'<br />';
    173173        echo '</form>';
    174174        echo '</ol></div>';
  • trunk/wp-admin/import/wordpress.php

    r5802 r5870  
    198198        }
    199199
    200         echo '<input type="submit" value="Submit">'.'<br/>';
     200        echo '<input type="submit" value="Submit">'.'<br />';
    201201        echo '</form>';
    202202        echo '</ol>';
  • trunk/wp-admin/includes/upgrade.php

    r5867 r5870  
    981981                        if(!(($aindex = array_search($index_string, $indices)) === false)) {
    982982                            unset($indices[$aindex]);
    983                             //echo "<pre style=\"border:1px solid #ccc;margin-top:5px;\">{$table}:<br/>Found index:".$index_string."</pre>\n";
     983                            //echo "<pre style=\"border:1px solid #ccc;margin-top:5px;\">{$table}:<br />Found index:".$index_string."</pre>\n";
    984984                        }
    985                         //else echo "<pre style=\"border:1px solid #ccc;margin-top:5px;\">{$table}:<br/><b>Did not find index:</b>".$index_string."<br/>".print_r($indices, true)."</pre>\n";
     985                        //else echo "<pre style=\"border:1px solid #ccc;margin-top:5px;\">{$table}:<br /><b>Did not find index:</b>".$index_string."<br />".print_r($indices, true)."</pre>\n";
    986986                    }
    987987                }
  • trunk/wp-includes/cache.php

    r5666 r5870  
    356356    function stats() {
    357357        echo "<p>";
    358         echo "<strong>Cold Cache Hits:</strong> {$this->cold_cache_hits}<br/>";
    359         echo "<strong>Warm Cache Hits:</strong> {$this->warm_cache_hits}<br/>";
    360         echo "<strong>Cache Misses:</strong> {$this->cache_misses}<br/>";
     358        echo "<strong>Cold Cache Hits:</strong> {$this->cold_cache_hits}<br />";
     359        echo "<strong>Warm Cache Hits:</strong> {$this->warm_cache_hits}<br />";
     360        echo "<strong>Cache Misses:</strong> {$this->cache_misses}<br />";
    361361        echo "</p>";
    362362
    363363        foreach ($this->cache as $group => $cache) {
    364364            echo "<p>";
    365             echo "<strong>Group:</strong> $group<br/>";
     365            echo "<strong>Group:</strong> $group<br />";
    366366            echo "<strong>Cache:</strong>";
    367367            echo "<pre>";
  • trunk/wp-includes/capabilities.php

    r5575 r5870  
    268268        $capabilities = apply_filters('user_has_cap', $this->allcaps, $caps, $args);
    269269        foreach ($caps as $cap) {
    270             //echo "Checking cap $cap<br/>";
     270            //echo "Checking cap $cap<br />";
    271271            if(empty($capabilities[$cap]) || !$capabilities[$cap])
    272272                return false;
     
    296296    case 'delete_post':
    297297        $author_data = get_userdata($user_id);
    298         //echo "post ID: {$args[0]}<br/>";
     298        //echo "post ID: {$args[0]}<br />";
    299299        $post = get_post($args[0]);
    300300        if ( 'page' == $post->post_type ) {
     
    303303        }
    304304        $post_author_data = get_userdata($post->post_author);
    305         //echo "current user id : $user_id, post author id: " . $post_author_data->ID . "<br/>";
     305        //echo "current user id : $user_id, post author id: " . $post_author_data->ID . "<br />";
    306306        // If the user is the author...
    307307        if ($user_id == $post_author_data->ID) {
     
    324324    case 'delete_page':
    325325        $author_data = get_userdata($user_id);
    326         //echo "post ID: {$args[0]}<br/>";
     326        //echo "post ID: {$args[0]}<br />";
    327327        $page = get_page($args[0]);
    328328        $page_author_data = get_userdata($page->post_author);
    329         //echo "current user id : $user_id, page author id: " . $page_author_data->ID . "<br/>";
     329        //echo "current user id : $user_id, page author id: " . $page_author_data->ID . "<br />";
    330330        // If the user is the author...
    331331        if ($user_id == $page_author_data->ID) {
     
    350350    case 'edit_post':
    351351        $author_data = get_userdata($user_id);
    352         //echo "post ID: {$args[0]}<br/>";
     352        //echo "post ID: {$args[0]}<br />";
    353353        $post = get_post($args[0]);
    354354        if ( 'page' == $post->post_type ) {
     
    357357        }
    358358        $post_author_data = get_userdata($post->post_author);
    359         //echo "current user id : $user_id, post author id: " . $post_author_data->ID . "<br/>";
     359        //echo "current user id : $user_id, post author id: " . $post_author_data->ID . "<br />";
    360360        // If the user is the author...
    361361        if ($user_id == $post_author_data->ID) {
     
    378378    case 'edit_page':
    379379        $author_data = get_userdata($user_id);
    380         //echo "post ID: {$args[0]}<br/>";
     380        //echo "post ID: {$args[0]}<br />";
    381381        $page = get_page($args[0]);
    382382        $page_author_data = get_userdata($page->post_author);
    383         //echo "current user id : $user_id, page author id: " . $page_author_data->ID . "<br/>";
     383        //echo "current user id : $user_id, page author id: " . $page_author_data->ID . "<br />";
    384384        // If the user is the author...
    385385        if ($user_id == $page_author_data->ID) {
  • trunk/wp-includes/js/scriptaculous/unittest.js

    r5792 r5870  
    122122  },
    123123  _toHTML: function(txt) {
    124     return txt.escapeHTML().replace(/\n/g,"<br/>");
     124    return txt.escapeHTML().replace(/\n/g,"<br />");
    125125  },
    126126  addLinksToResults: function(){
Note: See TracChangeset for help on using the changeset viewer.