Plugin Directory

Changeset 563313


Ignore:
Timestamp:
06/24/2012 10:22:33 PM (14 years ago)
Author:
technosis
Message:

trying to fix template parsing by making the preview link match that of wordpress

File:
1 edited

Legend:

Unmodified
Added
Removed
  • templ33t/branches/01_02_handling_posts/templ33t_object.php

    r562281 r563313  
    680680        $tname = str_replace('.php', '', basename($template));
    681681       
    682         $preview = wp_remote_get(site_url('?preview=1&template='.$theme.'&stylesheet='.$theme.'&templ33t_preview='.$tname));
     682        $preview = wp_remote_get(site_url('?preview=1&template='.$theme.'&stylesheet='.$theme.'&templ33t_preview='.$tname.'&preview_iframe=1&TB_iframe=true'));
    683683       
    684684        if(!is_wp_error($preview)) {
Note: See TracChangeset for help on using the changeset viewer.