Changeset 558161
- Timestamp:
- 06/14/2012 08:50:48 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
templ33t/branches/01_02_handling_posts/templ33t_object.php
r558160 r558161 632 632 633 633 */ 634 echo '<pre>'.print_r($orig, true).'</pre>';635 634 636 635 $tname = str_replace('.php', '', basename($template)); 637 638 echo site_url('?preview=1&template='.$theme.'&stylesheet='.$theme.'&templ33t_preview='.$tname);639 640 //die();641 636 642 637 $preview = wp_remote_get(site_url('?preview=1&template='.$theme.'&stylesheet='.$theme.'&templ33t_preview='.$tname)); … … 742 737 ); 743 738 744 echo '<pre>'.print_r($config, true).'</pre>'; 745 746 die(); 739 return $config; 747 740 748 741 } else { … … 753 746 754 747 } else { 755 echo '<h2>ERROR</h2><pre>'.print_r($preview, true).'</pre>'; 756 die(); 748 757 749 return false; 758 750
Note: See TracChangeset
for help on using the changeset viewer.