summaryrefslogtreecommitdiffstats
path: root/wp-includes/blocks/site-title
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--wp-includes/blocks/site-title.php4
-rw-r--r--wp-includes/blocks/site-title/editor-rtl.css2
-rw-r--r--wp-includes/blocks/site-title/editor-rtl.min.css2
-rw-r--r--wp-includes/blocks/site-title/editor.css2
-rw-r--r--wp-includes/blocks/site-title/editor.min.css2
-rw-r--r--wp-includes/blocks/site-title/style-rtl.css2
-rw-r--r--wp-includes/blocks/site-title/style-rtl.min.css2
-rw-r--r--wp-includes/blocks/site-title/style.css2
-rw-r--r--wp-includes/blocks/site-title/style.min.css2
9 files changed, 12 insertions, 8 deletions
diff --git a/wp-includes/blocks/site-title.php b/wp-includes/blocks/site-title.php
index 255615b..f90c3a6 100644
--- a/wp-includes/blocks/site-title.php
+++ b/wp-includes/blocks/site-title.php
@@ -8,6 +8,8 @@
/**
* Renders the `core/site-title` block on the server.
*
+ * @since 5.8.0
+ *
* @param array $attributes The block attributes.
*
* @return string The render.
@@ -53,6 +55,8 @@ function render_block_core_site_title( $attributes ) {
/**
* Registers the `core/site-title` block on the server.
+ *
+ * @since 5.8.0
*/
function register_block_core_site_title() {
register_block_type_from_metadata(
diff --git a/wp-includes/blocks/site-title/editor-rtl.css b/wp-includes/blocks/site-title/editor-rtl.css
index 173e08f..6102ce9 100644
--- a/wp-includes/blocks/site-title/editor-rtl.css
+++ b/wp-includes/blocks/site-title/editor-rtl.css
@@ -3,6 +3,6 @@
padding:1em 0;
}
-.editor-styles-wrapper .wp-block-site-title a{
+.editor-styles-wrapper :where(.wp-block-site-title a){
color:inherit;
} \ No newline at end of file
diff --git a/wp-includes/blocks/site-title/editor-rtl.min.css b/wp-includes/blocks/site-title/editor-rtl.min.css
index 84aabb4..9aa0b71 100644
--- a/wp-includes/blocks/site-title/editor-rtl.min.css
+++ b/wp-includes/blocks/site-title/editor-rtl.min.css
@@ -1 +1 @@
-.wp-block-site-title__placeholder{border:1px dashed;padding:1em 0}.editor-styles-wrapper .wp-block-site-title a{color:inherit} \ No newline at end of file
+.wp-block-site-title__placeholder{border:1px dashed;padding:1em 0}.editor-styles-wrapper :where(.wp-block-site-title a){color:inherit} \ No newline at end of file
diff --git a/wp-includes/blocks/site-title/editor.css b/wp-includes/blocks/site-title/editor.css
index 173e08f..6102ce9 100644
--- a/wp-includes/blocks/site-title/editor.css
+++ b/wp-includes/blocks/site-title/editor.css
@@ -3,6 +3,6 @@
padding:1em 0;
}
-.editor-styles-wrapper .wp-block-site-title a{
+.editor-styles-wrapper :where(.wp-block-site-title a){
color:inherit;
} \ No newline at end of file
diff --git a/wp-includes/blocks/site-title/editor.min.css b/wp-includes/blocks/site-title/editor.min.css
index 84aabb4..9aa0b71 100644
--- a/wp-includes/blocks/site-title/editor.min.css
+++ b/wp-includes/blocks/site-title/editor.min.css
@@ -1 +1 @@
-.wp-block-site-title__placeholder{border:1px dashed;padding:1em 0}.editor-styles-wrapper .wp-block-site-title a{color:inherit} \ No newline at end of file
+.wp-block-site-title__placeholder{border:1px dashed;padding:1em 0}.editor-styles-wrapper :where(.wp-block-site-title a){color:inherit} \ No newline at end of file
diff --git a/wp-includes/blocks/site-title/style-rtl.css b/wp-includes/blocks/site-title/style-rtl.css
index eacca37..d0d398e 100644
--- a/wp-includes/blocks/site-title/style-rtl.css
+++ b/wp-includes/blocks/site-title/style-rtl.css
@@ -1,3 +1,3 @@
-.wp-block-site-title a{
+:root :where(.wp-block-site-title a){
color:inherit;
} \ No newline at end of file
diff --git a/wp-includes/blocks/site-title/style-rtl.min.css b/wp-includes/blocks/site-title/style-rtl.min.css
index 1f01948..14fa28c 100644
--- a/wp-includes/blocks/site-title/style-rtl.min.css
+++ b/wp-includes/blocks/site-title/style-rtl.min.css
@@ -1 +1 @@
-.wp-block-site-title a{color:inherit} \ No newline at end of file
+:root :where(.wp-block-site-title a){color:inherit} \ No newline at end of file
diff --git a/wp-includes/blocks/site-title/style.css b/wp-includes/blocks/site-title/style.css
index eacca37..d0d398e 100644
--- a/wp-includes/blocks/site-title/style.css
+++ b/wp-includes/blocks/site-title/style.css
@@ -1,3 +1,3 @@
-.wp-block-site-title a{
+:root :where(.wp-block-site-title a){
color:inherit;
} \ No newline at end of file
diff --git a/wp-includes/blocks/site-title/style.min.css b/wp-includes/blocks/site-title/style.min.css
index 1f01948..14fa28c 100644
--- a/wp-includes/blocks/site-title/style.min.css
+++ b/wp-includes/blocks/site-title/style.min.css
@@ -1 +1 @@
-.wp-block-site-title a{color:inherit} \ No newline at end of file
+:root :where(.wp-block-site-title a){color:inherit} \ No newline at end of file