Skip to content

Commit

Permalink
Subscribe modal: fix blogname apostrophes (#40130)
Browse files Browse the repository at this point in the history
* Decode the blogname to fix apostrophes.

* changelog
  • Loading branch information
allilevine authored Nov 12, 2024
1 parent f8d1e2e commit 62d88f4
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
Significance: patch
Type: fixed

Subscribe modal: fix an edge case reported by a user, where the site title shows character codes.
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,7 @@ public function enqueue_assets() {
'We\'ll keep you in the loop!' => __( 'We\'ll keep you in the loop!', 'jetpack-mu-wpcom' ),
'Loading your comment...' => __( 'Loading your comment...', 'jetpack-mu-wpcom' ),
/* translators: %s is the name of the site */
'Discover more from' => sprintf( __( 'Discover more from %s', 'jetpack-mu-wpcom' ), get_bloginfo( 'name' ) ),
'Discover more from' => sprintf( __( 'Discover more from %s', 'jetpack-mu-wpcom' ), html_entity_decode( get_bloginfo( 'name' ), ENT_QUOTES ) ),
'Subscribe now to keep reading and get access to the full archive.' => __( 'Subscribe now to keep reading and get access to the full archive.', 'jetpack-mu-wpcom' ),
'Continue reading' => __( 'Continue reading', 'jetpack-mu-wpcom' ),
'Never miss a beat!' => __( 'Never miss a beat!', 'jetpack-mu-wpcom' ),
Expand Down

0 comments on commit 62d88f4

Please sign in to comment.