Changeset 30665
- Timestamp:
- 11/30/2014 10:04:23 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/widgets.php
r30382 r30665 110 110 /** 111 111 * PHP4 constructor 112 * 113 * @param string $id_base 114 * @param string $name 115 * @param array $widget_options 116 * @param array $control_options 112 117 */ 113 118 public function WP_Widget( $id_base, $name, $widget_options = array(), $control_options = array() ) { … … 273 278 * Do NOT over-ride this function. 274 279 * 275 * @param mixed$deprecated Not used.280 * @param int $deprecated Not used. 276 281 */ 277 282 public function update_callback( $deprecated = 1 ) { … … 848 853 * @since 2.9.0 849 854 * 850 * @param int|string $id sidebar ID.855 * @param string $id sidebar ID. 851 856 * @return string Sidebar description, if available. Null on failure to retrieve description. 852 857 */ … … 899 904 * @param callback $control_callback Run when sidebar is displayed. 900 905 * @param array|string $options Optional. Widget options. See above long description. 901 * @param mixed $params,... Optional. Additional parameters to add to widget.902 906 */ 903 907 function wp_register_widget_control($id, $name, $control_callback, $options = array()) { … … 948 952 } 949 953 954 /** 955 * 956 * @global array $wp_registered_widget_updates 957 * @param string $id_base 958 * @param callable $update_callback 959 * @param array $options 960 */ 950 961 function _register_widget_update_callback($id_base, $update_callback, $options = array()) { 951 962 global $wp_registered_widget_updates; … … 966 977 } 967 978 979 /** 980 * 981 * @global array $wp_registered_widget_controls 982 * @param int|string $id 983 * @param string $name 984 * @param callable $form_callback 985 * @param array $options 986 * @return null 987 */ 968 988 function _register_widget_form_callback($id, $name, $form_callback, $options = array()) { 969 989 global $wp_registered_widget_controls; … … 1250 1270 * @since 2.8.0 1251 1271 * 1252 * @param mixed$index Sidebar name, id or number to check.1272 * @param string|int $index Sidebar name, id or number to check. 1253 1273 * @return bool true if the sidebar is in use, false otherwise. 1254 1274 */ … … 1353 1373 * @since 2.8.0 1354 1374 * 1375 * @param string $base_name 1376 * @param string $option_name 1377 * @param array $settings 1355 1378 * @return array 1356 1379 */ … … 1471 1494 * @since 2.8.0 1472 1495 * 1473 * @param mixed$theme_changed Whether the theme was changed as a boolean. A value1474 * of 'customize' defers updates for the Customizer.1496 * @param string|bool $theme_changed Whether the theme was changed as a boolean. A value 1497 * of 'customize' defers updates for the Customizer. 1475 1498 * @return array 1476 1499 */
Note: See TracChangeset
for help on using the changeset viewer.