Plugin Directory

Changeset 2696282


Ignore:
Timestamp:
03/18/2022 10:53:01 PM (4 years ago)
Author:
onetarek
Message:

Add version 2.2

Location:
filter-page-by-template/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • filter-page-by-template/trunk/filter-page-by-template.php

    r2696280 r2696282  
    66Author: oneTarek
    77Author URI: http://onetarek.com
    8 Version: 2.1
     8Version: 2.2
    99*/
    1010
     
    2222        add_action('manage_pages_custom_column', array( $this, 'post_list_columns_content' ), 10, 2);
    2323
    24         add_action( 'plugins_loaded', array( $this , 'load_textdomain' ) );
     24        add_action( 'init', array( $this , 'load_textdomain' ) );
    2525
    2626    }
     
    141141     */
    142142    public function load_textdomain(){
    143         load_plugin_textdomain( 'filter-page-by-template', false, "./languages/" );
     143        load_plugin_textdomain( 'filter-page-by-template', false, dirname( plugin_basename( __FILE__ ) ) . '/languages/' );
    144144    }
    145145   
  • filter-page-by-template/trunk/readme.txt

    r2696280 r2696282  
    55Requires at least: 3.8.0
    66Tested up to: 5.9.2
    7 Stable tag: 2.1
     7Stable tag: 2.2
    88License: GPLv2+
    99License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    4444
    4545== Changelog ==
     46= 2.2 (March 19, 2022) =
     47* Fix plugin translation.
     48
    4649= 2.1 (March 19, 2022) =
    4750* Fix plugin translation.
     
    7477
    7578== Upgrade Notice ==
     79= 2.2 (March 19, 2022) =
     80* Fix plugin translation.
     81
    7682= 2.1 (March 19, 2022) =
    7783* Fix plugin translation.
Note: See TracChangeset for help on using the changeset viewer.