Plugin Directory

Changeset 3062873


Ignore:
Timestamp:
04/02/2024 07:00:45 PM (2 years ago)
Author:
tenandtwo
Message:

v1.0.3

Location:
tenandtwo-xslt-processor/trunk
Files:
7 edited

Legend:

Unmodified
Added
Removed
  • tenandtwo-xslt-processor/trunk/changelog.txt

    r3046647 r3062873  
    44
    55
     6## [1.0.3] - 2024-04-02
    67## [1.0.2] - 2024-03-06
    78## [1.0.1] - 2024-03-06
     
    1213- readme.txt
    1314- includes/cli.php : finalize transform_xml(), select_xml(), select_csv()
     15- languages/tenandtwo-xslt-processor.pot
     16- tested with WP 6.5
    1417
    1518
  • tenandtwo-xslt-processor/trunk/includes/shortcode.php

    r3045975 r3062873  
    3535            if (!shortcode_exists('xslt_transform_xml'))
    3636                { add_shortcode( 'xslt_transform_xml',       array('XSLT_Processor_Shortcode', 'xslt_transform_xml') ); }
    37             else if (WP_DEBUG)
     37            elseif (WP_DEBUG)
    3838                { trigger_error(__METHOD__." : shortcode 'xslt_transform_xml' already exists", E_USER_NOTICE); }
    3939
    4040            if (!shortcode_exists('xslt_transform_alias'))
    4141                { add_shortcode( 'xslt_transform_alias', array('XSLT_Processor_Shortcode', 'xslt_transform_xml') ); }
    42             else if (WP_DEBUG)
     42            elseif (WP_DEBUG)
    4343                { trigger_error(__METHOD__." : shortcode 'xslt_transform_alias' already exists", E_USER_NOTICE); }
    4444        }
     
    4747            if (!shortcode_exists('xslt_select_xml'))
    4848                { add_shortcode( 'xslt_select_xml', array('XSLT_Processor_Shortcode', 'xslt_select_xml') ); }
    49             else if (WP_DEBUG)
     49            elseif (WP_DEBUG)
    5050                { trigger_error(__METHOD__." : shortcode 'xslt_select_xml' already exists", E_USER_NOTICE); }
    5151        }
     
    5454            if (!shortcode_exists('xslt_select_csv'))
    5555                { add_shortcode( 'xslt_select_csv', array('XSLT_Processor_Shortcode', 'xslt_select_csv') ); }
    56             else if (WP_DEBUG)
     56            elseif (WP_DEBUG)
    5757                { trigger_error(__METHOD__." : shortcode 'xslt_select_csv' already exists", E_USER_NOTICE); }
    5858        }
     
    142142            if (!empty($url_parts['scheme']) && !empty($url_parts['host'])) {
    143143                $attrs['xml_url'] = $attrs['xml'];
    144             } else if (!empty($path_parts['basename']) && !empty($path_parts['extension'])) {
     144            } elseif (!empty($path_parts['basename']) && !empty($path_parts['extension'])) {
    145145                $attrs['xml_file'] = $url_parts['path'];
    146             } else if (is_numeric($attrs['xml'])) {
     146            } elseif (is_numeric($attrs['xml'])) {
    147147                $attrs['xml_id'] = $attrs['xml'];
    148148            } else {
     
    157157            if (!empty($url_parts['scheme']) && !empty($url_parts['host'])) {
    158158                $attrs['xsl_url'] = $attrs['xsl'];
    159             } else if (!empty($path_parts['basename']) && !empty($path_parts['extension'])) {
     159            } elseif (!empty($path_parts['basename']) && !empty($path_parts['extension'])) {
    160160                $attrs['xsl_file'] = $url_parts['path'];
    161             } else if (is_numeric($attrs['xsl'])) {
     161            } elseif (is_numeric($attrs['xsl'])) {
    162162                $attrs['xsl_id'] = $attrs['xsl'];
    163163            } else {
     
    338338            if (!empty($url_parts['scheme']) && !empty($url_parts['host'])) {
    339339                $attrs['xml_url'] = $attrs['xml'];
    340             } else if (!empty($path_parts['basename']) && !empty($path_parts['extension'])) {
     340            } elseif (!empty($path_parts['basename']) && !empty($path_parts['extension'])) {
    341341                $attrs['xml_file'] = $url_parts['path'];
    342             } else if (is_numeric($attrs['xml'])) {
     342            } elseif (is_numeric($attrs['xml'])) {
    343343                $attrs['xml_id'] = $attrs['xml'];
    344344            } else {
  • tenandtwo-xslt-processor/trunk/includes/xsl.php

    r3045975 r3062873  
    185185        $this->releaseProcessor( $idx, $release_params );
    186186
    187         if (WP_DEBUG)
     187        if (WP_DEBUG && !empty($outfile))
    188188        {
    189189            $msg = __METHOD__." : ";
  • tenandtwo-xslt-processor/trunk/languages/tenandtwo-xslt-processor.pot

    r3046386 r3062873  
    33msgid ""
    44msgstr ""
    5 "Project-Id-Version: Ten&Two XSLT Processor 1.0.0\n"
     5"Project-Id-Version: Ten&Two XSLT Processor 1.0.3\n"
    66"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/tenandtwo-xslt-processor\n"
    77"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
     
    1010"Content-Type: text/plain; charset=UTF-8\n"
    1111"Content-Transfer-Encoding: 8bit\n"
    12 "POT-Creation-Date: 2024-03-05T22:27:03+00:00\n"
     12"POT-Creation-Date: 2024-04-02T18:42:16+00:00\n"
    1313"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
    1414"X-Generator: WP-CLI 2.9.0\n"
  • tenandtwo-xslt-processor/trunk/readme.md

    r3047374 r3062873  
    11# Ten&Two XSLT Processor
    22
    3 **Contributors:** tenandtwo 
    4 **Donate link:** 
    5 **Tags:** xml, xsl, xslt, csv, shortcode 
    6 **Requires at least:** 5.2 
    7 **Tested up to:** 6.
    8 **Requires PHP:** 7.4 
    9 **Stable tag:** 1.0.
    10 **License:** GPLv2 or later 
    11 **License URI:** https://www.gnu.org/licenses/gpl-2.0.html 
     3**Contributors:** tenandtwo
     4**Donate link:**
     5**Tags:** xml, xsl, xslt, csv, shortcode
     6**Requires at least:** 5.2
     7**Tested up to:** 6.5
     8**Requires PHP:** 7.4
     9**Stable tag:** 1.0.3
     10**License:** GPLv2 or later
     11**License URI:** https://www.gnu.org/licenses/gpl-2.0.html
    1212
    1313
     
    150150The XSLT Processor plugin includes a number of useful XSL templates that you can include and use in your own projects. They are grouped into five files.
    151151
    152  - **date.xsl** : `date-format`, `date-microtime` 
     152 - **date.xsl** : `date-format`, `date-microtime`
    153153 - **file.xsl** : `file-exists-local`, `file-exists-remote`
    154154 - **string.xsl** : `string-replace`, `string-upper`, `string-lower`, `string-title-case`, `string-trim`, `string-rtrim`, `string-ltrim`, `string-maxlength`, `string-maxwords`, `string-add-slashes`, `string-urlencode`, `string-strip-tags`, `string-nl2br`, `string-entity-decode`, `string-to-nodeset`
     
    189189
    190190> "This extension requires the libxml PHP extension. This means passing the **--with-libxml**, or prior to PHP 7.4 the **--enable-libxml**, configuration flag, although this is implicitly accomplished because libxml is enabled by default.
    191 > 
     191>
    192192> This extension uses libxslt which can be found at » [http://xmlsoft.org/XSLT/](http://xmlsoft.org/XSLT/). libxslt version 1.1.0 or greater is required."
    193193
  • tenandtwo-xslt-processor/trunk/readme.txt

    r3047374 r3062873  
    44Tags: xml, xsl, xslt, csv, shortcode
    55Requires at least: 5.2
    6 Tested up to: 6.4
     6Tested up to: 6.5
    77Requires PHP: 7.4
    8 Stable tag: 1.0.2
     8Stable tag: 1.0.3
    99License: GPLv2 or later
    1010License URI: https://www.gnu.org/licenses/gpl-2.0.html
  • tenandtwo-xslt-processor/trunk/tenandtwo-xslt-processor.php

    r3046647 r3062873  
    1313 * Plugin URI:        https://wordpress.org/plugins/tenandtwo-xslt-processor/
    1414 * Description:       Transform and display XML from local and remote sources using PHP's XSL extension.
    15  * Version:           1.0.2
     15 * Version:           1.0.3
    1616 * Requires PHP:      7.4
    1717 * Requires at least: 5.2
Note: See TracChangeset for help on using the changeset viewer.