On Tue, Sep 17, 2013 at 07:33:30PM +0400, Kirill Bychkov wrote:
> This is update itself and update instructions for wordpress.
> Testted with fresh setup and update from 3.5.2 following instructions.
> OK?

I guess the update itself is ok.

> RCS file: /cvs/www/faq/current.html,v
> retrieving revision 1.422
> diff -u -p -u -r1.422 current.html
> --- faq/current.html    15 Sep 2013 22:31:31 -0000      1.422
> +++ faq/current.html    17 Sep 2013 15:28:45 -0000
[...]
> @@ -732,6 +733,21 @@ If you were using dspam with the Postgre
>  If you were using dspam with the MySQL driver:
>  <pre>
>     pkg_add dspam-mysql
> +</pre>
> +
> +<p>
> +<a name="20130917"></a>
> +<h3>2013/09/17 - [ports] wordpress 2.6.1</h3>
> +If you are using wordpress 3.5.x with twentyeleven theme you will have to
> manually
> +backup it before update:
> +<pre>
> +   cd /var/www/wordpress
> +   cp -r wp-content/themes/twentyeleven wp-content/themes/twentyeleven.bak

IMHO something like this would be better:

        cd /var/www/wordpress/wp-content/themes &&
        cp -Rp twentyeleven twentyeleven.bak

> +</pre>
> +and restore it after wordpress update:
> +<pre>
> +   cd /var/www/wordpress
> +   cp -r wp-content/themes/twentyeleven.bak wp-content/themes/twentyeleven

And this would be

        cd /var/www/wordpress/wp-content/themes &&
        mv twentyeleven.bak twentyeleven

(no reason to keep the copy around)

Ciao,
        Kili

Reply via email to