At removal or moving of posts to a basket, WordPress MU doesn't update the counter of posts in a blog. That пофиксить it is possible to add this problem in wp-includes/wpmu-defaul-filters.php lines:При удалении или перемещении постов в корзину, WordPress MU не обновляет счётчик постов в блоге. Для того чтобы пофиксить эту проблему можно добавить в wp-includes/wpmu-defaul-filters.php строки:
add_action (‘ delete_post ’, ‘ update_posts_count ’); add_action ( ‘delete_post’, ‘update_posts_count’ );
add_action (‘ trash_post ’, ‘ update_posts_count ’); add_action ( ‘trash_post’, ‘update_posts_count’ );
If there is no desire to modify a code it is possible to create php a file in wp-content/mu-plugins and to add these lines there. Если нет желания модифицировать код, то можно создать php файл в wp-content/mu-plugins и добавить эти строки туда.
Has written тикет in WordPress Trac. Написал тикет в WordPress Trac.
14Jun 201014Jun 2010









Fresh comments
Свежие комментарии