Changeset 894
- Timestamp:
- 02/21/07 11:12:52 (2 years ago)
- Files:
-
- trunk/wp-content/themes/default/comments.php (modified) (1 diff)
- trunk/wp-includes/category-template.php (modified) (1 diff)
- trunk/wp-includes/formatting.php (modified) (1 diff)
- trunk/wp-includes/js/jquery (added)
- trunk/wp-includes/js/jquery/interface.js (added)
- trunk/wp-includes/js/jquery/jquery.js (added)
- trunk/wp-includes/script-loader.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/wp-content/themes/default/comments.php
r810 r894 89 89 <?php endif; ?> 90 90 91 <!--<p><small><strong>XHTML:</strong> You can use these tags: < ?php echo allowed_tags(); ?></small></p>-->91 <!--<p><small><strong>XHTML:</strong> You can use these tags: <code><?php echo allowed_tags(); ?></code></small></p>--> 92 92 93 93 <p><textarea name="comment" id="comment" cols="100%" rows="10" tabindex="4"></textarea></p> trunk/wp-includes/category-template.php
r888 r894 75 75 76 76 if ( !empty($categories) ) 77 sort($categories);77 usort($categories, '_get_the_category_usort'); 78 78 else 79 79 $categories = array(); 80 80 81 81 return $categories; 82 } 83 84 function _get_the_category_usort($a, $b) { 85 return strcmp($a->category_name, $b->category_name); 82 86 } 83 87 trunk/wp-includes/formatting.php
r890 r894 57 57 $pee = preg_replace('|<br />\s*<br />|', "\n\n", $pee); 58 58 // Space things out a little 59 $allblocks = '(?:table|thead|tfoot|caption|colgroup|tbody|tr|td|th|div|dl|dd|dt|ul|ol|li|pre|select|form| blockquote|address|math|style|script|object|input|param|p|h[1-6])';59 $allblocks = '(?:table|thead|tfoot|caption|colgroup|tbody|tr|td|th|div|dl|dd|dt|ul|ol|li|pre|select|form|map|area|blockquote|address|math|style|script|object|input|param|p|h[1-6])'; 60 60 $pee = preg_replace('!(<' . $allblocks . '[^>]*>)!', "\n$1", $pee); 61 61 $pee = preg_replace('!(</' . $allblocks . '>)!', "$1\n\n", $pee); trunk/wp-includes/script-loader.php
r890 r894 31 31 $this->add( 'scriptaculous', '', array('scriptaculous-dragdrop', 'scriptaculous-slider', 'scriptaculous-controls'), '1.7.0'); 32 32 $this->add( 'cropper', '/wp-includes/js/crop/cropper.js', array('scriptaculous-dragdrop'), '20070118'); 33 $this->add( 'jquery', '/wp-includes/js/jquery/jquery.js', false, '1.1.1'); 34 $this->add( 'interface', '/wp-includes/js/jquery/interface.js', array('jquery'), '1.1.1'); 33 35 if ( is_admin() ) { 34 36 $this->add( 'dbx-admin-key', '/wp-admin/dbx-admin-key-js.php', array('dbx'), '3651' ); … … 40 42 $this->add( 'xfn', '/wp-admin/xfn.js', false, '3517' ); 41 43 $this->add( 'upload', '/wp-admin/upload-js.php', array('prototype'), '20070118' ); 42 $this->add( 'jquery', '/wp-includes/js/jquery-latest.pack.js', false, '1.0.3' );43 44 } 44 45 }
