Simone Rescio
Forum Replies Created
-
Hi,
I’ve debugged the issue further, the bug happens on standard wordpress gallery (4.8.2) with twenty-fourteen theme using wp standard gallery (no fancy plugins, the default one),in the fallback branch in lib.view.js#L3069 it looks for the
alt
tag of the image which the gallery items do not have if not set explicitly (the description is not copied into it),also this assumes that the description/caption will coincide which may not be the case,
in my case I have the description set for images but not the
alt
, this still doesn’t sort why it should be able to fetch it in default lang and not in other if HTML is identical for both languages,
after some time I was still unable to figure out how the._attributes
object is populated,still by looking first for an on page rendered description I got the captions to be displayed in the other language, made a PR for it:
https://github.com/archetyped/simple-lightbox/pull/622- This reply was modified 7 years, 5 months ago by Simone Rescio.
Forum: Plugins
In reply to: [Theme My Login] No error notification when entering wrong credentialssame issue here, do you have a fresh wordpress install with your plugin only installed to test that errors are indeed handled correctly? using wordpress’s tewnty-fourteen child theme,
from home page with sidebar widget I land on same page with url parameter “instance=1”, while from standalone page using shortcode page just reloads without sign that anything happenedForum: Plugins
In reply to: [Theme My Login] Theme my login and Polylang integrationI managed to translate part of the contents by suppling in each page created with polylang the specific default_action in the shortcode as per documentation, still there are some untranslated and duplicated contents :
for the login/register widget the widget title and the user links will always stay at the defaul language, the form labels are translated correctly
The pages created with polylang and the default_action specified in the shortcode always output the current action name which can match the page title and is thus unecessary, yet the label is not enclosed in any html tag so it’s not even possible to hide it via CSS
Regarding the themed profile page, if accesses with the default language at the page created by TML when not logged in will redirect to the login form, instead accessing a page with the default_action set to profile when not logged in will return the following error :
Warning: reset() expects parameter 1 to be array, null given in /home/simonere/public_html/wp-content/plugins/theme-my-login/modules/themed-profiles/themed-profiles.php on line 265
also the profile form will appear empty below the error
Forum: Plugins
In reply to: [Theme My Login] Helpmore than empty the page is actually printing the plugin shortcode as inputted for the page content, so the cases are :
1) it was inserted with the visual formatting tool enable which may have wrapped the shortcode in unecessary html resulting in the shortcode being trated as normal text
2) the page template used for the page does not parse shortcodes