fixes typos and tiny lints

This commit is contained in:
Rodrigo de Oliveira 2021-04-19 23:07:12 -03:00
parent 1e4107b4f0
commit 21bcf67db4
5 changed files with 4 additions and 13 deletions

View File

@ -17,7 +17,7 @@ For more information about Tainacan and Tainacan Interface please go to http://t
== Copyright ==
Tainacan Interface WordPress Theme, Copyright 2020 Tainacan.org
Tainacan Interface WordPress Theme, Copyright 2021 Tainacan.org
Tainacan Interface is distributed under the terms of the GNU GPL
This program is free software: you can redistribute it and/or modify

View File

@ -3,7 +3,7 @@ Theme Name: Tainacan Interface
Author: Tainacan
Author URI: https://tainacan.org
Theme URI: https://tainacan.org/blog/category/tema/
Description: This is the default theme for the Tainacan project. Use this in conjunction with Tainacan plugin to easily manage and publish you digital collectinons with a beautiful faceted search interface. Ideal for museums, galleries, libraries and anyone who have a digital repository.
Description: This is the default theme for the Tainacan project. Use this in conjunction with Tainacan plugin to easily manage and publish you digital collections with a beautiful faceted search interface. Ideal for museums, galleries, libraries and anyone who have a digital repository.
Version: 2.2.1
Tested up to: 5.5.3
Requires PHP: 5.6
@ -156,7 +156,6 @@ body.loading-content main:before {
background: #4ea2ad;
width: 36px;
height: 36px;
display: block;
text-decoration: none;
-webkit-border-radius: 35px;
-moz-border-radius: 35px;

View File

@ -3,8 +3,6 @@
* Class that hooks in the tainacan plugin (if present) to add new options to Collections
*/
class TainacanThemeCollectionColor {
public $tainacan_background_color = 'tainacan_theme_collection_background_color';
public $tainacan_text_color = 'tainacan_theme_collection_color';
@ -40,7 +38,6 @@ class TainacanThemeCollectionColor {
}
function form() {
if ( ! function_exists( 'tainacan_get_api_postdata' ) ) {
return '';
}
@ -114,9 +111,7 @@ class TainacanThemeCollectionColor {
</div>
<?php
return ob_get_clean();
}
function add_meta_to_response( $extra_meta, $request ) {
@ -142,12 +137,9 @@ class TainacanThemeCollectionColor {
update_post_meta( $object->get_id(), $this->tainacan_text_color, $post->{$this->tainacan_text_color} );
}
}
}
}
new TainacanThemeCollectionColor();
?>

View File

@ -3,7 +3,7 @@
<?php
/**
* This template adss Collections details to the header
* This template adds Collections details to the header
*
* It will only work with tainacan plugin enabled.
*

View File

@ -1,6 +1,6 @@
<?php
/**
* This template adss Collections details to the header
* This template adds Collections details to the header
*
* It will only work with tainacan plugin enabled.
*