Oude WP op nieuwe PHP 7x kan niet inloggen
particleverander $user = wp_signon( ”, $secure_cookie ); regel in wp-login.php in $user = wp_signon( array(), $secure_cookie ); regel 793
verander $user = wp_signon( ”, $secure_cookie ); regel in wp-login.php in $user = wp_signon( array(), $secure_cookie ); regel 793
add_filter(‘get_terms’, function($terms, $tax, $query_vars, $query){ if(is_admin() && get_post_type() == ‘product’ && in_array(‘product_shipping_class’, $tax) && count($tax) == 1){ usort($terms, ‘sort_by_name’); } return $terms; }, 10, 4); function sort_by_name($a, $b) { return strcmp($a->name, $b->name); }
before finish your release/hotfix branch add the tag manually git tag -a v0.1.2 -m “release_added”
// WP – Read more for page var $showMore = $(‘span[id*=”more-“]’); $showMore.html(“Lees meer “); var $showMoreNext = $showMore.parent().nextAll(); $showMoreNext.hide(); $showMore.on(‘click’, function() { $showMoreNext.toggle(“slow”); });
# Change to PHP version 5.6 AddHandler application/x-httpd-php56 .php .php7 .php5 .php4 .php3 SetHandler application/x-lsphp56 # EOF
ul li::before {content: “•”; color: @yellow;}