This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Do the following command in terminal | |
# Chown / Chmod wordpress folder | |
$ sudo chown -R :_www wordpress | |
$ sudo chmod -R g+w wordpress | |
# Add to "wp-config.php" | |
define('FS_METHOD', 'direct'); | |
# Source: http://soderlind.no/archives/2011/08/26/running-wordpress-locally-on-mac-os-x-lion/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Go to plugins/jetpack/jetpack.php into the folder of your WP local website. | |
# Find the line (276) below: | |
/** | |
* Is Jetpack active? | |
*/ | |
public static function is_active() { | |
return (bool) Jetpack_Data::get_access_token( JETPACK_MASTER_USER ); | |
} |