Los namespaces ponen solución duplicado de nombre de variable,funciones y clases.
namespace Deswebcom; const PI = 3.14; function avisa(){ echo "Te estoy avisando"; } class MiClase{ public function probando(){ echo "Esto es una prueba"; } }
$result= $wpdb->get_results("SELECT wp_terms.term_id, wp_terms.name, wp_terms.slug, wp_posts.ID FROM wp_terms INNER JOIN wp_term_taxonomy ON ( wp_terms.term_id = wp_term_taxonomy.term_id ) INNER JOIN wp_term_relationships ON ( wp_terms.term_id = wp_term_relationships.term_taxonomy_id ) INNER JOIN wp_posts ON ( wp_term_relationships.object_id = wp_posts.ID ) WHERE wp_term_taxonomy.taxonomy = 'tag' AND wp_posts.ID = ".get_the_ID()." ORDER BY wp_posts.post_date DESC ");
.xls application/vnd.ms-excel .xlsx application/vnd.openxmlformats-officedocument.spreadsheetml.sheet .ppt application/vnd.ms-powerpoint .pptx application/vnd.openxmlformats-officedocument.presentationml.presentation And one of those you have listed is wrong: .docx application/vnd.openxmlformats-officedocument.wordprocessingml.document
Este error se produce por la configuración de APC (Alternative PHP Cache) de php. Su configuración esta limitada y ahí que aumentar los MB asignados en el php.ini.
apc.shm_size = 64
date('Y-m-d H:i:s', time());