Changeset 2754631
- Timestamp:
- 07/11/2022 03:27:32 PM (4 years ago)
- Location:
- appful
- Files:
-
- 44 added
- 3 edited
-
tags/1.1.1 (added)
-
tags/1.1.1/appful.php (added)
-
tags/1.1.1/assets (added)
-
tags/1.1.1/assets/css (added)
-
tags/1.1.1/assets/css/admin.css (added)
-
tags/1.1.1/assets/css/appful-widget.css (added)
-
tags/1.1.1/assets/css/overlaybanner.css (added)
-
tags/1.1.1/assets/img (added)
-
tags/1.1.1/assets/img/app-store-button.png (added)
-
tags/1.1.1/assets/img/appful-logo.png (added)
-
tags/1.1.1/assets/img/appful-plugin-promo.jpg (added)
-
tags/1.1.1/assets/img/background.png (added)
-
tags/1.1.1/assets/img/iPhone.svg (added)
-
tags/1.1.1/assets/img/play-store-button.png (added)
-
tags/1.1.1/assets/img/widget-advice-de.jpg (added)
-
tags/1.1.1/assets/img/widget-advice-en.jpg (added)
-
tags/1.1.1/assets/js (added)
-
tags/1.1.1/assets/js/jquery.cookie.js (added)
-
tags/1.1.1/controllers (added)
-
tags/1.1.1/controllers/auth.php (added)
-
tags/1.1.1/controllers/core.php (added)
-
tags/1.1.1/controllers/likes.php (added)
-
tags/1.1.1/controllers/posts.php (added)
-
tags/1.1.1/controllers/respond.php (added)
-
tags/1.1.1/controllers/users.php (added)
-
tags/1.1.1/controllers/widgets.php (added)
-
tags/1.1.1/models (added)
-
tags/1.1.1/models/attachment.php (added)
-
tags/1.1.1/models/author.php (added)
-
tags/1.1.1/models/category.php (added)
-
tags/1.1.1/models/comment.php (added)
-
tags/1.1.1/models/post.php (added)
-
tags/1.1.1/models/tag.php (added)
-
tags/1.1.1/models/widget.php (added)
-
tags/1.1.1/plugins (added)
-
tags/1.1.1/plugins/wp-polls.php (added)
-
tags/1.1.1/plugins/wpml.php (added)
-
tags/1.1.1/readme.txt (added)
-
tags/1.1.1/singletons (added)
-
tags/1.1.1/singletons/api.php (added)
-
tags/1.1.1/singletons/introspector.php (added)
-
tags/1.1.1/singletons/query.php (added)
-
tags/1.1.1/singletons/response.php (added)
-
tags/1.1.1/singletons/taxonomy.php (added)
-
trunk/appful.php (modified) (2 diffs)
-
trunk/plugins/wpml.php (modified) (2 diffs)
-
trunk/readme.txt (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
appful/trunk/appful.php
r2754621 r2754631 4 4 Plugin URI: https://appful.io/ 5 5 Description: appful is one of the world's most remarkable & beautiful app service for Blogger and Online magazines. It is designed to create outstanding real native iOS and Android Apps based on the content of your Wordpress site or YouTube channel. appful is surprisingly simple to use and not a single line of code is required. 6 Version: 1.1. 06 Version: 1.1.1 7 7 Author: appful GmbH 8 8 Author URI: https://appful.io/ … … 241 241 $post_types = $appful_api->post_types(); 242 242 243 $post_lang = $appful_api->wpml->post_lang( $post_id ); 244 243 245 if ( in_array( $post->post_type, $post_types ) && ! ( ( $old_status == $new_status && $old_status && $new_status && $new_status != "publish" ) || $new_status == "in-bearbeitung" || isset( $_REQUEST["push"] ) ) ) { 244 return $appful_api->request( "cache", $params );246 return $appful_api->request( "cache", $params, $post_lang ); 245 247 } 246 248 } -
appful/trunk/plugins/wpml.php
r2754621 r2754631 21 21 return $lang_infos["language_code"]; 22 22 } 23 24 return substr( get_bloginfo( "language" ), 0, 2 ) ?? ""; 23 25 } 24 26 … … 38 40 39 41 public function filterVarForLang( $key, $lang ) { 40 if ( $this->installed() && $lang != null ) { 42 if ( $lang == null ) { 43 return $this->filterVar( $key ); 44 } 45 46 if ( $this->installed() ) { 41 47 if ( $lang != $this->default_language() ) { 42 48 return $key . "_" . $lang; -
appful/trunk/readme.txt
r2754621 r2754631 6 6 Tested up to: 5.8 7 7 Requires PHP: 5.6.20 8 Stable tag: 1.1. 08 Stable tag: 1.1.1 9 9 License: GPLv2 or later 10 10 License URI: http://www.gnu.org/licenses/gpl-2.0.html
Note: See TracChangeset
for help on using the changeset viewer.