Changeset 2953162
- Timestamp:
- 08/14/2023 10:08:38 AM (3 years ago)
- Location:
- yet-another-stars-rating/trunk
- Files:
-
- 3 edited
-
admin/settings/classes/YasrSettingsGeneral.php (modified) (2 diffs)
-
readme.txt (modified) (2 diffs)
-
yet-another-stars-rating.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
yet-another-stars-rating/trunk/admin/settings/classes/YasrSettingsGeneral.php
r2929048 r2953162 817 817 //Array to return 818 818 $output = array(); 819 $allowed_archives = array('is_home', 'is_archive', 'is_tag'); 819 820 820 821 // Loop through each of the incoming options … … 867 868 $output['auto_insert_enabled'] = YasrSettings::whitelistSettings($output, 'auto_insert_enabled', 0, 1); 868 869 $output['stars_title'] = YasrSettings::whitelistSettings($output, 'stars_title', 'no', 'yes'); 869 $output['sort_posts_in'] = YasrSettings::whitelistSettings($output, 'sort_posts_in', ['is_home'], $ output['sort_posts_in']);870 $output['sort_posts_in'] = YasrSettings::whitelistSettings($output, 'sort_posts_in', ['is_home'], $allowed_archives); 870 871 $output['show_overall_in_loop'] = YasrSettings::whitelistSettings($output, 'show_overall_in_loop', 'disabled', 'enabled'); 871 872 $output['show_visitor_votes_in_loop'] = YasrSettings::whitelistSettings($output, 'show_visitor_votes_in_loop', 'disabled', 'enabled'); -
yet-another-stars-rating/trunk/readme.txt
r2951952 r2953162 5 5 Contributors: Dudo 6 6 Tested up to: 6.3 7 Stable tag: 3.4. 47 Stable tag: 3.4.5 8 8 License URI: http://www.gnu.org/licenses/gpl-2.0.html 9 9 … … 207 207 The full changelog can be found in the plugin's directory. Recent entries: 208 208 209 = 3.4.5 = 210 * FIXED: This version fixes a warning that randomly appears on the settings page. 211 209 212 = 3.4.4 = 210 213 * TWEAKED: since this version, for non-logged-in users, or users that can't edit posts, it is no longer possible to vote for a post that do not exist or is marked as private. -
yet-another-stars-rating/trunk/yet-another-stars-rating.php
r2951952 r2953162 5 5 * Plugin URI: http://wordpress.org/plugins/yet-another-stars-rating/ 6 6 * Description: Boost the way people interact with your site with an easy WordPress stars rating system! With schema.org rich snippets YASR will improve your SEO 7 * Version: 3.4. 47 * Version: 3.4.5 8 8 * Requires at least: 4.7 9 9 * Requires PHP: 5.4 … … 79 79 // Signal that SDK was initiated. 80 80 do_action( 'yasr_fs_loaded' ); 81 define( 'YASR_VERSION_NUM', '3.4. 4' );81 define( 'YASR_VERSION_NUM', '3.4.5' ); 82 82 //Plugin absolute path 83 83 //e.g. /var/www/html/plugin_development/wp-content/plugins/yet-another-stars-rating
Note: See TracChangeset
for help on using the changeset viewer.