X7ROOT File Manager
Current Path:
/home/notabjze/digitalcontentmentors.com/wp-admin/js
home
/
notabjze
/
digitalcontentmentors.com
/
wp-admin
/
js
/
ðŸ“
..
📄
accordion.js
(2.86 KB)
📄
accordion.min.js
(758 B)
📄
application-passwords.js
(6.24 KB)
📄
application-passwords.min.js
(2.95 KB)
📄
auth-app.js
(5.66 KB)
📄
auth-app.min.js
(2.04 KB)
📄
code-editor.js
(11.32 KB)
📄
code-editor.min.js
(3.01 KB)
📄
color-picker.js
(9.54 KB)
📄
color-picker.min.js
(3.4 KB)
📄
comment.js
(2.85 KB)
📄
comment.min.js
(1.28 KB)
📄
common.js
(61.15 KB)
📄
common.min.js
(23.12 KB)
📄
custom-background.js
(3.35 KB)
📄
custom-background.min.js
(1.18 KB)
📄
custom-header.js
(1.98 KB)
📄
customize-controls.js
(287.36 KB)
📄
customize-controls.min.js
(109.14 KB)
📄
customize-nav-menus.js
(110.92 KB)
📄
customize-nav-menus.min.js
(46.89 KB)
📄
customize-widgets.js
(70.05 KB)
📄
customize-widgets.min.js
(27.41 KB)
📄
dashboard.js
(27.02 KB)
📄
dashboard.min.js
(8.65 KB)
📄
edit-comments.js
(37.12 KB)
📄
edit-comments.min.js
(15.13 KB)
📄
editor-expand.js
(41.61 KB)
📄
editor-expand.min.js
(13.14 KB)
📄
editor.js
(43.98 KB)
📄
editor.min.js
(12.76 KB)
📄
farbtastic.js
(7.67 KB)
📄
gallery.js
(5.41 KB)
📄
gallery.min.js
(3.65 KB)
📄
image-edit.js
(39.98 KB)
📄
image-edit.min.js
(15.15 KB)
📄
inline-edit-post.js
(20.17 KB)
📄
inline-edit-post.min.js
(9.41 KB)
📄
inline-edit-tax.js
(7.61 KB)
📄
inline-edit-tax.min.js
(2.93 KB)
📄
iris.min.js
(23.09 KB)
📄
language-chooser.js
(890 B)
📄
language-chooser.min.js
(423 B)
📄
link.js
(3.89 KB)
📄
link.min.js
(1.7 KB)
📄
media-gallery.js
(1.27 KB)
📄
media-gallery.min.js
(611 B)
📄
media-upload.js
(3.38 KB)
📄
media-upload.min.js
(1.13 KB)
📄
media.js
(6.61 KB)
📄
media.min.js
(2.38 KB)
📄
nav-menu.js
(60.44 KB)
📄
nav-menu.min.js
(29.77 KB)
📄
password-strength-meter.js
(4.14 KB)
📄
password-strength-meter.min.js
(1.1 KB)
📄
password-toggle.js
(1.31 KB)
📄
password-toggle.min.js
(847 B)
📄
plugin-install.js
(6.92 KB)
📄
plugin-install.min.js
(2.35 KB)
📄
post.js
(38.68 KB)
📄
post.min.js
(18.4 KB)
📄
postbox.js
(18.49 KB)
📄
postbox.min.js
(6.6 KB)
📄
privacy-tools.js
(10.67 KB)
📄
privacy-tools.min.js
(5.03 KB)
📄
revisions.js
(33.92 KB)
📄
revisions.min.js
(17.97 KB)
📄
set-post-thumbnail.js
(876 B)
📄
set-post-thumbnail.min.js
(620 B)
📄
site-health.js
(13.15 KB)
📄
site-health.min.js
(6.13 KB)
📄
site-icon.js
(6.1 KB)
📄
site-icon.min.js
(2.2 KB)
📄
svg-painter.js
(3.2 KB)
📄
svg-painter.min.js
(1.53 KB)
📄
tags-box.js
(10.88 KB)
📄
tags-box.min.js
(3 KB)
📄
tags-suggest.js
(5.64 KB)
📄
tags-suggest.min.js
(2.22 KB)
📄
tags.js
(4.85 KB)
📄
tags.min.js
(2.04 KB)
📄
theme-plugin-editor.js
(24.77 KB)
📄
theme-plugin-editor.min.js
(11.43 KB)
📄
theme.js
(54.67 KB)
📄
theme.min.js
(26.42 KB)
📄
updates.js
(109.33 KB)
📄
updates.min.js
(47.27 KB)
📄
user-profile.js
(15 KB)
📄
user-profile.min.js
(6.7 KB)
📄
user-suggest.js
(2.25 KB)
📄
user-suggest.min.js
(676 B)
ðŸ“
widgets
📄
widgets.js
(22.56 KB)
📄
widgets.min.js
(12.31 KB)
📄
word-count.js
(7.52 KB)
📄
word-count.min.js
(1.49 KB)
📄
xfn.js
(740 B)
📄
xfn.min.js
(458 B)
Editing: svg-painter.js
/** * Attempt to re-color SVG icons used in the admin menu or the toolbar * * @output wp-admin/js/svg-painter.js */ window.wp = window.wp || {}; wp.svgPainter = ( function( $, window, document, undefined ) { 'use strict'; var selector, painter, colorscheme = {}, elements = []; $( function() { wp.svgPainter.init(); }); return { init: function() { painter = this; selector = $( '#adminmenu .wp-menu-image, #wpadminbar .ab-item' ); painter.setColors(); painter.findElements(); painter.paint(); }, setColors: function( colors ) { if ( typeof colors === 'undefined' && typeof window._wpColorScheme !== 'undefined' ) { colors = window._wpColorScheme; } if ( colors && colors.icons && colors.icons.base && colors.icons.current && colors.icons.focus ) { colorscheme = colors.icons; } }, findElements: function() { selector.each( function() { var $this = $(this), bgImage = $this.css( 'background-image' ); if ( bgImage && bgImage.indexOf( 'data:image/svg+xml;base64' ) != -1 ) { elements.push( $this ); } }); }, paint: function() { // Loop through all elements. $.each( elements, function( index, $element ) { var $menuitem = $element.parent().parent(); if ( $menuitem.hasClass( 'current' ) || $menuitem.hasClass( 'wp-has-current-submenu' ) ) { // Paint icon in 'current' color. painter.paintElement( $element, 'current' ); } else { // Paint icon in base color. painter.paintElement( $element, 'base' ); // Set hover callbacks. $menuitem.on( 'mouseenter', function() { painter.paintElement( $element, 'focus' ); } ).on( 'mouseleave', function() { // Match the delay from hoverIntent. window.setTimeout( function() { painter.paintElement( $element, 'base' ); }, 100 ); } ); } }); }, paintElement: function( $element, colorType ) { var xml, encoded, color; if ( ! colorType || ! colorscheme.hasOwnProperty( colorType ) ) { return; } color = colorscheme[ colorType ]; // Only accept hex colors: #101 or #101010. if ( ! color.match( /^(#[0-9a-f]{3}|#[0-9a-f]{6})$/i ) ) { return; } xml = $element.data( 'wp-ui-svg-' + color ); if ( xml === 'none' ) { return; } if ( ! xml ) { encoded = $element.css( 'background-image' ).match( /.+data:image\/svg\+xml;base64,([A-Za-z0-9\+\/\=]+)/ ); if ( ! encoded || ! encoded[1] ) { $element.data( 'wp-ui-svg-' + color, 'none' ); return; } try { xml = window.atob( encoded[1] ); } catch ( error ) {} if ( xml ) { // Replace `fill` attributes. xml = xml.replace( /fill="(.+?)"/g, 'fill="' + color + '"'); // Replace `style` attributes. xml = xml.replace( /style="(.+?)"/g, 'style="fill:' + color + '"'); // Replace `fill` properties in `<style>` tags. xml = xml.replace( /fill:.*?;/g, 'fill: ' + color + ';'); xml = window.btoa( xml ); $element.data( 'wp-ui-svg-' + color, xml ); } else { $element.data( 'wp-ui-svg-' + color, 'none' ); return; } } $element.attr( 'style', 'background-image: url("data:image/svg+xml;base64,' + xml + '") !important;' ); } }; })( jQuery, window, document );
Upload File
Create Folder