Skip to content

Commit

Permalink
release v1.1.6.4
Browse files Browse the repository at this point in the history
- bundled french translation thanks goes to Julien Lambert
- fixed some typos throughout the plugin
  • Loading branch information
Evan Herman committed Mar 22, 2015
1 parent dc962ba commit c984819
Show file tree
Hide file tree
Showing 8 changed files with 907 additions and 13 deletions.
20 changes: 18 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Timeline Express v1.1.5.9
Timeline Express v1.1.6.4
================

Timeline express allows you to create a vertical animated and responsive timeline of posts , without writing a single line of code. Sweet!
Expand Down Expand Up @@ -31,6 +31,7 @@ Timeline express comes ready for translation. I would love to get things transla
* Polish (pl_PL) - thanks goes to Kanios
* Dutch (nl_NL) - thanks goes to <a href="http://www.kasteelschaesberg.info/wpress/" target="_blank">Kees Hessels</a>
* German (de_DE) - thanks goes to <a href="http://www.fairsoft.koeln" target="_blank">Martin Gerlach</a>
* French (fr_FR) - thanks goes to Julien Lambert

<em>We're always looking for polyglots to help with the translations. If you enjoy this plugin, speak multiple languages and want to contribute please <a href="http://www.evan-herman.com/contact/" target="_blank">contact me</a> about how you can help translate things so users around the world can benefit from this plugin.</em>

Expand Down Expand Up @@ -252,7 +253,6 @@ If you enjoy this plugin and want to contribute, I'm always looking for people t

* Arabic
* English
* French
* Greek
* Hebrew
* Hindi
Expand Down Expand Up @@ -281,6 +281,22 @@ Have an idea for a future release feature? I love hearing about new ideas! You c

### Changelog

###### 1.1.6.4 - March 23rd, 2015
* Enhancement: Packaged French translation - thanks goes to Julien Lambert
* Enhancement: Fixed a few typos in the plugin

###### 1.1.6.3 - March 22nd, 2015
* Enhancement: Added wp_error class to catch errors thrown by `wp_remote_get()` when building the bootstrap dropdown.

###### 1.1.6.2 - March 18th, 2015
* Enhancement: Removed `add_option();` call which was breaking previously stored options on activation

###### 1.1.6.1 - March 10th, 2015
* Enhancement: Altered new option label to be 'Exclude Announcements from Site Searches' (settings were reversed (true excluded while false included) )

###### 1.1.6 - March 9th, 2015
* Enhancement: Fixed 404 issue on announcement posts when 'Include Announcement in Site Searches' was set to 'false'.

###### 1.1.5.9 - March 6th, 2015
* Enhancement: Added a priority to the metabox initialization, which caused conflicts with other plugins using the same class

Expand Down
14 changes: 10 additions & 4 deletions classes/class.timeline-express.php
Original file line number Diff line number Diff line change
Expand Up @@ -168,8 +168,8 @@ function addMissingOptions() {
if( !isset( $this->timeline_express_optionVal['announcement-appear-in-searches'] ) ) {
$this->timeline_express_optionVal['announcement-appear-in-searches'] = 'true';
}
// update the options
update_option( TIMELINE_EXPRESS_OPTION , $this->timeline_express_optionVal );
// update the options -> breaks previous users settings....
// update_option( TIMELINE_EXPRESS_OPTION , $this->timeline_express_optionVal );
}

/*
Expand Down Expand Up @@ -460,7 +460,7 @@ public function timeline_express_generate_announcement_post_type() {
'supports' => array( 'title', 'editor' ),
'taxonomies' => array(),
'hierarchical' => true,
'public' => $announcements_public, // toggled via setitngs page - @since v1.1.5.8
'public' => true,
'show_ui' => true,
'show_in_menu' => true,
'show_in_nav_menus' => true,
Expand All @@ -469,6 +469,8 @@ public function timeline_express_generate_announcement_post_type() {
'menu_icon' => TIMELINE_EXPRESS_URL . '/images/timeline-express-menu-icon.png',
'can_export' => true,
'has_archive' => true,
'exclude_from_search' => $announcements_public, // toggled via setitngs page - @since v1.1.5.8,
'publicly_queryable' => true,
'rewrite' => $timeline_express_rewrite,
'capability_type' => 'page',
);
Expand Down Expand Up @@ -606,7 +608,7 @@ public function add_new_timeline_express_columns($timeline_express_columns) {
$timeline_express_announcement_columns['icon'] = _x('Icon', 'timeline-express');
$timeline_express_announcement_columns['announcement_date'] = _x('Announcement Date', 'timeline-express');
$timeline_express_announcement_columns['image'] = _x('Image', 'timeline-express');
$timeline_express_announcement_columns['past_announcement'] = _x('Announcment Past?', 'timeline-express');
$timeline_express_announcement_columns['past_announcement'] = _x('Announcement Past?', 'timeline-express');
return $timeline_express_announcement_columns;
}

Expand Down Expand Up @@ -1267,6 +1269,10 @@ public function timeline_express_build_bootstrap_dropdown( $field, $meta ) {
// get the icons out of the css file
$response = wp_remote_get( 'http://netdna.bootstrapcdn.com/font-awesome/4.3.0/css/font-awesome.css' );

if( is_wp_error( $response ) ) {
wp_die( $resposne->get_error_message() , $response->title , array( 'back_link' => true ) );
}

// splot the response body, and store the icon classes in a variable
$split_dat_response = explode( 'icons */' , $response['body'] );

Expand Down
Binary file added languages/timeline-express-fr_FR.mo
Binary file not shown.
Loading

0 comments on commit c984819

Please sign in to comment.