Merge branch 'master' into develop
This commit is contained in:
commit
1656d4a2d6
|
@ -27,6 +27,7 @@ class Csv extends Exposer {
|
|||
);
|
||||
|
||||
$items = $response->get_data();
|
||||
$items = is_array($items) && isset($items['items']) ? $items['items'] : [];
|
||||
|
||||
if (sizeof($items) > 0) {
|
||||
|
||||
|
|
|
@ -27,6 +27,7 @@ class Html extends Exposer {
|
|||
$response->set_headers( ['Content-Type: text/html; charset=' . get_option( 'blog_charset' )] );
|
||||
|
||||
$items = $response->get_data();
|
||||
$items = is_array($items) && isset($items['items']) ? $items['items'] : [];
|
||||
|
||||
$html = '
|
||||
<!DOCTYPE html>
|
||||
|
|
|
@ -181,7 +181,7 @@ class OAIPMH_List_Records extends OAIPMH_Expose {
|
|||
foreach ($maps as $key => $val) {
|
||||
|
||||
if( $val && is_object($val) )
|
||||
$this->xml_creater->addChild($this->working_node, $key, html_entity_decode($val->get_value()));
|
||||
$this->xml_creater->addChild($this->working_node, $key, html_entity_decode($val->get_value_as_string()));
|
||||
else
|
||||
$this->xml_creater->addChild($this->working_node, $key, '');
|
||||
}
|
||||
|
|
|
@ -2,9 +2,9 @@
|
|||
Contributors: andrebenedito, daltonmartins, fabianobn, jacsonp, leogermani, weryques, wetah, eduardohumberto, ravipassos, jessicafpx, marinagiolo, omarceloavila
|
||||
Tags: museums, libraries, archives, GLAM, collections, repository
|
||||
Requires at least: 4.8
|
||||
Tested up to: 5.2
|
||||
Tested up to: 5.2.1
|
||||
Requires PHP: 5.6
|
||||
Stable tag: 0.9
|
||||
Stable tag: 0.9.1
|
||||
License: GPLv2 or later
|
||||
License URI: http://www.gnu.org/licenses/gpl-3.0.html
|
||||
|
||||
|
|
|
@ -4,13 +4,13 @@ Plugin Name: Tainacan
|
|||
Plugin URI: https://tainacan.org/
|
||||
Description: powerfull and flexible repository platform for WordPress. Manage and publish you digital collections as easily as publishing a post to your blog, while having all the tools of a professional respository platform.
|
||||
Author: Media Lab / UFG
|
||||
Version: 0.9
|
||||
Version: 0.9.1
|
||||
Text Domain: tainacan
|
||||
License: GPLv2 or later
|
||||
License URI: http://www.gnu.org/licenses/gpl-3.0.html
|
||||
*/
|
||||
|
||||
const TAINACAN_VERSION = '0.9';
|
||||
const TAINACAN_VERSION = '0.9.1';
|
||||
|
||||
defined( 'ABSPATH' ) or die( 'No script kiddies please!' );
|
||||
$TAINACAN_BASE_URL = plugins_url('', __FILE__);
|
||||
|
|
Loading…
Reference in New Issue