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
| git log $(git branch --show-current) --not $(git for-each-ref --format='%(refname)' refs/heads/ | grep -v "refs/heads/$(git branch --show-current)") --pretty=format:"%B" |
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
| .mat-form-field { | |
| font-size: 0.74rem; | |
| input { | |
| font-size: 1rem; | |
| } | |
| label.mat-form-field-label { | |
| font-size: 1rem; | |
| top: 1.45em; |
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
| import { useEffect, RefObject } from 'react'; | |
| declare global { | |
| interface Window { | |
| focusTrap: { [key: string]: FocusTrap }; | |
| } | |
| } | |
| interface FocusTrap { | |
| focusable: HTMLElement[]; |
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
| import * as types from './state/types'; | |
| import { signalRAction } from './MessageHandler'; | |
| import { | |
| signalRStart, | |
| signalRTrackErrors, | |
| signalRStop, | |
| connection, | |
| } from './Connection'; | |
| /** |
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
| export class ReduxPromiseChain { | |
| constructor({ dispatch, promises = [], dispatchMap = [], catchFunc }) { | |
| this.dispatch = dispatch; | |
| this.promises = promises; | |
| this.dispatchMap = dispatchMap; | |
| this.error = false; | |
| this.catchFunc = catchFunc; | |
| if (!dispatch && typeof dispatch === 'function') { | |
| console.error('ReduxPromiseChain requires the dispatch function!'); |
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
| <?php | |
| add_action('wp_enqueue_scripts', function() { | |
| global $wp_styles; | |
| if( ! empty( $wp_styles->registered['storefront-child-style'] ) ) { | |
| $wp_styles->registered['storefront-child-style']->ver = '0.0.1'; | |
| } | |
| }, 40); |
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
| <?php | |
| /** | |
| * Remove all super admins from a non-main site user list. | |
| **/ | |
| filter_super_admins( $args ) { | |
| global $wpdb; | |
| if ( ! is_main_site() ) { | |
| $user_logins = "'" . implode( "', '", get_super_admins() ) . "'"; |
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
| { | |
| "Arial": { | |
| "category": "sans-serif", | |
| "stack": [ | |
| "Arial", | |
| "Arial", | |
| "Helvetica", | |
| "\"Helvetica Neue\"", | |
| "sans-serif" | |
| ] |
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
| <?php | |
| function add_order_notes($order) | |
| { | |
| remove_filter('comments_clauses', array('WC_Comments', 'exclude_order_comments')); | |
| $args = array( | |
| 'order' => 'DESC', | |
| 'approve' => 'approve', | |
| 'type' => 'order_note', | |
| 'post_id' => 4087 |
NewerOlder