Skip to content

Commit

Permalink
Run formatter.
Browse files Browse the repository at this point in the history
  • Loading branch information
StevenDufresne committed Jan 22, 2024
1 parent 3744340 commit 3911644
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions source/wp-content/themes/wporg-main-2022/functions.php
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ function override_lazy_loading( $value, $image ) {
function update_site_breadcrumbs( $breadcrumbs ) {

// Handle breadcrumbs for the data liberation section.
if ( is_post_type_archive( 'and-handbook') || is_singular( 'and-handbook' ) ) {
if ( is_post_type_archive( 'and-handbook' ) || is_singular( 'and-handbook' ) ) {
$breadcrumbs = array(
array(
'url' => home_url( '/data-liberation' ),
Expand Down Expand Up @@ -283,7 +283,7 @@ function add_site_navigation_menus( $menus ) {
function use_parent_page_title( $block_content, $block, $instance ) {

// Handle the site title for data liberation.
if ( is_post_type_archive( 'and-handbook') || is_singular( 'and-handbook' ) ) {
if ( is_post_type_archive( 'and-handbook' ) || is_singular( 'and-handbook' ) ) {
return str_replace(
array( home_url(), get_bloginfo( 'name' ) ),
array( home_url( '/data-liberation' ), __( 'Data Liberation', 'wporg' ) ),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,4 @@

<!-- wp:wporg/site-breadcrumbs {"fontSize":"small"} /-->

</div>
</div>
Original file line number Diff line number Diff line change
Expand Up @@ -34,4 +34,4 @@
<!-- wp:post-date {"displayType":"modified","fontSize":"normal"} /--></div>
<!-- /wp:group --></div>
<!-- /wp:group --></div>
<!-- /wp:group -->
<!-- /wp:group -->
Original file line number Diff line number Diff line change
Expand Up @@ -47,4 +47,4 @@
<!-- /wp:button --></div>
<!-- /wp:buttons --></div>
<!-- /wp:group --></div>
<!-- /wp:group -->
<!-- /wp:group -->

0 comments on commit 3911644

Please sign in to comment.