Fixing "load_plugin_textdomain called with deprecated argument" error (#1)
This commit is contained in:
parent
5f95c3039b
commit
ec610b4ef1
|
@ -61,7 +61,7 @@ $pageMash_path = WP_CONTENT_DIR.'/plugins/'.plugin_basename(dirname(__FILE__));
|
||||||
$pageMash_url = WP_CONTENT_URL.'/plugins/'.plugin_basename(dirname(__FILE__));
|
$pageMash_url = WP_CONTENT_URL.'/plugins/'.plugin_basename(dirname(__FILE__));
|
||||||
|
|
||||||
// load localisation files
|
// 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){
|
function pageMash_getPages($post_parent){
|
||||||
//this is a recurrsive function which calls itself to produce a nested list of elements
|
//this is a recurrsive function which calls itself to produce a nested list of elements
|
||||||
|
|
Loading…
Reference in New Issue