Ticket #5607: remove_admin_notices15.diff
File remove_admin_notices15.diff, 1.7 KB (added by , 17 years ago) |
---|
-
wp-admin/link-manager.php
129 129 $short_url = substr($short_url, 0, 32).'...'; 130 130 131 131 $visible = ($link->link_visible == 'Y') ? __('Yes') : __('No'); 132 ++ $i; 132 if ( isset($i) ) 133 ++ $i; 134 else 135 $i = 1; 133 136 $style = ($i % 2) ? '' : ' class="alternate"'; 134 137 ?><tr id="link-<?php echo $link->link_id; ?>" valign="middle" <?php echo $style; ?>><?php 135 138 foreach($link_columns as $column_name=>$column_display_name) { -
wp-admin/plugin-editor.php
55 55 if ( !current_user_can('edit_plugins') ) 56 56 wp_die('<p>'.__('You do not have sufficient permissions to edit plugins for this blog.').'</p>'); 57 57 58 if ( $_GET['liveupdate']) {58 if ( ! empty($_GET['liveupdate']) ) { 59 59 check_admin_referer('edit-plugin-test_' . $file); 60 60 $current = get_option('active_plugins'); 61 61 $plugin = $file; -
wp-admin/edit-pages.php
41 41 42 42 <form name="searchform" id="searchform" action="" method="get"> 43 43 <fieldset><legend><?php _e('Search Terms…') ?></legend> 44 <input type="text" name="s" id="s" value="<?php echo attribute_escape( stripslashes( $_GET['s'] ) ); ?>" size="17" />44 <input type="text" name="s" id="s" value="<?php echo ( isset($_GET['s']) ) ? attribute_escape( stripslashes( $_GET['s'] ) ) : ''; ?>" size="17" /> 45 45 </fieldset> 46 46 47 47