equal
deleted
inserted
replaced
52 * |
52 * |
53 * @since 4.9.0 |
53 * @since 4.9.0 |
54 * @return array Exported parameters. |
54 * @return array Exported parameters. |
55 */ |
55 */ |
56 public function json() { |
56 public function json() { |
57 $exported = parent::json(); |
57 $exported = parent::json(); |
58 $exported['action'] = $this->action; |
58 $exported['action'] = $this->action; |
59 $exported['filter_type'] = $this->filter_type; |
59 $exported['filter_type'] = $this->filter_type; |
60 |
60 |
61 return $exported; |
61 return $exported; |
62 } |
62 } |
63 |
63 |
85 <ul class="themes"> |
85 <ul class="themes"> |
86 </ul> |
86 </ul> |
87 <p class="no-themes"><?php _e( 'No themes found. Try a different search.' ); ?></p> |
87 <p class="no-themes"><?php _e( 'No themes found. Try a different search.' ); ?></p> |
88 <p class="no-themes-local"> |
88 <p class="no-themes-local"> |
89 <?php |
89 <?php |
90 /* translators: %s: "Search WordPress.org themes" button */ |
90 printf( |
91 printf( __( 'No themes found. Try a different search, or %s.' ), |
91 /* translators: %s: "Search WordPress.org themes" button text */ |
|
92 __( 'No themes found. Try a different search, or %s.' ), |
92 sprintf( '<button type="button" class="button-link search-dotorg-themes">%s</button>', __( 'Search WordPress.org themes' ) ) |
93 sprintf( '<button type="button" class="button-link search-dotorg-themes">%s</button>', __( 'Search WordPress.org themes' ) ) |
93 ); |
94 ); |
94 ?> |
95 ?> |
95 </p> |
96 </p> |
96 <p class="spinner"></p> |
97 <p class="spinner"></p> |