From 202411f7ad44939c4ebdf9d9b2fb029c5ea207b3 Mon Sep 17 00:00:00 2001 From: ulaulaman <34242086+ulaulaman@users.noreply.github.com> Date: Sun, 4 Feb 2018 13:46:14 +0100 Subject: [PATCH] 0.2.5 fix error code --- citations-tools.php | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/citations-tools.php b/citations-tools.php index 7b46d65..0ded220 100644 --- a/citations-tools.php +++ b/citations-tools.php @@ -2,7 +2,7 @@ /* Plugin Name: Citations tools Description: The plugin add some shortcodes add a link to a paper using the doi code or to resolve doi code and publish a full citation apa formatted. -Version: 0.2.4 +Version: 0.2.5 Author: Gianluigi Filippelli Author URI: http://dropseaofulaula.blogspot.it/ Plugin URI: https://github.com/ulaulaman/citations-tools @@ -12,9 +12,9 @@ License: GPLv2 or later # --------------------------------------------------------- # doi -add_shortcode('cpdoi', 'cpdoi'); +add_shortcode('ctdoi', 'ctdoi'); - function doi ($atts, $content = null) { + function ctdoi ($atts, $content = null) { extract( shortcode_atts( @@ -31,9 +31,9 @@ add_shortcode('cpdoi', 'cpdoi'); } # doi resolve -add_shortcode('cpdoiresolve', 'cpdoiresolve'); +add_shortcode('ctdoiresolve', 'ctdoiresolve'); - function doiresolve ($atts, $content = null) { + function ctdoiresolve ($atts, $content = null) { extract( shortcode_atts(