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