mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-06-28 22:30:04 +00:00
Improve various @param docs for src/wp-admin/*.
See #30224. git-svn-id: https://develop.svn.wordpress.org/trunk@30680 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -60,7 +60,7 @@ function get_hidden_columns( $screen ) {
|
||||
*
|
||||
* @since 2.7.0
|
||||
*
|
||||
* @param string|WP_Screen $screen
|
||||
* @param WP_Screen $screen
|
||||
*/
|
||||
function meta_box_prefs( $screen ) {
|
||||
global $wp_meta_boxes;
|
||||
@@ -650,7 +650,7 @@ final class WP_Screen {
|
||||
* @param string $option Option name.
|
||||
* @param string $key Optional. Specific array key for when the option is an array.
|
||||
* Default false.
|
||||
* @return mixed The option value if set, null otherwise.
|
||||
* @return string The option value if set, null otherwise.
|
||||
*/
|
||||
public function get_option( $option, $key = false ) {
|
||||
if ( ! isset( $this->_options[ $option ] ) )
|
||||
|
||||
Reference in New Issue
Block a user