This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| remove_action( 'wp_enqueue_scripts', 'wp_enqueue_global_styles' ); | |
| remove_action( 'wp_body_open', 'wp_global_styles_render_svg_filters' ); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| add_filter( 'auto_core_update_send_email', '__return_false' ); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| function filter_wp_mail_content_type() { | |
| return "text/html"; | |
| } | |
| add_filter( 'wp_mail_content_type', 'filter_wp_mail_content_type', 10, 0 ); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| add_filter('emoji_svg_url', '__return_false'); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| * Disassembly of @deater object tweet https://twitter.com/deater78/status/1368790980237791232 | |
| * by @65816guy / digarok/ Dagen Brock | |
| 00/00E7: 20 D8 F3 JSR F3D8 ; HGR2 -- set hi-res, page2, full graphics | |
| 00/00EA: 8A TXA | |
| 00/00EB: 20 11 F4 JSR F411 ; HPOS2 - positions hi-res cursor without plotting | |
| ; (A) = Y-coordinate, (Y,X) = X-coordinate | |
| 00/00EE: A2 01 LDX #01 | |
| 00/00F0: A0 F0 LDY #F0 | |
| 00/00F2: 20 5D F6 JSR F65D ; XDRAW - Draws a shape inverting dots (eor/xor) on screen. | |
| ; (A) = rotation, (Y,X) = address of the shape table |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| let fadeOut = (target, duration=500) => { | |
| target.style.transitionProperty = 'opacity'; | |
| target.style.transitionDuration = duration + 'ms'; | |
| target.style.opacity = 0; | |
| window.setTimeout( () => { | |
| target.style.display = 'none'; | |
| target.style.removeProperty('opacity'); | |
| target.style.removeProperty('transition-duration'); | |
| target.style.removeProperty('transition-property'); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| define( ‘FS_CHMOD_DIR’, ( 0755 & ~ umask() ) ); | |
| define( ‘FS_CHMOD_FILE’, ( 0644 & ~ umask() ) ); |