\" plugin_version.type = \"hidden\" form.appendChild(plugin_version) var wordpress_version = document.createElement(\"input\") wordpress_version.name = \"wordpress_version\" wordpress_version.id = \"wordpress_version\" wordpress_version.value = '$wp_version' wordpress_version.type = \"hidden\" form.appendChild(wordpress_version) } },200); "; } else { echo ''; } } else { echo ''; } } else { echo ""; return; } } } /** * Google analytics . */ function ga_footer() { if ( ! ( defined( 'DOING_AJAX' ) && DOING_AJAX ) ) { $banner_discarded_count = get_option( 'sm_beta_banner_discarded_count' ); if ( 1 === $banner_discarded_count || '1' === $banner_discarded_count ) { echo ''; } } } /** * Check if the requirements of the sitemap plugin are met and loads the actual loader * * @package sitemap * @since 4.0 */ function sm_setup() { $fail = false; // Check minimum PHP requirements, which is 5.2 at the moment. if ( version_compare( PHP_VERSION, '5.2', '<' ) ) { add_action( 'admin_notices', 'sm_add_php_version_error' ); $fail = true; } // Check minimum WP requirements, which is 3.3 at the moment. if ( version_compare( $GLOBALS['wp_version'], '3.3', '<' ) ) { add_action( 'admin_notices', 'sm_add_wp_version_error' ); $fail = true; } if ( ! $fail ) { require_once trailingslashit( dirname( __FILE__ ) ) . 'class-googlesitemapgeneratorloader.php'; } } /** * Adds a notice to the admin interface that the WordPress version is too old for the plugin * * @package sitemap * @since 4.0 */ function sm_add_wp_version_error() { /* translators: %s: search term */ echo '

' . esc_html( __( 'Your WordPress version is too old for XML Sitemaps.', 'google-sitemap-generator' ) ) . '
' . esc_html( sprintf( __( 'Unfortunately this release of Google XML Sitemaps requires at least WordPress %4$s. You are using WordPress %2$s, which is out-dated and insecure. Please upgrade or go to active plugins and deactivate the Google XML Sitemaps plugin to hide this message. You can download an older version of this plugin from the plugin website.', 'google-sitemap-generator' ), 'plugins.php?plugin_status=active', esc_html( $GLOBALS['wp_version'] ), 'http://www.arnebrachhold.de/redir/sitemap-home/', '3.3' ) ) . '

'; } /** * Adds a notice to the admin interface that the WordPress version is too old for the plugin * * @package sitemap * @since 4.0 */ function sm_add_php_version_error() { /* translators: %s: search term */ echo '

' . esc_html( __( 'Your PHP version is too old for XML Sitemaps.', 'google-sitemap-generator' ) ) . '
' . esc_html( sprintf( __( 'Unfortunately this release of Google XML Sitemaps requires at least PHP %4$s. You are using PHP %2$s, which is out-dated and insecure. Please ask your web host to update your PHP installation or go to active plugins and deactivate the Google XML Sitemaps plugin to hide this message. You can download an older version of this plugin from the plugin website.', 'google-sitemap-generator' ), 'plugins.php?plugin_status=active', PHP_VERSION, 'http://www.arnebrachhold.de/redir/sitemap-home/', '5.2' ) ) . '

'; } /** * Returns the file used to load the sitemap plugin * * @package sitemap * @since 4.0 * @return string The path and file of the sitemap plugin entry point */ function sm_get_init_file() { return __FILE__; } /** * Register beta user consent function. */ function register_consent() { if ( ! ( defined( 'DOING_AJAX' ) && DOING_AJAX ) ) { if ( is_user_logged_in() && current_user_can( 'manage_options' ) ) { if ( isset( $_POST['user_consent_yes'] ) ) { if (isset($_POST['user_consent_yesno_nonce_token']) && check_admin_referer('user_consent_yesno_nonce', 'user_consent_yesno_nonce_token')){ update_option( 'sm_user_consent', 'yes' ); } } if ( isset( $_POST['user_consent_no'] ) ) { if (isset($_POST['user_consent_yesno_nonce_token']) && check_admin_referer('user_consent_yesno_nonce', 'user_consent_yesno_nonce_token')){ update_option( 'sm_user_consent', 'no' ); } } if ( isset( $_GET['action'] ) ) { if ( 'no' === $_GET['action'] ) { if ( $_SERVER['QUERY_STRING'] ) { if( strpos( $_SERVER['QUERY_STRING'], 'google-sitemap-generator' ) ) { update_option( 'sm_show_beta_banner', 'false' ); $count = get_option( 'sm_beta_banner_discarded_count' ); if ( gettype( $count ) !== 'boolean' ) { update_option( 'sm_beta_banner_discarded_count', (int) $count + 1 ); } else { add_option( 'sm_beta_banner_discarded_on', gmdate( 'Y/m/d' ) ); update_option( 'sm_beta_banner_discarded_count', (int) 1 ); } GoogleSitemapGeneratorLoader::setup_rewrite_hooks(); GoogleSitemapGeneratorLoader::activate_rewrite(); } else { add_option( 'sm_beta_notice_dismissed_from_wp_admin', 'true' ); } } else { add_option( 'sm_beta_notice_dismissed_from_wp_admin', 'true' ); } } } if ( isset( $_POST['enable_updates'] ) ) { if (isset($_POST['enable_updates_nonce_token']) && check_admin_referer('enable_updates_nonce', 'enable_updates_nonce_token')){ if ( 'true' === $_POST['enable_updates'] ) { $auto_update_plugins = get_option( 'auto_update_plugins' ); if ( ! is_array( $auto_update_plugins ) ) { $auto_update_plugins = array(); } array_push( $auto_update_plugins, 'google-sitemap-generator/sitemap.php' ); update_option( 'auto_update_plugins', $auto_update_plugins ); } elseif ( 'false' === $_POST['enable_updates'] ) { update_option( 'sm_hide_auto_update_banner', 'yes' ); } } } /* if ( isset( $_POST['disable_plugin'] ) ) { if (isset($_POST['disable_plugin_sitemap_nonce_token']) && check_admin_referer('disable_plugin_sitemap_nonce', 'disable_plugin_sitemap_nonce_token')){ if ( strpos( $_POST['disable_plugin'], 'all_in_one' ) !== false ) { $default_value = 'default'; $aio_seo_options = get_option( 'aioseo_options', $default_value ); if ( $aio_seo_options !== $default_value ) { $aio_seo_options = json_decode( $aio_seo_options ); $aio_seo_options->sitemap->general->enable = 0; update_option( 'aioseo_options', json_encode( $aio_seo_options ) ); } } elseif( strpos( $_POST['disable_plugin'], 'wp-seo' ) !== false ) { $yoast_options = get_option( 'wpseo' ); $yoast_options['enable_xml_sitemap'] = false; update_option( 'wpseo', $yoast_options ); } } } */ } } $updateUrlRules = get_option('sm_options'); if(!isset($updateUrlRules['sm_b_rewrites2']) || $updateUrlRules['sm_b_rewrites2'] == false){ GoogleSitemapGeneratorLoader::setup_rewrite_hooks(); GoogleSitemapGeneratorLoader::activate_rewrite(); GoogleSitemapGeneratorLoader::activation_indexnow_setup(); if (isset($updateUrlRules['sm_b_rewrites2'])) { $updateUrlRules['sm_b_rewrites2'] = true; update_option('sm_options', $updateUrlRules); } else { $updateUrlRules['sm_b_rewrites2'] = true; add_option('sm_options', $updateUrlRules); update_option('sm_options', $updateUrlRules); } } if(isset($updateUrlRules['sm_links_page'] )){ $sm_links_page = intval($updateUrlRules['sm_links_page']); if($sm_links_page < 1000) { $updateUrlRules['sm_links_page'] = 1000; update_option('sm_options', $updateUrlRules); } } if(!isset($updateUrlRules['sm_b_activate_indexnow']) || $updateUrlRules['sm_b_activate_indexnow'] == false){ $updateUrlRules['sm_b_activate_indexnow'] = true; $updateUrlRules['sm_b_indexnow'] = true; update_option('sm_options', $updateUrlRules); } } function disable_plugins_callback(){ if (current_user_can('manage_options')) { check_ajax_referer('disable_plugin_sitemap_nonce', 'nonce'); $pluginList = sanitize_text_field($_POST['pluginList']); $pluginsToDisable = explode(',', $pluginList); foreach ($pluginsToDisable as $plugin) { if ($plugin === 'all-in-one-seo-pack/all_in_one_seo_pack.php') { /* all in one seo deactivation */ $aioseo_option_key = 'aioseo_options'; if ($aioseo_options = get_option($aioseo_option_key)) { $aioseo_options = json_decode($aioseo_options, true); $aioseo_options['sitemap']['general']['enable'] = false; update_option($aioseo_option_key, json_encode($aioseo_options)); } } if ($plugin === 'wordpress-seo/wp-seo.php') { /* yoast sitemap deactivation */ if ($yoast_options = get_option('wpseo')) { $yoast_options['enable_xml_sitemap'] = false; update_option('wpseo', $yoast_options); } } if ($plugin === 'jetpack/jetpack.php') { /* jetpack sitemap deactivation */ $modules_array = get_option('jetpack_active_modules'); if(is_array($modules_array)) { if (in_array('sitemaps', $modules_array)) { $key = array_search('sitemaps', $modules_array); unset($modules_array[$key]); update_option('jetpack_active_modules', $modules_array); } } } if ($plugin === 'wordpress-sitemap') { /* Wordpress sitemap deactivation */ $options = get_option('sm_options', array()); if (isset($options['sm_wp_sitemap_status'])) $options['sm_wp_sitemap_status'] = false; else $options['sm_wp_sitemap_status'] = false; update_option('sm_options', $options); } } echo 'Plugins sitemaps disabled successfully'; wp_die(); } } function conflict_plugins_admin_notice(){ GoogleSitemapGeneratorLoader::create_notice_conflict_plugin(); } /* send to index updated url */ function indexnow_after_post_save($new_status, $old_status, $post) { $indexnow = get_option('sm_options'); $indexNowStatus = isset($indexnow['sm_b_indexnow']) ? $indexnow['sm_b_indexnow'] : false; if ($indexNowStatus === true) { $newUrlToIndex = new GoogleSitemapGeneratorIndexNow(); $is_changed = false; $type = "add"; if ($old_status === 'publish' && $new_status === 'publish') { $is_changed = true; $type = "update"; } else if ($old_status != 'publish' && $new_status === 'publish') { $is_changed = true; $type = "add"; } else if ($old_status === 'publish' && $new_status === 'trash') { $is_changed = true; $type = "delete"; } if ($is_changed) $newUrlToIndex->start(get_permalink($post)); } } // Don't do anything if this file was called directly. if ( defined( 'ABSPATH' ) && defined( 'WPINC' ) && ! class_exists( 'GoogleSitemapGeneratorLoader', false ) ) { sm_setup(); if(isset(get_option('sm_options')['sm_wp_sitemap_status']) ) $wp_sitemap_status = get_option('sm_options')['sm_wp_sitemap_status']; else $wp_sitemap_status = true; if($wp_sitemap_status = true) $wp_sitemap_status = '__return_true'; else $wp_sitemap_status = '__return_false'; add_filter( 'wp_sitemaps_enabled', $wp_sitemap_status ); add_action('wp_ajax_disable_plugins', 'disable_plugins_callback'); add_action('admin_notices', 'conflict_plugins_admin_notice'); } Mexico – Affiliate Marketing Programs | CBOMO.COM https://cbomo.com Your Affiliate Online Money Opportunities Sat, 16 Mar 2024 11:31:44 +0000 en-US hourly 1 https://wordpress.org/?v=6.9.4 Hundreds of people in Mexico City stretch out for a ‘mass nap’ to commemorate World Sleep Day https://cbomo.com/apiclick-aspxreffexrssaidtid65f5831e9b2a43a7a7afdaeaec64332curlhttps%3a%2f%2fwww-wbal-com%2fhundreds-of-people-in-mexico-city-stretch-out-for-a-mass-nap-to-commemorate-world-sleep-day%2fc171/ https://cbomo.com/apiclick-aspxreffexrssaidtid65f5831e9b2a43a7a7afdaeaec64332curlhttps%3a%2f%2fwww-wbal-com%2fhundreds-of-people-in-mexico-city-stretch-out-for-a-mass-nap-to-commemorate-world-sleep-day%2fc171/#respond Sat, 16 Mar 2024 11:31:44 +0000 https://cbomo.com/apiclick-aspxreffexrssaidtid65f5831e9b2a43a7a7afdaeaec64332curlhttps%3a%2f%2fwww-wbal-com%2fhundreds-of-people-in-mexico-city-stretch-out-for-a-mass-nap-to-commemorate-world-sleep-day%2fc171/ [ad_1]

MEXICO CITY (AP) — Those walking through the milling streets of downtown Mexico City on Friday were greeted with a strange and sleepy sight.

Lolling with bright blue yoga mats, sleeping masks and travel pillows, hundreds of Mexicans laid sprawled out on the ground at the base of the city’s iconic Monument to the Revolution to take a nap. Dubbed the “mass siesta,” the event was in commemoration of World Sleep Day.

It was also meant to be a protest to push for sleep to be considered an essential part of health and wellness.

Some participants wrapped themselves in bright orange blankets, while others prepped their phones to play soothing music as they slept.

Among the nappers was 52-year-old mariachi musician Manuel Magaña, who was popping in earbuds next to his wife, and 9-year-old daughter, who fell asleep holding hands. Magaña heard about the event on the news while he was looking for something fun to do with his granddaughter.

He said the idea struck a chord with him because as a mariachi he would work long and irregular hours, often going to bed as the sun would come up.

“As a musician I work at night, and I rarely sleep well during the day. Sometimes we forget to eat, sometimes all we get is a little nap,” he said.

The event was organized by the Center for Sleep and Neurosciences and the Mexican Society for the Investigation of Medicine and Sleep (SOMIMS).

As participants began to drift to sleep, organizers on stage chanted and lead participants through the meditation. They also listed off tips for helping people fall asleep, like getting plenty of natural light during the day and turning their phone off at night.

Oscar Sánchez Escandón, a director of the event and president of SOMIMS, said the event was meant to highlight “sleep inequality” around the world.

“We live in a society that is full of economic, social and political commitments, where everything matters other than rest. That can have a strong impact on health,” he said.

Nearly half of Mexicans are reported to have trouble sleeping, according to a study by the National Autonomous University of Mexico.

Mexico was listed as the most overworked country in the world by a 2019 Organization for Economic Cooperation and Development report, which compared working hours among dozens of countries across the planet.

Last year, Mexico’s congress debated a proposed reform to officially lower the weekly work hours from 48 – the average for many Latin American nations – to 40, standard for much of the world. The initiative was put forward by Mexico’s ruling party, Morena, but the debate got kicked back to 2024.

Gabriela Filio, a 49-year-old nurse, brought along her 25-year-old daughter with the hopes that Mexico’s younger generations would push for a better work balance.

“We are in a country where the paychecks often don’t add up. Sometimes we have to work two jobs, but we also need to make sure to care for our sleep quality,” Filio said, stretching out to take a quick rest.



[ad_2]

Source link

]]>
https://cbomo.com/apiclick-aspxreffexrssaidtid65f5831e9b2a43a7a7afdaeaec64332curlhttps%3a%2f%2fwww-wbal-com%2fhundreds-of-people-in-mexico-city-stretch-out-for-a-mass-nap-to-commemorate-world-sleep-day%2fc171/feed/ 0
American who was kidnapped in Mexico headed back home after 8 months https://cbomo.com/index-html-4/ https://cbomo.com/index-html-4/#respond Sun, 16 Jul 2023 19:39:59 +0000 https://cbomo.com/index-html-4/ [ad_1]



