Changeset 676649
- Timestamp:
- 03/05/2013 09:40:48 PM (13 years ago)
- Location:
- color-scheme-every-theme
- Files:
-
- 4 edited
- 6 copied
-
tags/1.1 (copied) (copied from color-scheme-every-theme/trunk)
-
tags/1.1/classes (copied) (copied from color-scheme-every-theme/trunk/classes)
-
tags/1.1/classes/ColorExtractor.class.php (modified) (1 diff)
-
tags/1.1/color-scheme-every-theme.php (copied) (copied from color-scheme-every-theme/trunk/color-scheme-every-theme.php) (1 diff)
-
tags/1.1/languages (copied) (copied from color-scheme-every-theme/trunk/languages)
-
tags/1.1/readme.txt (copied) (copied from color-scheme-every-theme/trunk/readme.txt) (2 diffs)
-
tags/1.1/views (copied) (copied from color-scheme-every-theme/trunk/views)
-
trunk/classes/ColorExtractor.class.php (modified) (1 diff)
-
trunk/color-scheme-every-theme.php (modified) (1 diff)
-
trunk/readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
color-scheme-every-theme/tags/1.1/classes/ColorExtractor.class.php
r673507 r676649 70 70 if ($this->color_scheme_exists()) { 71 71 $scheme = file_get_contents($this->current_css_tmpl); 72 if (preg_match('/\/\*(.|\\n|\\r)+\*\//',$scheme, $default_colors)) { 73 return $default_colors[0]; 72 $start = strpos($scheme,"/*"); 73 $stop = strpos($scheme,"*/"); 74 if ($start >= 0 && $stop >= 0) { 75 return substr($scheme,$start,$stop-$start+2); 74 76 } 75 77 } -
color-scheme-every-theme/tags/1.1/color-scheme-every-theme.php
r673507 r676649 4 4 Plugin URI: http://www.danielauener.com/color-scheme-every-theme 5 5 Description: This plugin lets you change the entire color scheme of the current theme via the theme customizer. 6 Version: 1. 06 Version: 1.1 7 7 Author: @danielauener 8 8 Author URI: http://www.danielauener.se -
color-scheme-every-theme/tags/1.1/readme.txt
r673507 r676649 5 5 Requires at least: 3.4 6 6 Tested up to: 3.5 7 Stable tag: trunk7 Stable tag: 1.1 8 8 License: GPLv2 or later 9 9 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 50 50 = 1.0 = 51 51 * Version 1.0 done 52 53 = 1.1 = 54 * Fixed a bug that resulted in a blank page after generating the color scheme - thanks to Stiaan for reporting the bug and Ulrich P for helping me to reproduce it! -
color-scheme-every-theme/trunk/classes/ColorExtractor.class.php
r673507 r676649 70 70 if ($this->color_scheme_exists()) { 71 71 $scheme = file_get_contents($this->current_css_tmpl); 72 if (preg_match('/\/\*(.|\\n|\\r)+\*\//',$scheme, $default_colors)) { 73 return $default_colors[0]; 72 $start = strpos($scheme,"/*"); 73 $stop = strpos($scheme,"*/"); 74 if ($start >= 0 && $stop >= 0) { 75 return substr($scheme,$start,$stop-$start+2); 74 76 } 75 77 } -
color-scheme-every-theme/trunk/color-scheme-every-theme.php
r673507 r676649 4 4 Plugin URI: http://www.danielauener.com/color-scheme-every-theme 5 5 Description: This plugin lets you change the entire color scheme of the current theme via the theme customizer. 6 Version: 1. 06 Version: 1.1 7 7 Author: @danielauener 8 8 Author URI: http://www.danielauener.se -
color-scheme-every-theme/trunk/readme.txt
r673507 r676649 5 5 Requires at least: 3.4 6 6 Tested up to: 3.5 7 Stable tag: trunk7 Stable tag: 1.1 8 8 License: GPLv2 or later 9 9 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 50 50 = 1.0 = 51 51 * Version 1.0 done 52 53 = 1.1 = 54 * Fixed a bug that resulted in a blank page after generating the color scheme - thanks to Stiaan for reporting the bug and Ulrich P for helping me to reproduce it!
Note: See TracChangeset
for help on using the changeset viewer.