Skip to content

Commit

Permalink
Cleaned up CSS. Hide AM's AIOSEO deceptive notice.
Browse files Browse the repository at this point in the history
  • Loading branch information
sybrew committed Jul 4, 2024
1 parent 78e60fc commit 6e33186
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 26 deletions.
2 changes: 1 addition & 1 deletion autodescription.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* Plugin Name: The SEO Framework
* Plugin URI: https://theseoframework.com/
* Description: An automated, advanced, accessible, unbranded and extremely fast SEO solution for your WordPress website.
* Version: 5.0.7-dev-10
* Version: 5.0.7-dev-11
* Author: The SEO Framework Team
* Author URI: https://theseoframework.com/
* License: GPLv3
Expand Down
27 changes: 5 additions & 22 deletions lib/css/tsf.css
Original file line number Diff line number Diff line change
Expand Up @@ -400,27 +400,13 @@ body.rtl .tsf-remove-image-button.button {
transition: color .33s ease-in, text-shadow .33s ease-in;
}

/* Doesn't fire appropriate events, also seems deprecated. Hide it. */
#tsf-inpost-box input[type=text]::-ms-clear,
.tsf-metaboxes input[type=text]::-ms-clear,
.tsf-quick-edit-columns input[type=text]::-ms-clear {
display: none;
}

#tsf-inpost-box input[type=text]::-moz-placeholder,
#tsf-inpost-box textarea::-moz-placeholder,
.tsf-metaboxes input[type=text]::-moz-placeholder,
.tsf-metaboxes textarea::-moz-placeholder {
transition: color .33s ease-in, text-shadow .33s ease-in;
}

#tsf-inpost-box input[type=text]:-ms-input-placeholder,
#tsf-inpost-box textarea:-ms-input-placeholder,
.tsf-metaboxes input[type=text]:-ms-input-placeholder,
.tsf-metaboxes textarea:-ms-input-placeholder {
transition: color .33s ease-in, text-shadow .33s ease-in;
}

#tsf-inpost-box input[type=text]:focus::-webkit-input-placeholder,
#tsf-inpost-box textarea:focus::-webkit-input-placeholder,
.tsf-metaboxes input[type=text]:focus::-webkit-input-placeholder,
Expand All @@ -437,14 +423,6 @@ body.rtl .tsf-remove-image-button.button {
text-shadow: 0 0 1px rgba( 114, 119, 124, .75 );
}

#tsf-inpost-box input[type=text]:focus:-ms-input-placeholder,
#tsf-inpost-box textarea:focus:-ms-input-placeholder,
.tsf-metaboxes input[type=text]:focus:-ms-input-placeholder,
.tsf-metaboxes textarea:focus:-ms-input-placeholder {
color: transparent;
text-shadow: 0 0 1px rgba( 114, 119, 124, .75 );
}

@keyframes tsf-spin {
0% {
transform: rotate( 0deg );
Expand Down Expand Up @@ -515,3 +493,8 @@ body.rtl .tsf-remove-image-button.button {
box-shadow: 0 0 0 1px #dd3811;
}
}

/* Hide deceptive notice from Awesome Motive */
#wpbody .aioseo-conflicting-plugins-notice {
display: none;
}
2 changes: 1 addition & 1 deletion lib/css/tsf.min.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 3 additions & 2 deletions readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -289,8 +289,6 @@ TODO add trailing commas to the object.assign properties.

TODO symbols for warnings + reduced contrast = yellow illegible.

TODO can we drop ms-input-placeholder and -ms-clear?

TODO WP 6.5 added lastmod to the sitemap... eh?

TODO theoretical bug: The markdown search/replace could replace links incorrectly, where both will get the link1:
Expand All @@ -315,6 +313,7 @@ TODO when zooming in with Chromium, the floating title for terms is vertically m
* **Fixed:**
* Resolved an issue where comment pagination queries were only ignored after the main query when the Full Site Editor was present; now, they're always ignored.
* Resolved a regression where the post-saving sequence wasn't properly debounced, causing multiple save-state requests for TSF's meta box that affected the Block Editor's performance performance and caused the SEO settings UI to flicker.
* Awesome Motive's All in One SEO Pack plugin outputs a notice urging to deactivate other SEO plugins, but without clarifying which SEO plugin emits this notice or telling which plugins get deactivated. So, we now hide this deceptive notice.

**For developers:**

Expand All @@ -325,6 +324,8 @@ TODO when zooming in with Chromium, the floating title for terms is vertically m
* Method `tsf()->image()->generate_custom_image_details_from_args()` is now public.
* **Improved:**
* Improved the Markdown parser's performance by using fewer memory operations.
* **Other:**
* Removed support for `-ms-clear` and `-ms-input-placeholder` vendor-specific CSS pseudo-selectors.
* **Fixed:**
* Resolved an issue where the deprecated method `tsf()->og_locale()` didn't return the meta tag and gave a warning instead.
* `tsf()->fetch_locale()` is now properly deprecated and returns its original value.
Expand Down

0 comments on commit 6e33186

Please sign in to comment.