Make WordPress Core

Changeset 28570


Ignore:
Timestamp:
05/24/2014 05:38:06 AM (10 years ago)
Author:
DrewAPicture
Message:

Add inline documentation for the option_none_value argument added to wp_dropdown_users|categories() in [28564].

Fixes #16625.

Location:
trunk/src/wp-includes
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/category-template.php

    r28564 r28570  
    293293 *     'show_option_all' (string) - Text to display for showing all categories.
    294294 *     'show_option_none' (string) - Text to display for showing no categories.
     295 *     'option_none_value' (mixed) - Value to use when no category is selected.
    295296 *     'orderby' (string) default is 'ID' - What column to use for ordering the
    296297 * categories.
  • trunk/src/wp-includes/user.php

    r28564 r28570  
    12531253 * <li>show_option_all - Text to show all and whether HTML option exists.</li>
    12541254 * <li>show_option_none - Text for show none and whether HTML option exists.</li>
     1255 * <li>option_none_value - Value to use when no option is selected.</li>
    12551256 * <li>hide_if_only_one_author - Don't create the dropdown if there is only one user.</li>
    12561257 * <li>orderby - SQL order by clause for what order the users appear. Default is 'display_name'.</li>
Note: See TracChangeset for help on using the changeset viewer.