Skip to content
Permalink
Browse files

992: Fix missing 'By:' author in Glossary entry (#1004)

Fixes #992.

This PR doesn't propose any specific copy as in the issue #992.
It just fix the gettext function `_x()` -> `_ex()` to show the already existing string 'By:' {author}.
  • Loading branch information...
pedro-mendonca authored and ocean90 committed Apr 5, 2019
1 parent 88da4ba commit 9040424894ff514ba0a8137f1a08d6316a8f5dfc
Showing with 1 addition and 1 deletion.
  1. +1 −1 gp-templates/glossary-entry-row.php
@@ -48,7 +48,7 @@
</dl>
<?php if ( $entry->user_login ): ?>
<dl>
<dt><?php _x( 'By:','by author', 'glotpress' ); ?></dt>
<dt><?php _ex( 'By:', 'by author', 'glotpress' ); ?></dt>
<dd><?php
if ( $entry->user_display_name && $entry->user_display_name != $entry->user_login ) {
printf( '%s (%s)', $entry->user_display_name, $entry->user_login );

0 comments on commit 9040424

Please sign in to comment.
You can’t perform that action at this time.