Plugin Directory

Changeset 763381


Ignore:
Timestamp:
08/28/2013 03:17:50 AM (12 years ago)
Author:
Columcille
Message:

Fix formatting ESV styling

Location:
esv-plugin
Files:
2 edited
4 copied

Legend:

Unmodified
Added
Removed
  • esv-plugin/tags/3.9.2/trunk/esv.php

    r763374 r763381  
    44Plugin URI: http://croberts.me/wordpress-esv-plugin/
    55Description: Allows the user to utilize services from the ESV Web Service
    6 Version: 3.9.2
     6Version: 3.9.3
    77Author: Chris Roberts
    88Author URI: http://croberts.me/
     
    520520                }
    521521            }
    522 
    523             preg_match('/<div class="esv">(.*?)<div class="esv-text">/i', $VerseText, $matches);
    524             $VerseText = preg_replace('/<div class="esv">(.*?)<div class="esv-text">/i', '', $VerseText);
     522           
     523            $VerseText = preg_replace('/<div class="esv">(.*?)<div class="esv-text">(.*?)<\/div><\/div>/i', '${2}', $VerseText);
    525524           
    526525            if (get_option('esv_inc_audio', 'false') == "true" && $listenLink != "") {
     
    536535            // Make sure Tippy is present before using it
    537536            if (method_exists('Tippy', 'getOption')) {
    538                 $tippyValues['header'] = 'on';
     537                $tippyValues['showheader'] = true;
    539538                $tippyValues['headertext'] = $reference;
    540539                $tippyValues['title'] = $linktext;
  • esv-plugin/tags/3.9.2/trunk/readme.txt

    r763374 r763381  
    44Requires at least: 2.1.5
    55Tested up to: 3.6
    6 Stable tag: 3.9.2
     6Stable tag: 3.9.3
    77
    88Automatically scans WordPress posts to replace Scripture references with a link to the ESV or with the text itself.
     
    2121
    2222== Changelog ==
     23
     24= 3.9.3 =
     25* Fix for formatting the ESV text for the new Tippy
    2326
    2427= 3.9.2 =
  • esv-plugin/trunk/esv.php

    r763374 r763381  
    44Plugin URI: http://croberts.me/wordpress-esv-plugin/
    55Description: Allows the user to utilize services from the ESV Web Service
    6 Version: 3.9.2
     6Version: 3.9.3
    77Author: Chris Roberts
    88Author URI: http://croberts.me/
     
    520520                }
    521521            }
    522 
    523             preg_match('/<div class="esv">(.*?)<div class="esv-text">/i', $VerseText, $matches);
    524             $VerseText = preg_replace('/<div class="esv">(.*?)<div class="esv-text">/i', '', $VerseText);
     522           
     523            $VerseText = preg_replace('/<div class="esv">(.*?)<div class="esv-text">(.*?)<\/div><\/div>/i', '${2}', $VerseText);
    525524           
    526525            if (get_option('esv_inc_audio', 'false') == "true" && $listenLink != "") {
     
    536535            // Make sure Tippy is present before using it
    537536            if (method_exists('Tippy', 'getOption')) {
    538                 $tippyValues['header'] = 'on';
     537                $tippyValues['showheader'] = true;
    539538                $tippyValues['headertext'] = $reference;
    540539                $tippyValues['title'] = $linktext;
  • esv-plugin/trunk/readme.txt

    r763374 r763381  
    44Requires at least: 2.1.5
    55Tested up to: 3.6
    6 Stable tag: 3.9.2
     6Stable tag: 3.9.3
    77
    88Automatically scans WordPress posts to replace Scripture references with a link to the ESV or with the text itself.
     
    2121
    2222== Changelog ==
     23
     24= 3.9.3 =
     25* Fix for formatting the ESV text for the new Tippy
    2326
    2427= 3.9.2 =
Note: See TracChangeset for help on using the changeset viewer.