Skip to content

Commit

Permalink
update core file
Browse files Browse the repository at this point in the history
  • Loading branch information
RichardCoffee committed Jun 29, 2020
1 parent 5ab6894 commit af695d5
Show file tree
Hide file tree
Showing 5 changed files with 468 additions and 6 deletions.
10 changes: 4 additions & 6 deletions classes/Trait/Attributes.php
Original file line number Diff line number Diff line change
Expand Up @@ -198,14 +198,12 @@ private function attr_nonce_check( $attrs ) {
'onkeydown',
'onkeyup',
);
$nonce_required = apply_filters( 'fluid_attr_nonce_required', $nonce_required );
$nonce_required = apply_filters( 'element_attribute_nonce_required', $nonce_required );
}
if ( ! array_key_exists( 'nonce', $attrs ) ) {
foreach( $nonce_required as $required ) {
if ( array_key_exists( $required, $attrs ) ) {
$attrs['nonce'] = static::$attr_javascript_nonce;
return $attrs;
}
$keys = array_keys( $attrs );
if ( array_intersect( $keys, $nonce_required ) ) {
$attrs['nonce'] = static::$attr_javascript_nonce;
}
}
return $attrs;
Expand Down
Binary file added languages/tcc-privacy-en_US.mo
Binary file not shown.
1 change: 1 addition & 0 deletions languages/tcc-privacy-en_US.po
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ msgstr ""
"PO-Revision-Date: 2018-03-23 02:52:14+00:00\n"
"Last-Translator: Automatically generated\n"
"Language-Team: none\n"
"Language: en_US\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"

#: classes/Form/Admin.php:103
Expand Down
Loading

0 comments on commit af695d5

Please sign in to comment.