Fix bookshelf link in mobile menu showing if logged-out
This commit is contained in:
parent
fd3d9214fd
commit
e476cfdafd
@ -381,7 +381,7 @@ function fictioneer_mobile_user_menu() {
|
||||
)
|
||||
) {
|
||||
$output['bookshelf'] = sprintf(
|
||||
'<a href="%s" rel="noopener noreferrer nofollow"><i class="fa-solid fa-list mobile-menu__item-icon"></i> %s</a>',
|
||||
'<a href="%s" class="hide-if-logged-out" rel="noopener noreferrer nofollow"><i class="fa-solid fa-list mobile-menu__item-icon"></i> %s</a>',
|
||||
esc_url( $bookshelf_link ),
|
||||
fcntr( 'bookshelf' )
|
||||
);
|
||||
|
Loading…
x
Reference in New Issue
Block a user