Changeset 149031
- Timestamp:
- 08/25/2009 05:28:14 PM (17 years ago)
- Location:
- wordbay
- Files:
-
- 2 edited
-
tags/1.15/WordBay.php (modified) (1 diff)
-
trunk/WordBay.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
wordbay/tags/1.15/WordBay.php
r149027 r149031 804 804 { 805 805 ?><p style="color: red;">No existing <strong>WordBay.css</strong> was found in your plugin directory (either you have just installed a new version of WordBay, or you deleted it for some reason). A previous css file was found in memory and saved as <strong>WordBay.css</strong>.</p><?php 806 file_put_contents('../wp-content/plugins/wordbay/WordBay.css', $WBCSSdata); 807 } 808 809 } 810 806 file_put_contents('../wp-content/plugins/wordbay/WordBay.css', $varWBCSS); 807 } 808 809 810 } 811 812 else if (file_exists('../wp-content/plugins/wordbay/WordBay.css')) 813 { 814 $WBCSSdata = file_get_contents('../wp-content/plugins/wordbay/WordBay.css'); 815 $WBOptions['WordBayCSS'] = $WBCSSdata; 816 update_option ( $this -> adminOptionsName, $WBOptions ); 817 $varWBCSS = $WBCSSdata; 818 ?> 819 820 821 <p style="color: red;"><strong>WordBay.css</strong> was found in your plugin directory. You should edit it here from now on - editing it directly will no longer work as of version 1.15 of WordBay.</p> 822 <?php } 811 823 812 824 else if (file_exists('../wp-content/plugins/wordbay/WordBay.css.default')) -
wordbay/trunk/WordBay.php
r149027 r149031 804 804 { 805 805 ?><p style="color: red;">No existing <strong>WordBay.css</strong> was found in your plugin directory (either you have just installed a new version of WordBay, or you deleted it for some reason). A previous css file was found in memory and saved as <strong>WordBay.css</strong>.</p><?php 806 file_put_contents('../wp-content/plugins/wordbay/WordBay.css', $WBCSSdata); 807 } 808 809 } 810 806 file_put_contents('../wp-content/plugins/wordbay/WordBay.css', $varWBCSS); 807 } 808 809 810 } 811 812 else if (file_exists('../wp-content/plugins/wordbay/WordBay.css')) 813 { 814 $WBCSSdata = file_get_contents('../wp-content/plugins/wordbay/WordBay.css'); 815 $WBOptions['WordBayCSS'] = $WBCSSdata; 816 update_option ( $this -> adminOptionsName, $WBOptions ); 817 $varWBCSS = $WBCSSdata; 818 ?> 819 820 821 <p style="color: red;"><strong>WordBay.css</strong> was found in your plugin directory. You should edit it here from now on - editing it directly will no longer work as of version 1.15 of WordBay.</p> 822 <?php } 811 823 812 824 else if (file_exists('../wp-content/plugins/wordbay/WordBay.css.default'))
Note: See TracChangeset
for help on using the changeset viewer.