Making WordPress.org

Changeset 13502


Ignore:
Timestamp:
04/12/2024 01:59:21 AM (14 months ago)
Author:
adamwood
Message:

Support Forums plugin: Use primary for create buttons

See https://github.com/WordPress/wordpress.org/issues/245

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.org/public_html/wp-content/plugins/support-forums/inc/class-hooks.php

    r13351 r13502  
    714714            if ( bbp_current_user_can_access_create_topic_form() ) {
    715715                $btn = sprintf(
    716                     '<a class="button button-secondary create-topic" href="#new-topic-0">%s</a>',
     716                    '<a class="button button-primary create-topic" href="#new-topic-0">%s</a>',
    717717                    $is_reviews ? __( 'Create Review', 'wporg-forums' ) : __( 'Create Topic', 'wporg-forums' )
    718718                );
    719719            } elseif ( ! bbp_is_forum_closed() && ! is_user_logged_in() ) {
    720720                $btn = sprintf(
    721                     '<a class="button button-secondary create-topic login" href="%s">%s</a>',
     721                    '<a class="button button-primary create-topic login" href="%s">%s</a>',
    722722                    wp_login_url(),
    723723                    $is_reviews ? __( 'Log in to Create a Review', 'wporg-forums' ) : __( 'Log in to Create a Topic', 'wporg-forums' )
Note: See TracChangeset for help on using the changeset viewer.