Changeset 6026 for trunk/wp-includes/kses.php
- Timestamp:
- 09/03/2007 11:32:58 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/kses.php
r5787 r6026 20 20 if (!CUSTOM_TAGS) { 21 21 $allowedposttags = array( 22 'address' => array(), 22 'address' => array(), 23 23 'a' => array( 24 'href' => array(), 'title' => array(), 25 'rel' => array(), 'rev' => array(), 24 'href' => array(), 'title' => array(), 25 'rel' => array(), 'rev' => array(), 26 26 'name' => array() 27 ), 27 ), 28 28 'abbr' => array( 29 29 'title' => array(), 'class' => array() 30 ), 30 ), 31 31 'acronym' => array( 32 32 'title' => array() 33 ), 34 'b' => array(), 35 'big' => array(), 33 ), 34 'b' => array(), 35 'big' => array(), 36 36 'blockquote' => array( 37 'cite' => array(), 'xml:lang' => array(), 37 'cite' => array(), 'xml:lang' => array(), 38 38 'lang' => array() 39 ), 40 'br' => array(), 39 ), 40 'br' => array(), 41 41 'button' => array( 42 'disabled' => array(), 'name' => array(), 42 'disabled' => array(), 'name' => array(), 43 43 'type' => array(), 'value' => array() 44 ), 44 ), 45 45 'caption' => array( 46 46 'align' => array() 47 ), 48 'code' => array(), 47 ), 48 'code' => array(), 49 49 'col' => array( 50 'align' => array(), 'char' => array(), 51 'charoff' => array(), 'span' => array(), 50 'align' => array(), 'char' => array(), 51 'charoff' => array(), 'span' => array(), 52 52 'valign' => array(), 'width' => array() 53 ), 53 ), 54 54 'del' => array( 55 55 'datetime' => array() 56 ), 57 'dd' => array(), 56 ), 57 'dd' => array(), 58 58 'div' => array( 59 'align' => array(), 'xml:lang' => array(), 59 'align' => array(), 'xml:lang' => array(), 60 60 'lang' => array() 61 ), 62 'dl' => array(), 63 'dt' => array(), 64 'em' => array(), 65 'fieldset' => array(), 61 ), 62 'dl' => array(), 63 'dt' => array(), 64 'em' => array(), 65 'fieldset' => array(), 66 66 'font' => array( 67 'color' => array(), 'face' => array(), 67 'color' => array(), 'face' => array(), 68 68 'size' => array() 69 ), 69 ), 70 70 'form' => array( 71 'action' => array(), 'accept' => array(), 72 'accept-charset' => array(), 'enctype' => array(), 73 'method' => array(), 'name' => array(), 71 'action' => array(), 'accept' => array(), 72 'accept-charset' => array(), 'enctype' => array(), 73 'method' => array(), 'name' => array(), 74 74 'target' => array() 75 ), 75 ), 76 76 'h1' => array( 77 77 'align' => array() 78 ), 78 ), 79 79 'h2' => array( 80 80 'align' => array() 81 ), 81 ), 82 82 'h3' => array( 83 83 'align' => array() 84 ), 84 ), 85 85 'h4' => array( 86 86 'align' => array() 87 ), 87 ), 88 88 'h5' => array( 89 89 'align' => array() 90 ), 90 ), 91 91 'h6' => array( 92 92 'align' => array() 93 ), 93 ), 94 94 'hr' => array( 95 'align' => array(), 'noshade' => array(), 95 'align' => array(), 'noshade' => array(), 96 96 'size' => array(), 'width' => array() 97 ), 98 'i' => array(), 97 ), 98 'i' => array(), 99 99 'img' => array( 100 'alt' => array(), 'align' => array(), 101 'border' => array(), 'height' => array(), 102 'hspace' => array(), 'longdesc' => array(), 103 'vspace' => array(), 'src' => array(), 100 'alt' => array(), 'align' => array(), 101 'border' => array(), 'height' => array(), 102 'hspace' => array(), 'longdesc' => array(), 103 'vspace' => array(), 'src' => array(), 104 104 'width' => array() 105 ), 105 ), 106 106 'ins' => array( 107 107 'datetime' => array(), 'cite' => array() 108 ), 109 'kbd' => array(), 108 ), 109 'kbd' => array(), 110 110 'label' => array( 111 111 'for' => array() 112 ), 112 ), 113 113 'legend' => array( 114 114 'align' => array() 115 ), 116 'li' => array(), 115 ), 116 'li' => array(), 117 117 'p' => array( 118 'align' => array(), 'xml:lang' => array(), 118 'align' => array(), 'xml:lang' => array(), 119 119 'lang' => array() 120 ), 120 ), 121 121 'pre' => array( 122 122 'width' => array() 123 ), 123 ), 124 124 'q' => array( 125 125 'cite' => array() 126 ), 127 's' => array(), 128 'strike' => array(), 129 'strong' => array(), 130 'sub' => array(), 131 'sup' => array(), 126 ), 127 's' => array(), 128 'strike' => array(), 129 'strong' => array(), 130 'sub' => array(), 131 'sup' => array(), 132 132 'table' => array( 133 'align' => array(), 'bgcolor' => array(), 134 'border' => array(), 'cellpadding' => array(), 135 'cellspacing' => array(), 'rules' => array(), 133 'align' => array(), 'bgcolor' => array(), 134 'border' => array(), 'cellpadding' => array(), 135 'cellspacing' => array(), 'rules' => array(), 136 136 'summary' => array(), 'width' => array() 137 ), 137 ), 138 138 'tbody' => array( 139 'align' => array(), 'char' => array(), 139 'align' => array(), 'char' => array(), 140 140 'charoff' => array(), 'valign' => array() 141 ), 141 ), 142 142 'td' => array( 143 'abbr' => array(), 'align' => array(), 144 'axis' => array(), 'bgcolor' => array(), 145 'char' => array(), 'charoff' => array(), 146 'colspan' => array(), 'headers' => array(), 147 'height' => array(), 'nowrap' => array(), 148 'rowspan' => array(), 'scope' => array(), 143 'abbr' => array(), 'align' => array(), 144 'axis' => array(), 'bgcolor' => array(), 145 'char' => array(), 'charoff' => array(), 146 'colspan' => array(), 'headers' => array(), 147 'height' => array(), 'nowrap' => array(), 148 'rowspan' => array(), 'scope' => array(), 149 149 'valign' => array(), 'width' => array() 150 ), 150 ), 151 151 'textarea' => array( 152 'cols' => array(), 'rows' => array(), 153 'disabled' => array(), 'name' => array(), 152 'cols' => array(), 'rows' => array(), 153 'disabled' => array(), 'name' => array(), 154 154 'readonly' => array() 155 ), 155 ), 156 156 'tfoot' => array( 157 'align' => array(), 'char' => array(), 157 'align' => array(), 'char' => array(), 158 158 'charoff' => array(), 'valign' => array() 159 ), 159 ), 160 160 'th' => array( 161 'abbr' => array(), 'align' => array(), 162 'axis' => array(), 'bgcolor' => array(), 163 'char' => array(), 'charoff' => array(), 164 'colspan' => array(), 'headers' => array(), 165 'height' => array(), 'nowrap' => array(), 166 'rowspan' => array(), 'scope' => array(), 161 'abbr' => array(), 'align' => array(), 162 'axis' => array(), 'bgcolor' => array(), 163 'char' => array(), 'charoff' => array(), 164 'colspan' => array(), 'headers' => array(), 165 'height' => array(), 'nowrap' => array(), 166 'rowspan' => array(), 'scope' => array(), 167 167 'valign' => array(), 'width' => array() 168 ), 168 ), 169 169 'thead' => array( 170 'align' => array(), 'char' => array(), 170 'align' => array(), 'char' => array(), 171 171 'charoff' => array(), 'valign' => array() 172 ), 173 'title' => array(), 172 ), 173 'title' => array(), 174 174 'tr' => array( 175 'align' => array(), 'bgcolor' => array(), 176 'char' => array(), 'charoff' => array(), 175 'align' => array(), 'bgcolor' => array(), 176 'char' => array(), 'charoff' => array(), 177 177 'valign' => array() 178 ), 179 'tt' => array(), 180 'u' => array(), 181 'ul' => array(), 182 'ol' => array(), 178 ), 179 'tt' => array(), 180 'u' => array(), 181 'ul' => array(), 182 'ol' => array(), 183 183 'var' => array() 184 184 ); … … 187 187 'a' => array( 188 188 'href' => array(), 'title' => array() 189 ), 189 ), 190 190 'abbr' => array( 191 191 'title' => array() 192 ), 192 ), 193 193 'acronym' => array( 194 194 'title' => array() 195 ), 196 'b' => array(), 195 ), 196 'b' => array(), 197 197 'blockquote' => array( 198 198 'cite' => array() … … 204 204 // 'dl' => array(), 205 205 // 'dt' => array(), 206 'em' => array(), 206 'em' => array(), 207 207 'i' => array(), 208 208 // 'ins' => array('datetime' => array(), 'cite' => array()), … … 211 211 // 'p' => array(), 212 212 // 'q' => array(), 213 'strike' => array(), 213 'strike' => array(), 214 214 'strong' => array(), 215 215 // 'sub' => array(),
Note: See TracChangeset
for help on using the changeset viewer.