CNN
 — 

Monica De Leon Barba, a United States citizen who was kidnapped last November while walking home in Mexico, is being transported to the US after her captors set her free, according to FBI authorities in San Francisco.

“The FBI is pleased to announce that Monica De Leon Barba is safe and en route to the US where she will be reunited with her family and dog after spending eight months in captivity,” the FBI said in a Twitter post on Saturday.

De Leon Barba was released by her captors Friday night, according to the FBI.

She was taken in Tepatitlán, Jalisco, Mexico in November as she walked home from work with her dog, the update stated.

The FBI previously said it was offering up to $40,000 for information leading toward locating De Leon Barba. The award announcement in March was the FBI’s first public acknowledgment that it had been investigating the kidnapping.

Authorities have made no arrests and are continuing the investigation into the captors’ identity, the FBI’s social post on Saturday said.

“The FBI investigation is far from over, but we can now work this case knowing an innocent victim is reunited with her family,” FBI special agent in charge Robert K. Tripp said in a statement on Twitter.



[ad_2]

Source link

]]>
https://cbomo.com/index-html-4/feed/ 0
Mexico sets new work-from-home rules, including that employers pay internet https://cbomo.com/mexico-sets-home-rules-including-191930745-html/ https://cbomo.com/mexico-sets-home-rules-including-191930745-html/#respond Sat, 10 Jun 2023 09:05:05 +0000 https://cbomo.com/mexico-sets-home-rules-including-191930745-html/ [ad_1]

