Skip to content

Commit

Permalink
Merge pull request #96 from siteorigin/prevent-warning
Browse files Browse the repository at this point in the history
Remove get_theme_css()
  • Loading branch information
gregpriday authored Jan 29, 2020
2 parents 3632387 + b34b48c commit 0badb39
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion so-css.php
Original file line number Diff line number Diff line change
Expand Up @@ -374,7 +374,6 @@ function enqueue_admin_scripts( $page ) {
$home_url = add_query_arg( 'so_css_preview', '1', $init_url );

wp_localize_script( 'siteorigin-custom-css', 'socssOptions', array(
'themeCSS' => SiteOrigin_CSS::single()->get_theme_css(),
'homeURL' => $home_url,
'postCssUrlRoot' => wp_nonce_url( admin_url('admin-ajax.php?action=socss_get_post_css'), 'get_post_css' ),
'getRevisionsListAjaxUrl' => wp_nonce_url( admin_url('admin-ajax.php?action=socss_get_revisions_list'), 'get_revisions_list' ),
Expand Down

0 comments on commit 0badb39

Please sign in to comment.