Make WordPress Core

Ticket #31604: highlight-test.diff

File highlight-test.diff, 1.6 KB (added by karmatosed, 8 years ago)

Test of highlight button

  • wp-admin/css/common.css

     
    14611461        margin: 5px 0 15px;
    14621462}
    14631463
     1464.wrap #templateside .notice{
     1465        display: block;
     1466        padding: 1px 12px;
     1467        font-weight: 600;
     1468        text-decoration: none;
     1469}
     1470
    14641471/* Update icon. */
    14651472.update-message p:before,
    14661473.updating-message p:before,
  • wp-admin/plugin-editor.php

     
    322322                continue;
    323323        }
    324324?>
    325                 <li<?php echo $file == $plugin_file ? ' class="highlight"' : ''; ?>><a href="plugin-editor.php?file=<?php echo urlencode( $plugin_file ) ?>&amp;plugin=<?php echo urlencode( $plugin ) ?>"><?php echo esc_html( $plugin_file ); ?></a></li>
     325                <li<?php echo $file == $plugin_file ? ' class="notice notice-info"' : ''; ?>><a href="plugin-editor.php?file=<?php echo urlencode( $plugin_file ) ?>&amp;plugin=<?php echo urlencode( $plugin ) ?>"><?php echo esc_html( $plugin_file ); ?></a></li>
    326326<?php endforeach; ?>
    327327        </ul>
    328328</div>
  • wp-admin/theme-editor.php

     
    283283                }
    284284
    285285                if ( $absolute_filename === $file ) {
    286                         $file_description = '<span class="highlight">' . $file_description . '</span>';
     286                        $file_description = '<span class="notice notice-info">' . $file_description . '</span>';
    287287                }
    288288
    289289                $previous_file_type = $file_type;