|
@@ 720-726 (lines=7) @@
|
| 717 |
|
if ( ! empty( $safecss_post['post_content'] ) ) { |
| 718 |
|
$css = $safecss_post['post_content']; |
| 719 |
|
} |
| 720 |
|
} else { |
| 721 |
|
$current_revision = Jetpack_Custom_CSS::get_current_revision(); |
| 722 |
|
|
| 723 |
|
if ( ! empty( $current_revision['post_content'] ) ) { |
| 724 |
|
$css = $current_revision['post_content']; |
| 725 |
|
} |
| 726 |
|
} |
| 727 |
|
|
| 728 |
|
// Fix for un-migrated Custom CSS |
| 729 |
|
if ( empty( $safecss_post ) ) { |
|
@@ 737-743 (lines=7) @@
|
| 734 |
|
} |
| 735 |
|
} |
| 736 |
|
|
| 737 |
|
if ( 'safecss_preview' == $option ) { |
| 738 |
|
$safecss_post = Jetpack_Custom_CSS::get_current_revision(); |
| 739 |
|
|
| 740 |
|
if ( !empty( $safecss_post['post_content'] ) ) { |
| 741 |
|
$css = $safecss_post['post_content']; |
| 742 |
|
} |
| 743 |
|
} |
| 744 |
|
|
| 745 |
|
$css = str_replace( array( '\\\00BB \\\0020', '\0BB \020', '0BB 020' ), '\00BB \0020', $css ); |
| 746 |
|
|