diff options
author | donncha <donncha@7be80a69-a1ef-0310-a953-fb0f7c49ff36> | 2006-09-27 14:25:06 +0000 |
---|---|---|
committer | donncha <donncha@7be80a69-a1ef-0310-a953-fb0f7c49ff36> | 2006-09-27 14:25:06 +0000 |
commit | 975439ecc7163247a96d5feec3920a1602943b73 (patch) | |
tree | 081c264a6d1aba471ec320cca6f2cffc10297469 /wp-admin/admin-functions.php | |
parent | 3504926f8687e7557e64c73bc668b90e5da64a76 (diff) | |
download | wordpress-mu-975439ecc7163247a96d5feec3920a1602943b73.tar.gz wordpress-mu-975439ecc7163247a96d5feec3920a1602943b73.tar.xz wordpress-mu-975439ecc7163247a96d5feec3920a1602943b73.zip |
WP Merge to rev 4258
git-svn-id: http://svn.automattic.com/wordpress-mu/trunk@774 7be80a69-a1ef-0310-a953-fb0f7c49ff36
Diffstat (limited to 'wp-admin/admin-functions.php')
-rw-r--r-- | wp-admin/admin-functions.php | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/wp-admin/admin-functions.php b/wp-admin/admin-functions.php index 1cfda29..5dd0794 100644 --- a/wp-admin/admin-functions.php +++ b/wp-admin/admin-functions.php @@ -760,7 +760,7 @@ function _cat_row( $category, $level, $name_override = false ) { $category->category_count = number_format( $category->category_count ); $category->link_count = number_format( $category->link_count ); return "<tr id='cat-$category->cat_ID'$class> - <th scope='row'>$category->cat_ID</th> + <th scope='row' style='text-align: center'>$category->cat_ID</th> <td>" . ( $name_override ? $name_override : $pad . ' ' . $category->cat_name ) . "</td> <td>$category->category_description</td> <td align='center'>$category->category_count</td> @@ -788,7 +788,7 @@ function page_rows($parent = 0, $level = 0, $pages = 0, $hierarchy = true) { $class = ('alternate' == $class) ? '' : 'alternate'; ?> <tr id='page-<?php echo $id; ?>' class='<?php echo $class; ?>'> - <th scope="row"><?php echo $post->ID; ?></th> + <th scope="row" style="text-align: center"><?php echo $post->ID; ?></th> <td> <?php echo $pad; ?><?php the_title() ?> <?php if ('private' == $post->post_status) _e(' - <strong>Private</strong>'); ?> @@ -2043,6 +2043,9 @@ function update_home_siteurl($old_value, $value) { wp_setcookie($user_login, $user_pass_md5, true, get_option('home'), get_option('siteurl')); } +add_action('update_option_home', 'update_home_siteurl', 10, 2); +add_action('update_option_siteurl', 'update_home_siteurl', 10, 2); + function autocomplete_css() { ?> <style type='text/css'> @@ -2084,9 +2087,6 @@ addLoadEvent( load_autocompleter ); <?php } -add_action('update_option_home', 'update_home_siteurl', 10, 2); -add_action('update_option_siteurl', 'update_home_siteurl', 10, 2); - function update_blog_public($old_value, $value) { global $wpdb; $value = (int) $value; @@ -2123,5 +2123,4 @@ The Webmaster" ); } add_action('update_option_new_admin_email', 'update_option_new_admin_email', 10, 2); - ?> |