Skip to content

Instantly share code, notes, and snippets.

@woogists
Created March 9, 2018 16:45
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 2 You must be signed in to fork a gist
  • Save woogists/69cb6aa8eb2bf8610ebb3bd4592b3f23 to your computer and use it in GitHub Desktop.
Save woogists/69cb6aa8eb2bf8610ebb3bd4592b3f23 to your computer and use it in GitHub Desktop.
[WooCommerce Brands] order the brands on the front end as it is showcased on the Admin Panel
add_filter( 'woocommerce_sortable_taxonomies','wt_sort_brands' );
function wt_sort_brands( $sortable ) {
$sortable[] = 'product_brand';
return $sortable;
}
@geomach
Copy link

geomach commented Dec 31, 2018

{{SHA-box}}
{{Infobox encryption method
| name = SHA-1
| image =
| caption =

| designers = [[National Security
Agency]]
| publish date = 1993 (SHA-0),<br /

1995 (SHA-1)
| series = ([[SHA-0]]), SHA-1,
[[SHA-2]], [[SHA-3]]
| derived from =!
| derived to =!
| related to =!
| certification = [[Federal Information
Processing Standard|FIPS]] PUB 180-4,
[[CRYPTREC]] (Monitored)

| digest size = 160 bits
| block size = 512 bits
| structure = [[Merkle–Damgård
construction]]
| rounds = 80
| cryptanalysis = A 2018 attack by geomach

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment