Wordpress 3.5: own gallery with included images doesn't work
问题 I just updated to Wordpress 3.5, but this crashed a little part of my code: There is a php file, which loads a specific post with its gallery via AJAX. The code looks like: <?php // Include WordPress define('WP_USE_THEMES', false); require('../../../../wp-load.php'); $id = $_POST['id']; // query post with this identifier query_posts('meta_key=identifier&meta_value='.$id); if (have_posts()) : while (have_posts()) : the_post(); // add content $content = apply_filters('the_content', get_the