Ben yürütmek için taxonomy.php gerektiren dosyamda bazı işlevler var. I / so ... (Bu wp_content / themes / Mytheme bulunan functions.php, denir gibi dosya eklemek için çalışılıyor
include($_SERVER['DOCUMENT_ROOT'] .'/wp-admin/includes/taxonomy.php');
Ancak, belirli bir sunucu kurulum bağlı olarak, kendi vurmak ya da özledim bulundu olacak içerip (çoğunlukla hit). Durumda onun bulunamadı, bu hatayı alıyorum ...
Uyarı: failed to open stream: [function.include] (/ home / user / domainname.com / wp-admin / includes / taxonomy.php) include / home/user/domainname.com/testing123 böyle bir dosya ya da dizin yok / 10 hattı üzerine wp-content/themes/mytheme/functions.php
*UPDATE: Assuming I'm already doing about as much as I can by using DOCUMENT_ROOT, is there a means of avoiding the error that occurs when the file is not found? And I will be checking for function_exists in any functions that require taxonomy.php so as to suppress errors...*