Rename wp_caption shortcode to caption. Allow themes to disable captioning. Use dashes instead of underscores in class names. Props azaozz. see #6812

git-svn-id: https://develop.svn.wordpress.org/trunk@8313 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Ryan Boren
2008-07-11 15:59:14 +00:00
parent b3a7cce6ed
commit afd113dcf2
11 changed files with 78 additions and 37 deletions

View File

@@ -15,7 +15,7 @@ dl.aligncenter {
float: right;
}
.wp_caption {
.wp-caption {
border: 1px solid #ddd;
text-align: center;
background-color: #f3f3f3;
@@ -27,13 +27,13 @@ dl.aligncenter {
border-radius: 3px;
}
.wp_caption img {
.wp-caption img {
margin: 0;
padding: 0;
border: 0 none;
}
.wp_caption_dd {
.wp-caption-dd {
font-size: 11px;
line-height: 17px;
padding: 0 4px 5px;