Changeset 3234936
- Timestamp:
- 02/04/2025 05:27:24 PM (14 months ago)
- Location:
- molongui-authorship/trunk
- Files:
-
- 13 edited
-
README.txt (modified) (1 diff)
-
changelog.txt (modified) (1 diff)
-
common/utils/user.php (modified) (1 diff)
-
i18n/molongui-authorship-ar.po (modified) (2 diffs)
-
i18n/molongui-authorship-de_DE.po (modified) (2 diffs)
-
i18n/molongui-authorship-es_ES.po (modified) (2 diffs)
-
i18n/molongui-authorship-fr_FR.po (modified) (3 diffs)
-
i18n/molongui-authorship-nl_NL.po (modified) (2 diffs)
-
i18n/molongui-authorship-ru_RU.po (modified) (2 diffs)
-
i18n/molongui-authorship-zh_CN.po (modified) (2 diffs)
-
i18n/molongui-authorship.pot (modified) (2 diffs)
-
includes/post.php (modified) (1 diff)
-
molongui-authorship.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
molongui-authorship/trunk/README.txt
r3231805 r3234936 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.11 (2025-02-04) = 201 202 * Fixed: Post byline now shows additional co-authors count. 199 203 200 204 = 5.0.10 (2025-01-30) = -
molongui-authorship/trunk/changelog.txt
r3231805 r3234936 2 2 3 3 == Changelog == 4 5 = 5.0.11 (2025-02-04) = 6 7 * Fixed: Post byline now shows additional co-authors count. 4 8 5 9 = 5.0.10 (2025-01-30) = -
molongui-authorship/trunk/common/utils/user.php
r3086560 r3234936 47 47 return in_array( $role, (array) self::get_roles( $user ) ); 48 48 } 49 public static function has_multiple_roles( $user = null ) 50 { 51 $user = self::get( $user ); 52 if ( !$user or !$user->exists() ) 53 { 54 return false; 55 } 56 $roles = $user->roles; 57 return count( $roles ) > 1; 58 } 49 59 public static function get_browser_data() 50 60 { -
molongui-authorship/trunk/i18n/molongui-authorship-ar.po
r3229540 r3234936 3 3 "Project-Id-Version: Molongui Authorship\n" 4 4 "Report-Msgid-Bugs-To: \n" 5 "POT-Creation-Date: 2025-0 1-27 13:40+0100\n"5 "POT-Creation-Date: 2025-02-04 18:21+0100\n" 6 6 "PO-Revision-Date: 2017-08-23 13:23+0100\n" 7 7 "Last-Translator: Amitzy <molongui@amitzy.com>\n" … … 2475 2475 #: includes/post.php:1416 2476 2476 #, php-format 2477 msgid "% s %d more"2477 msgid "%d more" 2478 2478 msgstr "" 2479 2479 -
molongui-authorship/trunk/i18n/molongui-authorship-de_DE.po
r3229540 r3234936 9 9 "Project-Id-Version: molongui-authorship 2.0.0\n" 10 10 "Report-Msgid-Bugs-To: \n" 11 "POT-Creation-Date: 2025-0 1-27 13:40+0100\n"11 "POT-Creation-Date: 2025-02-04 18:21+0100\n" 12 12 "PO-Revision-Date: 2017-08-21 18:25+0200\n" 13 13 "Last-Translator: <EMAIL@ADDRESS>\n" … … 2318 2318 #: includes/post.php:1416 2319 2319 #, php-format 2320 msgid "% s %d more"2320 msgid "%d more" 2321 2321 msgstr "" 2322 2322 -
molongui-authorship/trunk/i18n/molongui-authorship-es_ES.po
r3229540 r3234936 3 3 "Project-Id-Version: Molongui Authorship\n" 4 4 "Report-Msgid-Bugs-To: \n" 5 "POT-Creation-Date: 2025-0 1-27 13:40+0100\n"5 "POT-Creation-Date: 2025-02-04 18:21+0100\n" 6 6 "PO-Revision-Date: 2020-10-21 22:40+0200\n" 7 7 "Last-Translator: Molongui\n" … … 2445 2445 #: includes/post.php:1416 2446 2446 #, php-format 2447 msgid "% s %d more"2447 msgid "%d more" 2448 2448 msgstr "" 2449 2449 -
molongui-authorship/trunk/i18n/molongui-authorship-fr_FR.po
r3229540 r3234936 9 9 "Project-Id-Version: molongui-authorship 2.0.0\n" 10 10 "Report-Msgid-Bugs-To: \n" 11 "POT-Creation-Date: 2025-0 1-27 13:40+0100\n"11 "POT-Creation-Date: 2025-02-04 18:21+0100\n" 12 12 "PO-Revision-Date: 2018-04-14 17:28+0200\n" 13 13 "Last-Translator: EMAIL@ADDRESS\n" … … 2421 2421 #: includes/post.php:1416 2422 2422 #, fuzzy, php-format 2423 msgid "% s %d more"2423 msgid "%d more" 2424 2424 msgstr "et %d plus" 2425 2425 … … 6651 6651 6652 6652 #, fuzzy 6653 #~ msgid "%s %d more" 6654 #~ msgstr "et %d plus" 6655 6656 #, fuzzy 6653 6657 #~ msgid "Guest Author Duplication." 6654 6658 #~ msgstr "Auteur acronyme" -
molongui-authorship/trunk/i18n/molongui-authorship-nl_NL.po
r3229540 r3234936 3 3 "Project-Id-Version: Molongui Authorship\n" 4 4 "Report-Msgid-Bugs-To: \n" 5 "POT-Creation-Date: 2025-0 1-27 13:40+0100\n"5 "POT-Creation-Date: 2025-02-04 18:21+0100\n" 6 6 "PO-Revision-Date: 2016-09-12 12:31+0100\n" 7 7 "Last-Translator: Amitzy <molongui@amitzy.com>\n" … … 2452 2452 #: includes/post.php:1416 2453 2453 #, php-format 2454 msgid "% s %d more"2454 msgid "%d more" 2455 2455 msgstr "" 2456 2456 -
molongui-authorship/trunk/i18n/molongui-authorship-ru_RU.po
r3229540 r3234936 9 9 "Project-Id-Version: molongui-authorship 2.0.0\n" 10 10 "Report-Msgid-Bugs-To: \n" 11 "POT-Creation-Date: 2025-0 1-27 13:40+0100\n"11 "POT-Creation-Date: 2025-02-04 18:21+0100\n" 12 12 "PO-Revision-Date: 2017-08-21 18:25+0200\n" 13 13 "Last-Translator: <EMAIL@ADDRESS>\n" … … 2324 2324 #: includes/post.php:1416 2325 2325 #, php-format 2326 msgid "% s %d more"2326 msgid "%d more" 2327 2327 msgstr "" 2328 2328 -
molongui-authorship/trunk/i18n/molongui-authorship-zh_CN.po
r3229540 r3234936 9 9 "Project-Id-Version: molongui-authorship 2.0.0\n" 10 10 "Report-Msgid-Bugs-To: \n" 11 "POT-Creation-Date: 2025-0 1-27 13:40+0100\n"11 "POT-Creation-Date: 2025-02-04 18:21+0100\n" 12 12 "PO-Revision-Date: 2017-08-21 18:25+0200\n" 13 13 "Last-Translator: <EMAIL@ADDRESS>\n" … … 2317 2317 #: includes/post.php:1416 2318 2318 #, php-format 2319 msgid "% s %d more"2319 msgid "%d more" 2320 2320 msgstr "" 2321 2321 -
molongui-authorship/trunk/i18n/molongui-authorship.pot
r3231805 r3234936 7 7 msgid "" 8 8 msgstr "" 9 "Project-Id-Version: molongui-authorship 5.0.1 0\n"9 "Project-Id-Version: molongui-authorship 5.0.11\n" 10 10 "Report-Msgid-Bugs-To: \n" 11 "POT-Creation-Date: 2025-0 1-30 09:03+0100\n"11 "POT-Creation-Date: 2025-02-04 18:21+0100\n" 12 12 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" 13 13 "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" … … 2318 2318 #: includes/post.php:1416 2319 2319 #, php-format 2320 msgid "% s %d more"2320 msgid "%d more" 2321 2321 msgstr "" 2322 2322 -
molongui-authorship/trunk/includes/post.php
r3229540 r3234936 679 679 ++$i; 680 680 } 681 if ( $show_remaining and $count <$names_to_display )682 { 683 $byline .= ' ' . sprintf( __( '%s %d more', 'molongui-authorship' ), $last_separator, $count - $names_to_display );681 if ( $show_remaining and $count > $names_to_display ) 682 { 683 $byline .= $last_separator . sprintf( __( '%d more', 'molongui-authorship' ), $count - $names_to_display ); 684 684 } 685 685 Debug::console_log( array( 'post_id' => $post_id, 'post_authors' => $post_authors, 'names_to_display' => $names_to_display, 'byline_authors' => $byline_authors, 'separator' => $separator, 'last_separator' => $last_separator, 'byline' => $byline ), "Byline information" ); -
molongui-authorship/trunk/molongui-authorship.php
r3231805 r3234936 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 015 * Version: 5.0.11 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 0';46 const VERSION = '5.0.11'; 47 47 use Singleton; 48 48 function __construct()
Note: See TracChangeset
for help on using the changeset viewer.