HEX
Server: Apache/2.4.65 (Debian)
System: Linux web6 5.10.0-36-amd64 #1 SMP Debian 5.10.244-1 (2025-09-29) x86_64
User: innocamp (1028)
PHP: 7.4.33
Disabled: pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare,
Upload Files
File: /home/thwoodlg/public_html/wp-content/plugins/waspthemes-yellow-pencil/js/admin.js
!function(n){"use strict";n(document).ready(function(){var e="single";default_global_customization_type&&(e="global"),0==n("body").hasClass("post-type-attachment")&&0<n("#postbox-container-1").length&&(n(document).on("click",".yp-btn",function(){var o=null;0<n("#sample-permalink a").length&&(o=n("#sample-permalink a").attr("href")),null!=o&&null!=o&&""!=o||(o=n("#post-preview").attr("href")),n(window).off("beforeunload.edit-post"),wp.autosave.server.tempBlockSave(),n("form#post").submit(),-1!=o.indexOf("://")&&(o=o.split("://")[1]);var t=n("#post_ID").val(),o="admin.php?page=yellow-pencil-editor&href="+encodeURIComponent(o)+"&yp_page_id="+t+"&yp_page_type="+typenow+"&yp_mode="+e;window.open(o,"_blank")}),n("#postbox-container-1").prepend("<a class='yp-btn'><span class='dashicons dashicons-admin-appearance'></span>Edit Page - YellowPencil</a>")),n("body").hasClass("block-editor-page")&&(window.ypLoaderBlock=setInterval(function(){0<n(".edit-post-header-toolbar").length&&(clearInterval(window.ypLoaderBlock),n(document).on("click",".yp-btn",function(){0<n(".editor-post-save-draft").length&&n(".editor-post-save-draft").trigger("click");var o="admin.php?page=yellow-pencil-editor&href&yp_page_id="+n("#post_ID").val()+"&yp_page_type="+typenow+"&yp_mode="+e;window.open(o,"_blank")}),0<n(".edit-post-header-toolbar__block-toolbar").length?n(".edit-post-header-toolbar__block-toolbar").before("<button type='button' class='components-button components-icon-button yp-btn'><span class='dashicons dashicons-admin-appearance'></span></button>"):n(".edit-post-header-toolbar").append("<button type='button' class='components-button components-icon-button yp-btn'><span class='dashicons dashicons-admin-appearance'></span></button>"))},300))})}(jQuery);