[wp-trac] [WordPress Trac] #64729: Missing "Live Preview" button on the first theme card after installation in "Add Themes" screen

WordPress Trac noreply at wordpress.org
Thu Feb 26 00:29:10 UTC 2026


#64729: Missing "Live Preview" button on the first theme card after installation in
"Add Themes" screen
-----------------------------+-----------------------------
 Reporter:  huzaifaalmesbah  |      Owner:  (none)
     Type:  defect (bug)     |     Status:  new
 Priority:  normal           |  Milestone:  Awaiting Review
Component:  Themes           |    Version:
 Severity:  normal           |   Keywords:
  Focuses:                   |
-----------------------------+-----------------------------
 On the Add Themes screen (wp-admin/theme-install.php), when installing
 themes from search results or browsing via tabs/filters, the first theme
 card does not display the "Live Preview" button after installation
 completes.

 Only the "Activate" button is shown for the first installed theme card.
 All subsequent installed theme cards correctly display both "Activate" and
 "Live Preview" buttons.

 This issue occurs consistently across:

 - Search results
 - Popular tab
 - New tab
 - Block Themes tab
 - Feature Filter results

 Steps to Reproduce:

 1. Log into the WordPress administration dashboard.
 2. Navigate to Appearance → Themes → Add New Theme.
 3. Use any of the following:
    - Search for a keyword (e.g., "hello"), OR
    - Click the Popular tab, OR
    - Click the New tab, OR
    - Click the Block Themes tab, OR
    - Apply any Feature Filter.
 4. On the first theme card in the results, click the Install button.
 5. Wait for the installation to complete.
 6. Observe that the button updates to "Activate", but there is no "Live
 Preview" button.
 7. Install the second theme in the results list.
 8. Wait for the installation to complete.
 9. Observe that both the "Activate" and "Live Preview" buttons are
 correctly displayed.

 Expected Results:

 All installed theme cards in the results should display both:
 - Activate
 - Live Preview

 Actual Results:

 The first theme card only displays:
 - Activate

 The "Live Preview" button is missing.

 Subsequent installed theme cards correctly display both buttons.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/64729>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list