Plugin Directory

Changeset 1747983


Ignore:
Timestamp:
10/17/2017 01:49:43 PM (8 years ago)
Author:
geekoun
Message:

Change to class the textdomain for compatibility version ans version minimum fot the test

Location:
mjcaroussel/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • mjcaroussel/trunk/class.mjcaroussel.php

    r1747952 r1747983  
    111111            */
    112112            public function plugin_activation() {
    113           $textdomain = self::$textdomain;
    114 
    115113          if ( version_compare( $GLOBALS['wp_version'], MJCAROUSSEL_MINIMUM_WP_VERSION, '<' ) ) {
    116             $message = '<strong>' . sprintf(esc_html__( 'MJCaroussel %s requires WordPress %s or higher.' , $textdomain), MJCAROUSSEL_VERSION, MJCAROUSSEL_MINIMUM_WP_VERSION ). '</strong>';
     114            $message = '<strong>' . sprintf(esc_html__( 'MJCaroussel %s requires WordPress %s or higher.' , 'mjcaroussel'), MJCAROUSSEL_VERSION, MJCAROUSSEL_MINIMUM_WP_VERSION ). '</strong>';
    117115            }
    118116            }
  • mjcaroussel/trunk/mjcaroussel.php

    r1747978 r1747983  
    4040define( 'MJCAROUSSEL_VERSION', '1.0.0' );
    4141define( 'SLICKSLIDER_VERSION', '1.6.0' );
    42 define( 'MJCAROUSSEL_MINIMUM_WP_VERSION', '3.7' );
     42define( 'MJCAROUSSEL_MINIMUM_WP_VERSION', '4.0.0' );
    4343define( 'MJCAROUSSEL_PLUGIN_DIR', plugin_dir_path( __FILE__ ) );
    4444
  • mjcaroussel/trunk/readme.txt

    r1747959 r1747983  
    5959== Upgrade Notice ==
    6060
     61= 1.0.0 =
     62The new version
     63
    6164= 1.0.1 =
    6265Compatibility test and add new functionnality
    63 
    64 = 1.0.0 =
    65 The new version
    6666
    6767== A brief Markdown Example ==
Note: See TracChangeset for help on using the changeset viewer.