[wp-trac] [WordPress Trac] #44585: Docs: $wpdb->prepare should point to $wpdb->esc_like method
WordPress Trac
noreply at wordpress.org
Sun Jul 15 18:16:17 UTC 2018
#44585: Docs: $wpdb->prepare should point to $wpdb->esc_like method
--------------------------+-----------------------------
Reporter: felipeelia | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Database | Version:
Severity: normal | Keywords: needs-patch
Focuses: |
--------------------------+-----------------------------
There is a broken link into `$wpdb->prepare()` docs: it points to
https://developer.wordpress.org/reference/functions/esc_like where it
should point to
https://developer.wordpress.org/reference/classes/wpdb/esc_like/.
I'm not sure, but I guess it's generated from inline docs, and should be
solved simply changing `{@see esc_like()}` to `{@see wpdb::esc_like()}` in
[https://core.trac.wordpress.org/browser/trunk/src/wp-includes/wp-
db.php#L1276 this line].
--
Ticket URL: <https://core.trac.wordpress.org/ticket/44585>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list