Plugin Directory

Changeset 3188526


Ignore:
Timestamp:
11/14/2024 10:10:04 AM (17 months ago)
Author:
frickemedia
Message:

Adding version 1.0.2 to tags and trunk.

Location:
kleingarten/trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • kleingarten/trunk/includes/class-kleingarten.php

    r3180484 r3188526  
    328328            . '.js', array( 'jquery' ), $this->_version, true );
    329329        wp_enqueue_script( $this->_token . '-admin' );
    330     } // End load_plugin_textdomain ()
     330    }
    331331
    332332    /**
  • kleingarten/trunk/includes/lib/class-kleingarten-post-types.php

    r3188074 r3188526  
    2323     */
    2424    public function __construct() {
     25
     26        // Moved init of allotment_plot_labels and $allotment_plot_args
     27        // to register_allotment_plot_post_type() to deffer use of
     28        // translation functions to init hook.
     29
     30        add_action( 'init',
     31            array( $this, 'register_allotment_plot_post_type' ) );
     32    }
     33
     34    /**
     35     * Register allotment plot post type
     36     *
     37     * return void
     38     */
     39    public function register_allotment_plot_post_type() {
    2540
    2641        $this->allotment_plot_labels = array(
     
    98113        );
    99114
    100         add_action( 'init',
    101             array( $this, 'register_allotment_plot_post_type' ) );
    102     }
    103 
    104     /**
    105      * Register allotment plot post type
    106      *
    107      * return void
    108      */
    109     public function register_allotment_plot_post_type() {
    110115        register_post_type( 'kleingarten_plot', $this->allotment_plot_args );
    111116    }
  • kleingarten/trunk/kleingarten.php

    r3188077 r3188526  
    22/**
    33 * Plugin Name: Kleingarten
    4  * Version: 1.0.2
     4 * Version: 1.0.3
    55 * Plugin URI: https://www.wp-kleingarten.de/
    66 * Description: Make your website the digital home for your allotment garden association.
     
    4141 */
    4242function kleingarten() {
    43     $instance = Kleingarten::instance( __FILE__, '1.0.2' );
     43    $instance = Kleingarten::instance( __FILE__, '1.0.3' );
    4444
    4545    if ( is_null( $instance->settings ) ) {
  • kleingarten/trunk/readme.txt

    r3188074 r3188526  
    44Requires at least: 3.9
    55Tested up to: 6.7
    6 Stable tag: 1.0.2
     6Stable tag: 1.0.3
    77License: GPLv2 or later
    88License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    4141== Changelog ==
    4242
     43= 1.0.3 =
     44* 2024-11-14
     45* Bugfix to post type initialisation to avoid warnings regarding the new handling of internationalisation in WordPress 6.7.
     46
    4347= 1.0.2 =
    4448* 2024-11-13
Note: See TracChangeset for help on using the changeset viewer.