You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
netniV
changed the title
Missing a 'default:' in lib/export.php cause export hookable not work
Export hooks no longer work due to missing default keyword
Jan 25, 2019
Export hooks no longer work due to missing default keyword in function get_item_xml(). As there was a small section of code after a 'break' keyword in a switch condition, this suggests the default keyword was accidentally removed.
Export hooks no longer work due to missing default keyword in function get_item_xml(). As there was a small section of code after a 'break' keyword in a switch condition, this suggests the default keyword was accidentally removed.
Some code after 'break;', the code will never be executed. Missing a 'default:' in lib/export.php , make the logic error.
Introduced in 22d9444
It should be as below,
The text was updated successfully, but these errors were encountered: