weeix
Forum Replies Created
-
Forum: Plugins
In reply to: [W3 Total Cache] Updating from plugin version 2.9.2 to 2.9.3 breaks jsonI can confirm this. Our site’s
/wp-json/wp/v2/postsendpoint was returning empty responses until we deactivated W3TC.The problem occurs when $link_item in line 252 is percent-encoded, e.g., http://www.example.com/wordpress/2024/09/30/%E0%B8%A0%E0%B8%B2%E0%B8%A9%E0%B8%B2%E0%B9%84%E0%B8%97%E0%B8%A2
Example fix:
$item = ! empty( $matches )
? preg_replace( '/(<a.*?)([\'"])>/i', '$1$2 itemprop=$2item$2>', $item )
: sprintf( '<a href="%s" itemprop="item">%s</a>', esc_url( $link_item ), $item );- This reply was modified 1 year, 8 months ago by weeix. Reason: wrong link
Forum: Plugins
In reply to: [The Events Calendar] Critical Error after UpdateThis error affected my site too. I had to manually delete the plugin directory to be able to access the site / login.
Forum: Plugins
In reply to: [Smart Slider 3] Autoplay not working when publishedThe issue has been resolved. Thank you for your thoughtful support.
Thanks for pointing out.
I’ll try to file a bug report then.
Agreed. The email content from each blog are identical.
I think just 1 email per multisite network is enough.
Forum: Plugins
In reply to: [Download Manager] Deleting the entry doesn't remove it from the file systemThat have nothing to do with the issue. In the current release, if you delete the package, the links in every posts would still be dead.
When deleting a file, I also expect to gain some free space. Not just to move it out of my sight.
Forum: Themes and Templates
In reply to: How to remove parent's image size from child theme?Thanks wahmaholic, it worked out perfectly!
Forum: Plugins
In reply to: [Polylang] Thai font showing as question marksHow do you translate the string? edit them directly in the php file or edit the *.po file?
WordPress recommended us to edit the *.po files and generate it into *.mo files (most software would automatically do this)
I have never experienced such issue like these, so create another post might help.
Forum: Plugins
In reply to: [Polylang] Thai font showing as question marksAre your database’s & table’s collations set to something like
utf8_general_ci?Thanks, that’s very nice of you.
Forum: Plugins
In reply to: [Polylang] Missing translation for my-theme/sub-folder/file.phpSolved by using remove/add_actions in the child theme’s
functions.phpand change every texts to use the same textdomain (as my child theme)🙂
Yeah I think that would be great too.
Not sure how to adapt the snippet for my case (I just wan’t to deal with the link)
I’m trying to figure out how to add some class to that link – something like
class="pll-no-translation"– so I could use jQuery to deal with it. But with my current knowledge about WP & PHP, I’m not sure is that even possible lolForum: Plugins
In reply to: [Polylang] Warnings from 'Codestyling Localization' pluginMaybe it’s about the php in my machine – I’m using version 5.4.7
It seems that
load_textdomainis essential for multilingual plugins since they have to localize WP, themes and other plugins.Forum: Plugins
In reply to: [Polylang] Missing translation for my-theme/sub-folder/file.phpOh yes I forgot to tell you that I loaded the text domain in the child theme with these codes in
function.php:add_action( 'after_setup_theme', 'overwrite_settings' ); function overwrite_settings() { load_theme_textdomain('proyecto', get_template_directory() . '/lang'); // Fix Parent Theme Localization load_child_theme_textdomain( 'hynae', get_stylesheet_directory() . '/languages' ); // Child Theme Localization }I’ll try to fix it in the child theme and come back here to report.
Thanks for all your hardwork. I really appreciate it.