| @@ -35,8 +35,10 @@ | ||
| 35 | 35 | * @param string $type The type of color we will construct from. |
| 36 | 36 | * One of hex (default), rgb, hsl, int. |
| 37 | 37 | */ |
| 38 | 38 | public function __construct( $color = null, $type = 'hex' ) { |
| 39 | + _deprecated_function( 'Jetpack_Color::__construct', 'jetpack-13.8' ); | |
| 40 | + | |
| 39 | 41 | if ( $color ) { |
| 40 | 42 | switch ( $type ) { |
| 41 | 43 | case 'hex': |
| 42 | 44 | $this->fromHex( $color ); |