0.2.5 fix error code

This commit is contained in:
ulaulaman 2018-02-04 13:46:14 +01:00 committed by GitHub
parent 36954b2545
commit 202411f7ad
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 5 deletions

View File

@ -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(