Plugin Directory

Changeset 854856


Ignore:
Timestamp:
02/10/2014 04:15:27 PM (12 years ago)
Author:
phd38
Message:

dev version

Location:
wp-mediatagger/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • wp-mediatagger/trunk/mediatagger.php

    r854374 r854856  
    66Author: www.photos-dauphine.com
    77Author URI: http://www.photos-dauphine.com/
    8 Version: 4.0
    9 Stable Tag: 4.0
     8Version: 4.0.2
     9Stable Tag: 4.0.1
    1010*/
    1111
     
    29372937        $options = get_option($widget_options_holder);
    29382938       
    2939         if (!$options)
    2940             $options = array('title'=>'My photo library', 'text'=>'Descriptive text here', 'num_tags'=>0, 'font_min'=>8,
    2941                 'font_max'=>18, 'color_min'=>'aaaaaa', 'color_max'=>'333333', 'result_url'=>'http://my-result-page');
     2939        if (!$options) {    // first : try to read back legacy variable
     2940            $widget_options_holder_legacy = 'wpit_widget';
     2941            $options = get_option($widget_options_holder_legacy);
     2942           
     2943            if (!$options) { // else : init to default
     2944                $options = array('title'=>'My photo library', 'text'=>'Descriptive text here', 'num_tags'=>0, 'font_min'=>8,
     2945                    'font_max'=>18, 'color_min'=>'aaaaaa', 'color_max'=>'333333', 'result_url'=>'http://my-result-page');
     2946            }
     2947            update_option($widget_options_holder, $options);
     2948        }
    29422949       
    29432950        if ($_POST["mdtg_widget_submit"]) {
  • wp-mediatagger/trunk/readme.txt

    r854384 r854856  
    44Tags: widget, plugin, media, library, images, audio, video, mpeg, mp3, pdf, rtf, txt, taxonomy, photos, tags, tagging, bulk tagging, group tagging, gallery, photoblog, search, engine, classification, database, cleanup
    55Requires at least: 3.0
    6 Tested up to: 4.0
    7 Stable tag: 4.0
     6Tested up to: 4.0.1
     7Stable tag: 4.0.1
    88
    99
     
    1919- Log visitors search and make it visible to the administrator
    2020- Plugin internationalization : the `mediatagger.pot` file, required to translate the package to any other language, is provided for volunteers with the plugin files (contact me to make sure the *.pot file part of the package is up-to-date). If you are interested in internationalizing this plugin, I would certainly welcome your help. Simply [let me know](http://www.photos-dauphine.com/ecrire "Any volunteer to push the WP MediaTagger internationalization ?") so that I can push your translation to the repository. If needed I can provide you the methodology, many tools are available to ease this task.
     21
     22
     23
     24= 4.0.1 =
     25- Fix widget parameter loading moving from before 4.0 to 4.x
     26
    2127
    2228
Note: See TracChangeset for help on using the changeset viewer.