|
@@ 730-736 (lines=7) @@
|
| 727 |
|
if ( ! empty( $safecss_post['post_content'] ) ) { |
| 728 |
|
$css = $safecss_post['post_content']; |
| 729 |
|
} |
| 730 |
|
} else { |
| 731 |
|
$current_revision = Jetpack_Custom_CSS::get_current_revision(); |
| 732 |
|
|
| 733 |
|
if ( ! empty( $current_revision['post_content'] ) ) { |
| 734 |
|
$css = $current_revision['post_content']; |
| 735 |
|
} |
| 736 |
|
} |
| 737 |
|
|
| 738 |
|
// Fix for un-migrated Custom CSS |
| 739 |
|
if ( empty( $safecss_post ) ) { |
|
@@ 747-753 (lines=7) @@
|
| 744 |
|
} |
| 745 |
|
} |
| 746 |
|
|
| 747 |
|
if ( 'safecss_preview' == $option ) { |
| 748 |
|
$safecss_post = Jetpack_Custom_CSS::get_current_revision(); |
| 749 |
|
|
| 750 |
|
if ( !empty( $safecss_post['post_content'] ) ) { |
| 751 |
|
$css = $safecss_post['post_content']; |
| 752 |
|
} |
| 753 |
|
} |
| 754 |
|
|
| 755 |
|
$css = str_replace( array( '\\\00BB \\\0020', '\0BB \020', '0BB 020' ), '\00BB \0020', $css ); |
| 756 |
|
|