Commit fce0ab29 authored by Vadim's avatar Vadim

Version 2.3.2

Поправил сслку в шорткоде [find_meta_link]
parent 3690ef8a
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
Plugin Name: Bg Az-Counter Plugin Name: Bg Az-Counter
Plugin URI: https://bogaiskov.ru Plugin URI: https://bogaiskov.ru
Description: Подсчет количества посещений страниц на базе stat.azbyka.ru Description: Подсчет количества посещений страниц на базе stat.azbyka.ru
Version: 2.3.1 Version: 2.3.2
Author: VBog Author: VBog
Author URI: https://bogaiskov.ru Author URI: https://bogaiskov.ru
License: GPL2 License: GPL2
...@@ -37,7 +37,7 @@ ...@@ -37,7 +37,7 @@
if ( !defined('ABSPATH') ) { if ( !defined('ABSPATH') ) {
die( 'Sorry, you are not allowed to access this page directly.' ); die( 'Sorry, you are not allowed to access this page directly.' );
} }
define('BG_COUNTER_VERSION', '2.3.1'); define('BG_COUNTER_VERSION', '2.3.2');
define('BG_COUNTER_LOG', dirname(__FILE__ ).'/bg_counter.log'); define('BG_COUNTER_LOG', dirname(__FILE__ ).'/bg_counter.log');
define('BG_COUNTER_STAT_COUNTERS','https://stat.azbyka.ru/counters'); define('BG_COUNTER_STAT_COUNTERS','https://stat.azbyka.ru/counters');
...@@ -183,7 +183,7 @@ function find_meta_link_shortcode( $atts ) { ...@@ -183,7 +183,7 @@ function find_meta_link_shortcode( $atts ) {
$quote .= '<ol>'; $quote .= '<ol>';
while ( $query->have_posts() ) { while ( $query->have_posts() ) {
$query->the_post(); $query->the_post();
$quote .= '<li><a href="https://azbyka.ru/propovedi/wp-admin/post.php?post=' . get_the_ID() . '&action=edit">' . get_the_title() . '</a></li>'; $quote .= '<li><a href="'.site_url().'/wp-admin/post.php?post=' . get_the_ID() . '&action=edit">' . get_the_title() . '</a></li>';
} }
} }
$quote .= '</ol>'; $quote .= '</ol>';
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment