Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
B
bg-az-counter
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
azbyka_bg
bg-az-counter
Commits
7a7e7cb0
Commit
7a7e7cb0
authored
Nov 26, 2019
by
Vadim
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Version 2.7.3
Исправлена мелкая ошибка
parent
f0f0a175
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
2 deletions
+6
-2
bg_az-counter.php
bg_az-counter.php
+2
-2
widgets.php
inc/widgets.php
+4
-0
No files found.
bg_az-counter.php
View file @
7a7e7cb0
...
@@ -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.7.
2
Version: 2.7.
3
Author: VBog
Author: VBog
Author URI: https://bogaiskov.ru
Author URI: https://bogaiskov.ru
License: GPL2
License: GPL2
...
@@ -38,7 +38,7 @@
...
@@ -38,7 +38,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.7.
2
'
);
define
(
'BG_COUNTER_VERSION'
,
'2.7.
3
'
);
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'
);
...
...
inc/widgets.php
View file @
7a7e7cb0
...
@@ -116,6 +116,10 @@ class bg_counter_OnlineNowWidget extends WP_Widget {
...
@@ -116,6 +116,10 @@ class bg_counter_OnlineNowWidget extends WP_Widget {
public
function
form
(
$instance
)
{
public
function
form
(
$instance
)
{
if
(
isset
(
$instance
[
'title'
]
)
)
{
if
(
isset
(
$instance
[
'title'
]
)
)
{
$title
=
$instance
[
'title'
];
$title
=
$instance
[
'title'
];
$subtitle1
=
$instance
[
'subtitle1'
];
$unit1
=
$instance
[
'unit1'
];
$subtitle2
=
$instance
[
'subtitle2'
];
$subtitle3
=
$instance
[
'subtitle3'
];
}
}
?>
?>
<p>
<p>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment