Changeset 3254329
- Timestamp:
- 03/11/2025 08:14:20 PM (13 months ago)
- Location:
- molongui-authorship/trunk
- Files:
-
- 6 edited
-
README.txt (modified) (1 diff)
-
changelog.txt (modified) (1 diff)
-
i18n/molongui-authorship.pot (modified) (1 diff)
-
includes/compat/plugins/elementor-pro.php (modified) (2 diffs)
-
includes/compat/plugins/jetpack.php (modified) (1 diff)
-
molongui-authorship.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
molongui-authorship/trunk/README.txt
r3238650 r3254329 197 197 198 198 <strong>Important</strong>: If you use a caching plugin, please clear your cache after updating any plugins. 199 200 = 5.0.15 (2025-03-11) = 201 202 * Fixed: Co-authored posts are now listed when using Elementor's Posts widget with the author filter. 203 * Fixed: Fatal error caused by missing quotes when the Jetpack plugin was active. 199 204 200 205 = 5.0.14 (2025-02-11) = -
molongui-authorship/trunk/changelog.txt
r3238650 r3254329 2 2 3 3 == Changelog == 4 5 = 5.0.15 (2025-03-11) = 6 7 * Fixed: Co-authored posts are now listed when using Elementor's Posts widget with the author filter. 8 * Fixed: Fatal error caused by missing quotes when the Jetpack plugin was active. 4 9 5 10 = 5.0.14 (2025-02-11) = -
molongui-authorship/trunk/i18n/molongui-authorship.pot
r3238650 r3254329 7 7 msgid "" 8 8 msgstr "" 9 "Project-Id-Version: molongui-authorship 5.0.1 4\n"9 "Project-Id-Version: molongui-authorship 5.0.15\n" 10 10 "Report-Msgid-Bugs-To: \n" 11 "POT-Creation-Date: 2025-0 2-11 15:54+0100\n"11 "POT-Creation-Date: 2025-03-11 21:07+0100\n" 12 12 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" 13 13 "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" -
molongui-authorship/trunk/includes/compat/plugins/elementor-pro.php
r3231805 r3254329 26 26 add_filter( '_authorship/get_user_by/aim', array( $this, 'filter_byline_aim' ), 10, 4 ); 27 27 add_filter( '_authorship/posts_where', array( $this, 'display_coauthored_in_loop_grid' ) ); 28 add_filter( 'elementor/query/query_args', array( $this, 'fix_posts_by_author_for_posts_widget' ), 10, 2 ); 28 29 add_filter( 'molongui_authorship/co_authors_separator' , array( Helpers::class, 'space_to_nbsp' ) ); 29 30 add_filter( 'molongui_authorship/co_authors_last_separator', array( Helpers::class, 'space_to_nbsp' ) ); … … 64 65 return $default; 65 66 } 67 public function fix_posts_by_author_for_posts_widget( $query_args, $widget ) 68 { 69 if ( 'posts' === $widget->get_name() ) 70 { 71 if ( !empty( $query_args['author__in'] ) and is_array( $query_args['author__in'] ) and !empty( $query_args['author__in'][0] ) ) 72 { 73 $author_id = $query_args['author__in'][0]; 74 $query_args['author__in'] = ''; 75 $query_args['meta_query'] = array 76 ( 77 array 78 ( 79 'key' => '_molongui_author', 80 'value' => 'user-'.$author_id, 81 'compare' => '==', 82 ), 83 ); 84 } 85 } 86 87 return $query_args; 88 } 66 89 67 90 } // class -
molongui-authorship/trunk/includes/compat/plugins/jetpack.php
r3222089 r3254329 2 2 3 3 defined( 'ABSPATH' ) or exit; // Exit if accessed directly 4 if ( defined( JETPACK__VERSION ) and version_compare( JETPACK__VERSION, '9.1.0', '>=' ) )4 if ( defined( 'JETPACK__VERSION' ) and version_compare( 'JETPACK__VERSION', '9.1.0', '>=' ) ) 5 5 { 6 6 add_filter( 'jetpack_content_options_featured_image_exclude_cpt', function( $excluded_post_types ) -
molongui-authorship/trunk/molongui-authorship.php
r3238650 r3254329 13 13 * Plugin URI: https://www.molongui.com/wordpress-plugin-post-authors 14 14 * Description: All-in-One Authorship Solution: Seamless Author Box, Guest Authors, and Co-Authors to enhance your site's authority, credibility, engagement, and SEO. 15 * Version: 5.0.1 415 * Version: 5.0.15 16 16 * Requires at least: 5.2 17 17 * Tested up to: 6.7 … … 44 44 final class MolonguiAuthorship 45 45 { 46 const VERSION = '5.0.1 4';46 const VERSION = '5.0.15'; 47 47 use Singleton; 48 48 function __construct()
Note: See TracChangeset
for help on using the changeset viewer.