Monthly Archives: June 2019

WooCommerce – change Related Products title

// Change WooCommerce related products title
add_filter('gettext', 'change_relatedproducts_title', 10, 3);
add_filter('ngettext', 'change_relatedproducts_title', 10, 3);
function change_relatedproducts_title($translated, $text, $domain)
{
     if ($text === 'Related products' && $domain === 'woocommerce')
         $translated = esc_html__('Check out our other products', $domain);
     return $translated;
}

nagios problems 4.4.3

qh: Failed to init socket ‘/usr/local/nagios/var/rw/nagios.qh’

For this, I had to edit my (/etc/nagios/)nagios.cfg and

QUERY HANDLER INTERFACE
# This is the socket that is created for the Query Handler interface
#query_socket=/var/lib/nagios/rw/nagios.qh 
query_socket=/usr/local/nagios/var/rw/query.sh

Another problem occurred while trying to start nagios..

For this problem, this is the solution found

mkdir /usr/local/nagios/var/rw
chown nagios.nagios /usr/local/nagios/var/rw
service nagios restart

Important notice for batteries in certain MacBook Pro units

Cupertino, California — Apple today announced a voluntary recall of a limited number of older generation 15-inch MacBook Pro units which contain a battery that may overheat and pose a safety risk. The units were sold primarily between September 2015 and February 2017 and can be identified by their product serial number. The recall does not affect any other 15-inch MacBook Pro units or other Mac notebooks.

https://www.apple.com/pt/newsroom/2019/06/important-notice-for-batteries-in-certain-macbook-pro-units/

To find if your Macbook Pro battery is affected go to
https://support.apple.com/15-inch-macbook-pro-battery-recall
and enter your MB serial number.