Fixing "load_plugin_textdomain called with deprecated argument" error (#1)

This commit is contained in:
Eric van der Vlist 2020-05-08 15:36:23 +02:00
parent 5f95c3039b
commit ec610b4ef1
1 changed files with 1 additions and 1 deletions

View File

@ -61,7 +61,7 @@ $pageMash_path = WP_CONTENT_DIR.'/plugins/'.plugin_basename(dirname(__FILE__));
$pageMash_url = WP_CONTENT_URL.'/plugins/'.plugin_basename(dirname(__FILE__));
// load localisation files
load_plugin_textdomain('pmash','wp-content/plugins/pagemash/');
load_plugin_textdomain('pmash',true, 'wp-content/plugins/pagemash/');
function pageMash_getPages($post_parent){
//this is a recurrsive function which calls itself to produce a nested list of elements