0.1 1.7-0.1 3.2-0.8 4.5 -0.8 1.5-2 2.4-3.7 2.5 -1.8 0.1-3.6-0.7-5.4-2.5C52.4 66.7 47.4 57 43.7 44.1c-4.4 8.8-7.7 15.3-9.9 19.7 -4 7.7-7.5 11.7-10.3 11.9 -1.9 0.1-3.5-1.4-4.8-4.7 -3.5-9-7.3-26.3-11.3-52C7.1 17.3 7.5 15.8 8.4 14.5"/>'; break; default: $content_icon = ''; break; } return $content_icon; } /** * Returns an array containing the supported icons for JITMs. * * The list includes an empty string, which is used when no icon should be displayed. * * @return array The list of supported icons. */ public function get_supported_icons() { return array( 'jetpack', 'woocommerce', '', ); } /** * Stores dismiss data into an option * * @param string $key Dismiss key. */ public function save_dismiss( $key ) { $hide_jitm = \Jetpack_Options::get_option( 'hide_jitm' ); if ( ! is_array( $hide_jitm ) ) { $hide_jitm = array(); } if ( ! isset( $hide_jitm[ $key ] ) || ! is_array( $hide_jitm[ $key ] ) ) { $hide_jitm[ $key ] = array( 'last_dismissal' => 0, 'number' => 0, ); } $hide_jitm[ $key ] = array( 'last_dismissal' => time(), 'number' => $hide_jitm[ $key ]['number'] + 1, ); \Jetpack_Options::update_option( 'hide_jitm', $hide_jitm ); } /** * Sets the 'jetpack_last_plugin_sync' transient when the active_plugins option is synced. * * @param array $params The action parameters. * * @return array Returns the action parameters unchanged. */ public function jetpack_track_last_sync_callback( $params ) { /** * This filter is documented in the Automattic\Jetpack\JITMS\Post_Connection_JITM class. */ if ( ! apply_filters( 'jetpack_just_in_time_msg_cache', true ) ) { return $params; } if ( is_array( $params ) && isset( $params[0] ) ) { $option = $params[0]; if ( 'active_plugins' === $option ) { // Use the cache if we can, but not terribly important if it gets evicted. set_transient( 'jetpack_last_plugin_sync', time(), HOUR_IN_SECONDS ); } } return $params; } } ووردبريس › خطأ

كان هناك خطأ فادح في هذا الموقع.

معرفة المزيد حول استكشاف الأخطاء في ووردبريس.