automatix
Forum Replies Created
-
Forum: Plugins
In reply to: [WooCommerce] There has been a critical error on this website@gazzazzag thank you for the fix.
Forum: Plugins
In reply to: [Cool Tag Cloud] how to show tags for current product or postHi, I’ve detected a possible bug while having the same problem:
When using the widget instead the shortcode, if you examine the dropdown under On single post display the value for Children Tags is ‘children’.
Shouldn’t be ‘local’?
Thank you for your time.
Ok, found old .mo and .po files on /wp-content/languages/plugins/ , deleted it and then the dump for $pagenow is
WP_Screen Object ( [action] => [base] => reorganizar-productos_page_rwpp-sortby-categories-page [columns:WP_Screen:private] => 0 [id] => reorganizar-productos_page_rwpp-sortby-categories-page [in_admin:protected] => site [is_network] => [is_user] => [parent_base] => [parent_file] => [post_type] => [taxonomy] => [_help_tabs:WP_Screen:private] => Array ( ) [_help_sidebar:WP_Screen:private] => [_screen_reader_content:WP_Screen:private] => Array ( ) [_options:WP_Screen:private] => Array ( ) [_show_screen_options:WP_Screen:private] => [_screen_settings:WP_Screen:private] => [is_block_editor] => )
One more thing, it’s very strange that the original translation for the plugin’s name is in Spanish “Reorganizar los productos de Woocommerce” but I’m seeing “Reordenar los productos”.
I don’t have any custom code related to that, and I can’t find with LOCO translate any string that contains the string “Reordenar”. To be fair IDK how the translation of the menu
- This reply was modified 1 year, 3 months ago by automatix.
It works,
I’ve tried this:
$pagenow = $_REQUEST["page"]; if ( $pagenow && ( 'rwpp-page' !== $pagenow && 'rwpp-sortby-categories-page' !== $pagenow && 'rwpp-troubleshooting-page' !== $pagenow ) ) { return; }
And it’s working.
I disabled Translatepress, and the result is the same.
No, the dump for $pagenow is:
WP_Screen Object ( [action] => [base] => reordenar-los-productos_page_rwpp-sortby-categories-page [columns:WP_Screen:private] => 0 [id] => reordenar-los-productos_page_rwpp-sortby-categories-page [in_admin:protected] => site [is_network] => [is_user] => [parent_base] => [parent_file] => [post_type] => [taxonomy] => [_help_tabs:WP_Screen:private] => Array ( ) [_help_sidebar:WP_Screen:private] => [_screen_reader_content:WP_Screen:private] => Array ( ) [_options:WP_Screen:private] => Array ( ) [_show_screen_options:WP_Screen:private] => [_screen_settings:WP_Screen:private] => [is_block_editor] => )
I disabled the Translatepress and the result is the same, so it’s not related to that plugin.
- This reply was modified 1 year, 3 months ago by automatix.
I had the same problem today, so I discovered the dropdown hasn’t any event attached.
In the file rearrange-woocommerce-products.php line 116 function enqueue assets the $hook expected value was rearrange-products_page_rwpp-sortby-categories-page and the received $hook was reordenar-los-productos_page_rwpp-sortby-categories-page
Somehow the value of $hook has been translated by my Translatepress plugin, you can change the expected hook values at line 118 or comment out the lines 118, 119 and 120 as a temporal dirty hack.
- This reply was modified 1 year, 3 months ago by automatix.