WordPress.org

Make WordPress Core


Ignore:
Timestamp:
12/19/2018 07:29:22 AM (3 years ago)
Author:
DrewAPicture
Message:

Docs: Update an inline @see reference in the DocBlock for wpdb::prepare() to reference wpdb::esc_like() the method instead of esc_like() the nonexistent function.

Props antaltettinger.
Fixes #45204.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/wp-db.php

    r44272 r44330  
    12741274     * Literal percentage signs (%) in the query string must be written as %%. Percentage wildcards (for example,
    12751275     * to use in LIKE syntax) must be passed via a substitution argument containing the complete LIKE string, these
    1276      * cannot be inserted directly in the query string. Also see {@see esc_like()}.
     1276     * cannot be inserted directly in the query string. Also see {@see wpdb::esc_like()}.
    12771277     *
    12781278     * Arguments may be passed as individual arguments to the method, or as a single array containing all arguments. A combination
Note: See TracChangeset for help on using the changeset viewer.