@@ -28,7 +28,7 @@ |
||
28 | 28 | return; |
29 | 29 | } |
30 | 30 | |
31 | - if( preg_match('/^\d+$/', $this->value) ){ |
|
31 | + if ( preg_match( '/^\d+$/', $this->value ) ) { |
|
32 | 32 | $this->value = 'url("' . wp_get_attachment_url( $this->value ) . '")'; |
33 | 33 | } else { |
34 | 34 | $this->value = 'url("' . $this->value . '")'; |
@@ -28,7 +28,7 @@ |
||
28 | 28 | return; |
29 | 29 | } |
30 | 30 | |
31 | - if( preg_match('/^\d+$/', $this->value) ){ |
|
31 | + if( preg_match('/^\d+$/', $this->value) ) { |
|
32 | 32 | $this->value = 'url("' . wp_get_attachment_url( $this->value ) . '")'; |
33 | 33 | } else { |
34 | 34 | $this->value = 'url("' . $this->value . '")'; |