芝麻web文件管理V1.00
编辑当前文件:/home/royashxg/public_html/wp-content/plugins/blocksy-companion/static/js/notifications.js
import { createElement, render } from '@wordpress/element' import VersionMismatchNotice from './notifications/VersionMismatchNotice' import $ from 'jquery' export const mount = (el) => { if (el.querySelector('.notice-blocksy-theme-version-mismatch')) { const container = el.querySelector( '.notice-blocksy-theme-version-mismatch' ) render(
, el.querySelector('.notice-blocksy-theme-version-mismatch') ) } } document.addEventListener('DOMContentLoaded', () => { mount(document.body) })