Add unfiltered_html Capability to Admins or Editors in WordPress Multisite

Fuente: https://kellenmace.com/add-unfiltered_html-capability-to-admins-or-editors-in-wordpress-multisite/ <?php /** * Enable unfiltered_html capability for Editors. * * @param array $caps The user’s capabilities. * @param string $cap Capability name. * @param int $user_id The user ID. * @return array $caps The user’s capabilities, with ‘unfiltered_html’ potentially added. */ function km_add_unfiltered_html_capability_to_editors( $caps, $cap, $user_id ) { if ( ‘unfiltered_html’ === $cap…

Leer más

ERROR 2006 (HY000) at line xxxx: MySQL server has gone away

Aparentemente, hay líneas muy largas en el archivo que se quiere importar. La solución es incrementar la variable max_allowed_packet de MySql, entrando por consola del servidor MySql se puede hacer con el siguiente comando: You can increase Max Allowed Packet: SET GLOBAL max_allowed_packet=1073741824; http://dev.mysql.com/doc/refman/5.5/en/server-system-variables.html#sysvar_max_allowed_packet Fuente: https://stackoverflow.com/questions/10474922/error-2006-hy000-mysql-server-has-gone-away

PhpStorm Disable Search Help Menu Keybinding

Is maOS issue… To diable OSX key mapping just follow below steps: Click on Apple icon => System Preference => keyboard => shortcuts => App shortcuts=> uncheck show help menu   Source: https://intellij-support.jetbrains.com/hc/en-us/community/posts/207675825-Mac-OS-X-comment-block-command-slash?flash_digest=d0e03a17a258ff4b3bcf2c2a178a145d1b75bb3d

A %d blogueros les gusta esto: