Skip to content

Commit f806d55

Browse files
authored
Merge pull request #228 from brainstormforce/release-candidate
Version 1.7.7
2 parents bd0ed50 + e0b0a50 commit f806d55

18 files changed

+667
-728
lines changed

CLAUDE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
WordPress plugin by Brainstorm Force that adds structured data (schema markup / Microdata) to posts and pages via a meta box interface.
44

55
- **Plugin slug:** `all-in-one-schemaorg-rich-snippets`
6-
- **Version:** 1.7.6
6+
- **Version:** 1.7.7
77
- **Text domain:** `rich-snippets`
88
- **PHP:** 7.4 – 8.3 | **WP:** 3.7+ (tested to 6.9)
99
- **License:** GPL v2

README.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
**Tags:** schema markup, rich snippets, wordpress seo, structured data, google search
55
**Requires at least:** 3.7
66
**Tested up to:** 6.9
7-
**Stable tag:** 1.7.6
7+
**Stable tag:** 1.7.7
88
**Requires PHP:** 7.4
99
**License:** GPLv2 or later
1010
**License URI:** http://www.gnu.org/licenses/gpl-2.0.html
@@ -97,6 +97,9 @@ No, the plugin provides an easy-to-use interface where you can add schema markup
9797
4. Test the post or page URL in Google Rich Snippets Testing
9898

9999
## Changelog ##
100+
### 1.7.7 ###
101+
- Security Enhancements: Strengthened overall plugin security with improved authorization checks, robust nonce verification, thorough input sanitization, and enhanced error handling.
102+
100103
### 1.7.6 ###
101104
- Improvement: Updated readme.txt.
102105

admin/index.php

Lines changed: 67 additions & 65 deletions
Large diffs are not rendered by default.

css/style.css

Lines changed: 159 additions & 133 deletions
Original file line numberDiff line numberDiff line change
@@ -1,133 +1,159 @@
1-
/* Snippet Box Architecture */
2-
#snippet-box {
3-
background: #F5F5F5;
4-
border: 1px solid #ACACAC;
5-
font-family: inherit;
6-
font-size: 13px;
7-
padding: 0;
8-
margin: 0 0 15px 0;
9-
width: 100%;
10-
max-width: 600px;
11-
display: block;
12-
}
13-
.snippet-title {
14-
display: block;
15-
position: relative;
16-
font-family: inherit;
17-
font-size: 14px;
18-
font-weight: bold;
19-
background: #E4E4E4;
20-
border-bottom: 1px solid #ACACAC;
21-
clear: both;
22-
padding: 0.5em 1em;
23-
width: 100%;
24-
}
25-
.snippet-image {
26-
min-height: 190px;
27-
width: 200px;
28-
display: inline-block;
29-
vertical-align: top;
30-
}
31-
.snippet-image img {
32-
margin: 10px auto;
33-
display: block;
34-
}
35-
.aio-info {
36-
width: calc(100% - 200px);
37-
display: inline-block;
38-
vertical-align: top;
39-
}
40-
.snippet-label-img {
41-
width: 40%;
42-
display: inline-block;
43-
text-align: right;
44-
font-size: 13px;
45-
font-weight: bold;
46-
margin: 0;
47-
padding: 0.3em 0.5em;
48-
vertical-align: top;
49-
}
50-
.snippet-data-img {
51-
width: 58%;
52-
display: inline-block;
53-
padding: 0.3em 0.5em;
54-
vertical-align: top;
55-
}
56-
.snippet-type-2 .aio-info {
57-
width: 100%;
58-
}
59-
.snippet-type-2 .snippet-label-img {
60-
width: 33%;
61-
}
62-
.snippet-type-2 .snippet-data-img {
63-
width: 65%;
64-
}
65-
.snippet-clear {
66-
clear:both;
67-
}
68-
.snippet-markup {
69-
width: 100%;
70-
display: block;
71-
}
72-
.snippet-label {
73-
width: 33%;
74-
display: inline-block;
75-
text-align: right;
76-
font-size: 13px;
77-
font-weight: bold;
78-
margin: 0;
79-
padding: 0.3em 0.5em;
80-
}
81-
.snippet-data {
82-
width: 65%;
83-
display: inline-block;
84-
padding: 0.3em 0.5em;
85-
}
86-
/* Ratings */
87-
.ratings {
88-
position: absolute;
89-
right: 1em;
90-
top: 50%;
91-
transform: translateY(-50%);
92-
}
93-
.star-blocks {
94-
background: transparent;
95-
}
96-
.star-rating-control {
97-
margin-top: 0;
98-
}
99-
.star-img img {
100-
box-shadow: none;
101-
margin: -2px 2px;
102-
border: none !important;
103-
padding: 0 !important;
104-
display: inline-block;
105-
}
106-
.rating-count {
107-
font-weight:bold;
108-
}
109-
.rating-value {
110-
display:none;
111-
}
112-
113-
/* Unknown CSS */
114-
#snippet-box iframe {
115-
width: 90%;
116-
margin: 0 auto;
117-
display: block;
118-
}
119-
120-
/* Responsive Structure */
121-
@media (max-width: 768px) {
122-
.snippet-title {
123-
padding: 0.5em 0 0.5em 4%;
124-
}
125-
.snippet-image {
126-
margin: 0 0 15px 0;
127-
width: 100%;
128-
}
129-
.aio-info {
130-
width: 100%;
131-
clear: both;
132-
}
133-
}
1+
/* Accessibility: Screen Reader Text */
2+
.bsf-sr-only {
3+
position: absolute;
4+
width: 1px;
5+
height: 1px;
6+
padding: 0;
7+
margin: -1px;
8+
overflow: hidden;
9+
clip: rect(0, 0, 0, 0);
10+
white-space: nowrap;
11+
border: 0;
12+
}
13+
14+
/* Snippet Box Architecture */
15+
#snippet-box {
16+
background: #f5f5f5;
17+
border: 1px solid #acacac;
18+
font-family: inherit;
19+
font-size: 13px;
20+
padding: 0;
21+
margin: 0 0 15px 0;
22+
width: 100%;
23+
max-width: 600px;
24+
display: block;
25+
}
26+
.snippet-title {
27+
display: block;
28+
position: relative;
29+
font-family: inherit;
30+
font-size: 14px;
31+
font-weight: bold;
32+
background: #e4e4e4;
33+
border-bottom: 1px solid #acacac;
34+
clear: both;
35+
padding: 0.5em 1em;
36+
width: 100%;
37+
}
38+
.snippet-image {
39+
min-height: 190px;
40+
width: 200px;
41+
display: inline-block;
42+
vertical-align: top;
43+
}
44+
.snippet-image img {
45+
margin: 10px auto;
46+
display: block;
47+
}
48+
.aio-info {
49+
width: calc(100% - 200px);
50+
display: inline-block;
51+
vertical-align: top;
52+
}
53+
.snippet-label-img {
54+
width: 40%;
55+
display: inline-block;
56+
text-align: right;
57+
font-size: 13px;
58+
font-weight: bold;
59+
margin: 0;
60+
padding: 0.3em 0.5em;
61+
vertical-align: top;
62+
}
63+
.snippet-data-img {
64+
width: 58%;
65+
display: inline-block;
66+
padding: 0.3em 0.5em;
67+
vertical-align: top;
68+
}
69+
.snippet-type-2 .aio-info {
70+
width: 100%;
71+
}
72+
.snippet-type-2 .snippet-label-img {
73+
width: 33%;
74+
}
75+
.snippet-type-2 .snippet-data-img {
76+
width: 65%;
77+
}
78+
.snippet-clear {
79+
clear: both;
80+
}
81+
.snippet-markup {
82+
width: 100%;
83+
display: block;
84+
}
85+
.snippet-label {
86+
width: 33%;
87+
display: inline-block;
88+
text-align: right;
89+
font-size: 13px;
90+
font-weight: bold;
91+
margin: 0;
92+
padding: 0.3em 0.5em;
93+
}
94+
.snippet-data {
95+
width: 65%;
96+
display: inline-block;
97+
padding: 0.3em 0.5em;
98+
}
99+
/* Ratings */
100+
.ratings {
101+
position: absolute;
102+
right: 1em;
103+
top: 50%;
104+
transform: translateY(-50%);
105+
}
106+
.star-blocks {
107+
background: transparent;
108+
}
109+
.star-rating-control {
110+
margin-top: 0;
111+
}
112+
.star-img img {
113+
box-shadow: none;
114+
margin: -2px 2px;
115+
border: none !important;
116+
padding: 0 !important;
117+
display: inline-block;
118+
}
119+
.rating-count {
120+
font-weight: bold;
121+
}
122+
.rating-value {
123+
display: none;
124+
}
125+
126+
/* Unknown CSS */
127+
#snippet-box iframe {
128+
width: 90%;
129+
margin: 0 auto;
130+
display: block;
131+
}
132+
133+
/* Responsive Structure */
134+
@media (max-width: 768px) {
135+
.snippet-title {
136+
padding: 0.5em 0 0.5em 4%;
137+
}
138+
.snippet-image {
139+
margin: 0 0 15px 0;
140+
width: 100%;
141+
}
142+
.aio-info {
143+
width: 100%;
144+
clear: both;
145+
}
146+
}
147+
148+
/* Accessibility: Focus Styles */
149+
#snippet-box a:focus,
150+
#snippet-box input:focus,
151+
#snippet-box select:focus,
152+
#snippet-box button:focus {
153+
outline: 2px solid #0073aa;
154+
outline-offset: 2px;
155+
}
156+
.star-rating-control div.star-rating a:focus {
157+
outline: 2px solid #0073aa;
158+
outline-offset: 1px;
159+
}

