mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-10-05 15:16:59 +00:00
Docs: Standardize capitalization of Ajax throughout core documentation per the core spelling guide.
Ajax, while considered an acronym for Asynchronous JavaScript and XML, is most commonly capitalized only in the first character. Part props ocean90. See #32246. git-svn-id: https://develop.svn.wordpress.org/trunk@38028 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -203,7 +203,7 @@ function wp_popular_terms_checklist( $taxonomy, $default = 0, $number = 10, $ech
|
||||
$popular_ids = array();
|
||||
foreach ( (array) $terms as $term ) {
|
||||
$popular_ids[] = $term->term_id;
|
||||
if ( !$echo ) // hack for AJAX use
|
||||
if ( !$echo ) // Hack for Ajax use.
|
||||
continue;
|
||||
$id = "popular-$taxonomy-$term->term_id";
|
||||
$checked = in_array( $term->term_id, $checked_terms ) ? 'checked="checked"' : '';
|
||||
|
||||
Reference in New Issue
Block a user