We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4af2b61 commit 86ea883Copy full SHA for 86ea883
1 file changed
src/wp-admin/includes/bookmark.php
@@ -11,7 +11,7 @@
11
*
12
* @since 2.0.0
13
14
- * @return int 0 on failure. The link ID on success.
+ * @return int The link ID on success. 0 on failure.
15
*/
16
function add_link() {
17
return edit_link();
@@ -23,7 +23,7 @@ function add_link() {
23
24
25
* @param int $link_id Optional. ID of the link to edit. Default 0.
26
27
28
function edit_link( $link_id = 0 ) {
29
if ( ! current_user_can( 'manage_links' ) ) {
0 commit comments