mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-04-04 20:54:29 +00:00
Add @global annotations for wp-admin/*.
See #32444. git-svn-id: https://develop.svn.wordpress.org/trunk@32642 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -74,6 +74,8 @@ function get_default_link_to_edit() {
|
||||
*
|
||||
* @since 2.0.0
|
||||
*
|
||||
* @global wpdb $wpdb
|
||||
*
|
||||
* @param int $link_id ID of the link to delete
|
||||
* @return bool True
|
||||
*/
|
||||
@@ -137,6 +139,8 @@ function get_link_to_edit( $link_id ) {
|
||||
*
|
||||
* @since 2.0.0
|
||||
*
|
||||
* @global wpdb $wpdb
|
||||
*
|
||||
* @param array $linkdata Elements that make up the link to insert.
|
||||
* @param bool $wp_error Optional. If true return WP_Error object on failure.
|
||||
* @return int|WP_Error Value 0 or WP_Error on failure. The link ID on success.
|
||||
@@ -285,6 +289,8 @@ function wp_update_link( $linkdata ) {
|
||||
/**
|
||||
* @since 3.5.0
|
||||
* @access private
|
||||
*
|
||||
* @global string $pagenow
|
||||
*/
|
||||
function wp_link_manager_disabled_message() {
|
||||
global $pagenow;
|
||||
|
||||
Reference in New Issue
Block a user