Skip to content

Commit

Permalink
* Fix bug with incorrect language load text domain.
Browse files Browse the repository at this point in the history
  • Loading branch information
azurecurve committed Feb 3, 2020
1 parent 9ae1c2a commit 9e7f25d
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 5 deletions.
6 changes: 3 additions & 3 deletions azrcrv-timelines.php
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
add_action('add_meta_boxes', 'azrcrv_t_add_meta_box');
add_action('save_post', 'azrcrv_t_save_meta_box');
//add_action('the_posts', 'azrcrv_t_check_for_shortcode');
add_action('plugins_loaded', 'azrcrv_b_load_languages');
add_action('plugins_loaded', 'azrcrv_t_load_languages');

// add filters
add_filter('plugin_action_links', 'azrcrv_t_add_plugin_action_link', 10, 2);
Expand All @@ -62,9 +62,9 @@
* @since 1.0.0
*
*/
function azrcrv_b_load_languages() {
function azrcrv_t_load_languages() {
$plugin_rel_path = basename(dirname(__FILE__)).'/languages';
load_plugin_textdomain('azrcrv-b', false, $plugin_rel_path);
load_plugin_textdomain('timelines', false, $plugin_rel_path);
}

/**
Expand Down
7 changes: 5 additions & 2 deletions readme.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
=== Timelines ===

Description: Create timelines showing the sequence of events and place in any post or page using a shortcode.
Version: 1.1.0
Version: 1.1.1
Tags: timeline, timelines, custom post type
Author: azurecurve
Author URI: https://development.azurecurve.co.uk/
Expand Down Expand Up @@ -51,6 +51,9 @@ This plugin is developed for ClassicPress, but will likely work on WordPress.

# Changelog

### [Version 1.1.1](https://github.com/azurecurve/azrcrv-timelines/tree/v1.1.1)
* Fix bug with incorrect language load text domain.

### [Version 1.1.0](https://github.com/azurecurve/azrcrv-timelines/tree/v1.1.0)
* Add integration with Update Manager for automatic updates.
* Fix issue with display of azurecurve menu.
Expand All @@ -71,7 +74,7 @@ This plugin is developed for ClassicPress, but will likely work on WordPress.

# About azurecurve

**azurecurve** was one of the first plugin developers to start developing for Classicpress; all plugins are available from [azurecurve Development](https://development.azurecurve.co.uk/) and are integrated with the [Update Manager plugin](https://codepotent.com/classicpress/plugins/update-manager/) by [CodePotent](https://codepotent.com/) for fully automated, no hassle, updates.
**azurecurve** was one of the first plugin developers to start developing for Classicpress; all plugins are available from [azurecurve Development](https://development.azurecurve.co.uk/) and are integrated with the [Update Manager plugin](https://codepotent.com/classicpress/plugins/update-manager/) by [CodePotent](https://codepotent.com/) for fully integrated, no hassle, updates.

Some of the top plugins available from **azurecurve** are:
* [Add Twitter Cards](https://development.azurecurve.co.uk/classicpress-plugins/add-twitter-cards/)
Expand Down

0 comments on commit 9e7f25d

Please sign in to comment.