MEXICO CITY (AP) — Mexico’s Labor Department issued new rules Friday requiring employers to pay for internet and provide ergonomic chairs for employees working from home.

The new rules also mandate a “right to disconnect” for employees who work at least 40% of their time from remote locations. Remote workers often complain that, because they are constantly reachable at home, they are also constantly asked to work.

Mexico, like many other countries, saw a big increase in remote working during the coronavirus pandemic in 2020 and 2021. While office space occupancy is inching back up, remote work seems to be a trend that has caught on.

The trend is so pronounced that some office buildings on bustling downtown boulevards are being converted into apartments, hospitals and stores.

The Labor Department said bosses are responsible for paying for the electricity, printers and other equipment used when working at home. According to the new rules, if an employee’s home isn’t safe, well-lit and well-ventilated, they can’t be forced to work there.

Inspectors can visit a worker’s home, or employees may be asked to take pictures of their home, to prove that it meets labor requirements.

Remote workers cannot be paid less than those who go to an office, and they must have set work hours.

According to the commercial real estate firm Newmark, Mexico City’s office market has shown slight signs of recovery since the pandemic. In a first-quarter 2023 research report, it said the city’s office vacancy rate had declined to 23.4%, from 24.5% one year ago.

As in many parts of the world, some employers have adopted a “mixed” or hybrid model in which workers come into the office only part of the week. The new rules apply only to those who work remotely at least 40% of the week.

[ad_2]

Source link

]]>
https://cbomo.com/mexico-sets-home-rules-including-191930745-html/feed/ 0