docs/wiki/Changelog.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ All notable changes to Schema - All In One Schema Rich Snippets are documented h
44

55
---
66

7-
## 1.7.6
7+
## 1.7.7
88
- **Improvement:** Updated readme.txt.
99

1010
## 1.7.5

docs/wiki/Environment-Configuration.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ Defined in `RichSnippets::define_constants()` (`index.php`) during every page lo
2020
| `AIOSRS_PRO_BASE` | `plugin_basename(AIOSRS_PRO_FILE)` | Relative plugin identifier (e.g. `all-in-one-schemaorg-rich-snippets/index.php`) |
2121
| `AIOSRS_PRO_DIR` | `plugin_dir_path(AIOSRS_PRO_FILE)` | Absolute directory path with trailing slash |
2222
| `AIOSRS_PRO_URI` | `plugins_url('/', AIOSRS_PRO_FILE)` | URL to the plugin root |
23-
| `AIOSRS_PRO_VER` | `'1.7.6'` | Current plugin version |
23+
| `AIOSRS_PRO_VER` | `'1.7.7'` | Current plugin version |
2424
| `BSF_META_BOX_URL` | Computed in `init.php` | URL path to the plugin directory, OS-aware (handles Windows paths) |
2525

2626
---

docs/wiki/Home.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Schema - All In One Schema Rich Snippets
22

3-
**Version:** 1.7.6 | **Author:** [Brainstorm Force](https://www.brainstormforce.com) | **License:** GPL v2
3+
**Version:** 1.7.7 | **Author:** [Brainstorm Force](https://www.brainstormforce.com) | **License:** GPL v2
44

55
> Improve SEO, elevate rankings, and boost CTR. Add structured data (schema markup) to posts and pages without coding.
66
@@ -32,7 +32,7 @@ Supported schema types: **Review**, **Event**, **Person**, **Product**, **Recipe
3232
| [Deployment Guide](Deployment-Guide) | Build, i18n, and release process |
3333
| [Contributing Guide](Contributing-Guide) | Branch workflow, coding standards, PR process |
3434
| [Troubleshooting FAQ](Troubleshooting-FAQ) | Common issues and solutions |
35-
| [Changelog](Changelog) | Version history (v1.0 → v1.7.6) |
35+
| [Changelog](Changelog) | Version history (v1.0 → v1.7.7) |
3636

3737
---
3838

docs/wiki/_Footer.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
Schema - All In One Schema Rich Snippets v1.7.6 | By [Brainstorm Force](https://www.brainstormforce.com) | [GPL v2](http://www.gnu.org/licenses/gpl-2.0.html) | [GitHub](https://github.com/brainstormforce/all-in-one-schemaorg-rich-snippets) | [WordPress.org](https://wordpress.org/plugins/all-in-one-schemaorg-rich-snippets/) | [Schema Pro](https://wpschema.com/)
1+
Schema - All In One Schema Rich Snippets v1.7.7 | By [Brainstorm Force](https://www.brainstormforce.com) | [GPL v2](http://www.gnu.org/licenses/gpl-2.0.html) | [GitHub](https://github.com/brainstormforce/all-in-one-schemaorg-rich-snippets) | [WordPress.org](https://wordpress.org/plugins/all-in-one-schemaorg-rich-snippets/) | [Schema Pro](https://wpschema.com/)

0 commit comments

Comments
 (0)