mirror of
https://github.com/10h30/ultimatemember.git
synced 2026-06-05 15:09:37 +09:00
"Align array keys in allowed HTML definitions for clarity.
Standardized indentation across the allowed HTML keys to improve readability and maintain consistency in the codebase. This change ensures better alignment, making it easier to navigate and understand the structure."
This commit is contained in:
@@ -554,6 +554,28 @@ if ( ! class_exists( 'UM_Functions' ) ) {
|
|||||||
'href' => true,
|
'href' => true,
|
||||||
'media' => true,
|
'media' => true,
|
||||||
),
|
),
|
||||||
|
'svg' => array(
|
||||||
|
'xmlns' => true,
|
||||||
|
'height' => true,
|
||||||
|
'preserveaspectratio' => true,
|
||||||
|
'viewbox' => true,
|
||||||
|
'width' => true,
|
||||||
|
'x' => true,
|
||||||
|
'y' => true,
|
||||||
|
'fill' => true,
|
||||||
|
'stroke' => true,
|
||||||
|
'stroke-linecap' => true,
|
||||||
|
'stroke-linejoin' => true,
|
||||||
|
'stroke-width' => true,
|
||||||
|
),
|
||||||
|
'path' => array(
|
||||||
|
'd' => true,
|
||||||
|
'stroke' => true,
|
||||||
|
'stroke-width' => true,
|
||||||
|
'stroke-linecap' => true,
|
||||||
|
'stroke-linejoin' => true,
|
||||||
|
'fill' => true,
|
||||||
|
),
|
||||||
'form' => array(
|
'form' => array(
|
||||||
'action' => true,
|
'action' => true,
|
||||||
'accept' => true,
|
'accept' => true,
|
||||||
@@ -562,6 +584,7 @@ if ( ! class_exists( 'UM_Functions' ) ) {
|
|||||||
'method' => true,
|
'method' => true,
|
||||||
'name' => true,
|
'name' => true,
|
||||||
'target' => true,
|
'target' => true,
|
||||||
|
'novalidate' => true,
|
||||||
),
|
),
|
||||||
'label' => array(
|
'label' => array(
|
||||||
'for' => true,
|
'for' => true,
|
||||||
@@ -606,6 +629,19 @@ if ( ! class_exists( 'UM_Functions' ) ) {
|
|||||||
'readonly' => true,
|
'readonly' => true,
|
||||||
'required' => true,
|
'required' => true,
|
||||||
'autocomplete' => true,
|
'autocomplete' => true,
|
||||||
|
'placeholder' => true,
|
||||||
|
),
|
||||||
|
'button' => array(
|
||||||
|
'type' => true,
|
||||||
|
'name' => true,
|
||||||
|
'value' => true,
|
||||||
|
'placeholder' => true,
|
||||||
|
'readonly' => true,
|
||||||
|
'disabled' => true,
|
||||||
|
'checked' => true,
|
||||||
|
'selected' => true,
|
||||||
|
'required' => true,
|
||||||
|
'autocomplete' => true,
|
||||||
),
|
),
|
||||||
'img' => array(
|
'img' => array(
|
||||||
'alt' => true,
|
'alt' => true,
|
||||||
@@ -630,6 +666,15 @@ if ( ! class_exists( 'UM_Functions' ) ) {
|
|||||||
'h3' => array(
|
'h3' => array(
|
||||||
'align' => true,
|
'align' => true,
|
||||||
),
|
),
|
||||||
|
'h4' => array(
|
||||||
|
'align' => true,
|
||||||
|
),
|
||||||
|
'h5' => array(
|
||||||
|
'align' => true,
|
||||||
|
),
|
||||||
|
'h6' => array(
|
||||||
|
'align' => true,
|
||||||
|
),
|
||||||
'p' => array(
|
'p' => array(
|
||||||
'align' => true,
|
'align' => true,
|
||||||
'dir' => true,
|
'dir' => true,
|
||||||
@@ -641,6 +686,81 @@ if ( ! class_exists( 'UM_Functions' ) ) {
|
|||||||
'time' => array(
|
'time' => array(
|
||||||
'datetime' => true,
|
'datetime' => true,
|
||||||
),
|
),
|
||||||
|
'section' => array(),
|
||||||
|
'table' => array(
|
||||||
|
'align' => true,
|
||||||
|
'bgcolor' => true,
|
||||||
|
'border' => true,
|
||||||
|
'cellpadding' => true,
|
||||||
|
'cellspacing' => true,
|
||||||
|
'dir' => true,
|
||||||
|
'rules' => true,
|
||||||
|
'summary' => true,
|
||||||
|
'width' => true,
|
||||||
|
),
|
||||||
|
'tbody' => array(
|
||||||
|
'align' => true,
|
||||||
|
'char' => true,
|
||||||
|
'charoff' => true,
|
||||||
|
'valign' => true,
|
||||||
|
),
|
||||||
|
'thead' => array(
|
||||||
|
'align' => true,
|
||||||
|
'char' => true,
|
||||||
|
'charoff' => true,
|
||||||
|
'valign' => true,
|
||||||
|
),
|
||||||
|
'th' => array(
|
||||||
|
'abbr' => true,
|
||||||
|
'align' => true,
|
||||||
|
'axis' => true,
|
||||||
|
'bgcolor' => true,
|
||||||
|
'char' => true,
|
||||||
|
'charoff' => true,
|
||||||
|
'colspan' => true,
|
||||||
|
'headers' => true,
|
||||||
|
'height' => true,
|
||||||
|
'nowrap' => true,
|
||||||
|
'rowspan' => true,
|
||||||
|
'scope' => true,
|
||||||
|
'valign' => true,
|
||||||
|
'width' => true,
|
||||||
|
),
|
||||||
|
'tr' => array(
|
||||||
|
'align' => true,
|
||||||
|
'bgcolor' => true,
|
||||||
|
'char' => true,
|
||||||
|
'charoff' => true,
|
||||||
|
'valign' => true,
|
||||||
|
),
|
||||||
|
'td' => array(
|
||||||
|
'abbr' => true,
|
||||||
|
'align' => true,
|
||||||
|
'axis' => true,
|
||||||
|
'bgcolor' => true,
|
||||||
|
'char' => true,
|
||||||
|
'charoff' => true,
|
||||||
|
'colspan' => true,
|
||||||
|
'dir' => true,
|
||||||
|
'headers' => true,
|
||||||
|
'height' => true,
|
||||||
|
'nowrap' => true,
|
||||||
|
'rowspan' => true,
|
||||||
|
'scope' => true,
|
||||||
|
'valign' => true,
|
||||||
|
'width' => true,
|
||||||
|
),
|
||||||
|
'tfoot' => array(
|
||||||
|
'align' => true,
|
||||||
|
'char' => true,
|
||||||
|
'charoff' => true,
|
||||||
|
'valign' => true,
|
||||||
|
),
|
||||||
|
'noscript' => array(),
|
||||||
|
'del' => array(),
|
||||||
|
'blockquote' => array(
|
||||||
|
'cite' => true,
|
||||||
|
),
|
||||||
);
|
);
|
||||||
break;
|
break;
|
||||||
case 'admin_notice':
|
case 'admin_notice':
|
||||||
|
|||||||
Reference in New Issue
Block a user