Plugin Directory

Changeset 476976


Ignore:
Timestamp:
12/18/2011 01:04:22 AM (14 years ago)
Author:
Chaser324
Message:

Commit final 1.23 changes to branch.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • featured-posts-scroll/branches/varsize/featured-posts-scroll.php

    r476975 r476976  
    149149        }
    150150    }
     151
     152    // Attempt to generate static JS file.
     153    ob_start();
     154
     155        include(WP_PLUGIN_DIR.'/featured-posts-scroll/js/fps.js.php');
     156
     157        $file_contents = ob_get_contents();
     158        $file_path = WP_PLUGIN_DIR.'/featured-posts-scroll/js/fps.js';
     159        $ret_val = file_put_contents($file_path, $file_contents);
     160   
     161    ob_end_clean();
     162
     163    // Attempt to generate static CSS file.
     164    ob_start();
     165
     166        include(WP_PLUGIN_DIR.'/featured-posts-scroll/css/fps.css.php');
     167
     168        $file_contents = ob_get_contents();
     169        $file_path = WP_PLUGIN_DIR.'/featured-posts-scroll/css/fps.css';
     170        $ret_val = file_put_contents($file_path, $file_contents);
     171   
     172    ob_end_clean();
    151173}
    152174
Note: See TracChangeset for help on using the changeset viewer.