Making WordPress.org


Ignore:
Timestamp:
03/13/2024 04:14:52 AM (2 years ago)
Author:
dd32
Message:

wporg-plugins-2024: Consistent header spacing between different views.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-plugins-2024/functions.php

    r13310 r13319  
    424424function update_archive_description( $description ) {
    425425    if ( is_tax( 'plugin_business_model', 'community' ) ) {
    426         return __( 'These plugins are developed and supported by a community.', 'wporg-plugins' );
     426        return '<p>' . __( 'These plugins are developed and supported by a community.', 'wporg-plugins' ) . '</p>';
    427427    } else if ( is_tax( 'plugin_business_model', 'commercial' ) ) {
    428         return __( 'These plugins are free, but also have paid versions available.', 'wporg-plugins' );
    429     }
     428        return '<p>' . __( 'These plugins are free, but also have paid versions available.', 'wporg-plugins' ) . '</p>';
     429    }
     430
    430431    return $description;
    431432}
Note: See TracChangeset for help on using the changeset viewer.