Changeset 50828
- Timestamp:
- 05/07/2021 08:14:22 PM (3 years ago)
- Location:
- trunk/src
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/class-automatic-upgrader-skin.php
r49596 r50828 57 57 * @since 3.7.0 58 58 * 59 * @return arrayMessages during an upgrade.59 * @return string[] Messages during an upgrade. 60 60 */ 61 61 public function get_upgrade_messages() { -
trunk/src/wp-includes/nav-menu.php
r50558 r50828 86 86 * @global array $_wp_registered_nav_menus 87 87 * 88 * @param array$locations Associative array of menu location identifiers (like a slug) and descriptive text.88 * @param string[] $locations Associative array of menu location identifiers (like a slug) and descriptive text. 89 89 */ 90 90 function register_nav_menus( $locations = array() ) { … … 144 144 * @global array $_wp_registered_nav_menus 145 145 * 146 * @return array Registered navigation menu locations. If none are registered, an empty array. 146 * @return string[] Associative array of egistered navigation menu descriptions keyed 147 * by their location. If none are registered, an empty array. 147 148 */ 148 149 function get_registered_nav_menus() { … … 159 160 * @since 3.0.0 160 161 * 161 * @return array Registered navigation menu locations and the menus assigned them. 162 * If none are registered, an empty array. 163 */ 164 162 * @return int[] Associative array of egistered navigation menu IDs keyed by their 163 * location name. If none are registered, an empty array. 164 */ 165 165 function get_nav_menu_locations() { 166 166 $locations = get_theme_mod( 'nav_menu_locations' ); -
trunk/src/wp-includes/taxonomy.php
r50641 r50828 2770 2770 * 2771 2771 * @param int $object_id Object ID. 2772 * @param array $terms An array of object term s.2772 * @param array $terms An array of object term IDs or slugs. 2773 2773 * @param array $tt_ids An array of term taxonomy IDs. 2774 2774 * @param string $taxonomy Taxonomy slug. -
trunk/src/wp-signup.php
r50032 r50828 230 230 * 231 231 * @return array Contains the new site data and error messages. 232 * See wpmu_validate_blog_signup() for details. 232 233 */ 233 234 function validate_blog_form() { … … 293 294 * 294 295 * @return array Contains username, email, and error messages. 296 * See wpmu_validate_user_signup() for details. 295 297 */ 296 298 function validate_user_form() { … … 862 864 * @see get_available_languages() 863 865 * 864 * @return array List of available languages. 866 * @return string[] Array of available language codes. Language codes are formed by 867 * stripping the .mo extension from the language file names. 865 868 */ 866 869 function signup_get_available_languages() { … … 875 878 * @since 4.4.0 876 879 * 877 * @param array $available_languages Available languages. 880 * @param string[] $languages Array of available language codes. Language codes are formed by 881 * stripping the .mo extension from the language file names. 878 882 */ 879 883 $languages = (array) apply_filters( 'signup_get_available_languages', get_available_languages() );
Note: See TracChangeset
for help on using the changeset viewer.