Changes name of a variable in the comments to keep consistency with other settings.

This commit is contained in:
mateuswetah 2024-10-31 15:18:21 -03:00
parent 14efdb3238
commit 72fa2ee634
2 changed files with 3 additions and 3 deletions

View File

@ -499,7 +499,7 @@ class Theme_Helper {
* @type bool $hide_hide_filters_button Hides the button resonsible for collpasing filters sidebar on desktop
* @type bool $hide_search Hides the complete search bar, including advanced search link
* @type bool $hide_advanced_search Hides only the advanced search link
* @type bool $hide_displayed_metadata_dropdown Hides the "Displayed metadata" dropdown even if the current view modes allows it
* @type bool $hide_displayed_metadata_button Hides the "Displayed metadata" dropdown even if the current view modes allows it
* @type bool $hide_sorting_area Completely hides all sorting controls
* @type bool $hide_sort_by_button Hides the button where user can select the metadata to sort by items (keeps the sort direction)
* @type bool $hide_items_thumbnail Forces the thumbnail to be hiden on every listing. This setting also disables view modes that contain the 'requires-thumbnail' attr. By default is false or inherited from collection setting
@ -598,7 +598,7 @@ class Theme_Helper {
$props .= 'data-' . str_replace("_", "-", $key) . "='" . $value . "' ";
}
}
$allowed_html = [
'div' => [
'id' => true,

View File

@ -698,7 +698,7 @@ function tainacan_is_view_mode_enabled($view_mode_slug) {
* @type bool $hide_hide_filters_button Hides the button resonsible for collpasing filters sidebar on desktop
* @type bool $hide_search Hides the complete search bar, including advanced search link
* @type bool $hide_advanced_search Hides only the advanced search link
* @type bool $hide_displayed_metadata_dropdown Hides the "Displayed metadata" dropdown even if the current view modes allows it
* @type bool $hide_displayed_metadata_button Hides the "Displayed metadata" dropdown even if the current view modes allows it
* @type bool $hide_sorting_area Completely hides all sorting controls
* @type bool $hide_sort_by_button Hides the button where user can select the metadata to sort by items (keeps the sort direction)
* @type bool $hide_items_thumbnail Forces the thumbnail to be hiden on every listing. This setting also disables view modes that contain the 'requires-thumbnail' attr. By default is false or inherited from collection setting