I think you’re assuming this is intentional, it’s probably just a bug in the theme, what it’s stating is the 5th parameter is a string, but there is no 5th parameter so it’s ignored.
The most likely reason is that during development a 5th entry was removed and the author forgot to update the second array, or that they accidentally duplicated a line
Related Posts:
- $wpdb->get_row() only returns a single row?
- How to parse row results from $wpdb -> get_results
- what is the way to see the currently executing query in wordpress?
- Fetch array with $wpdb
- $wpdb->last_error doesn’t show the query on error
- Theoretical Multi-Server WordPress Setup with Shared Users
- Delete/replace img tags in post content for auto published posts [closed]
- Speed optimization of $wpdb->get_results
- What does wp_update_post() do that the $wpdb class does not?
- $wpdb is get_results escaped
- wpdb-> not adding prefix to custom table
- WordPress insert NOW() in TIMESTAMP column returns all zeros
- $wpdb prepare issue with mysql DATE_FORMAT
- How-To: wpdb Insert Record With Date
- How to pass NULL in where array for $wpdb->update
- Get random row from custom table
- store custom WP table names in a global variable
- wpdb prepare: passing varible number of fields as second argument
- I am not understandinhg $wpdb->prepare correctly
- How to save html and text in the database?
- XOR functionality for meta_query
- Using WPDB class
- WPDB Update using Conditional Arrays
- How can I migrate mysql_fetch_array to $wbpdb?
- What is _transient_random_seed for?
- wpdb get_results() and prepare when to use prepare?
- Foreach loop using $wpdb not results from rows
- Return XML of Post Metadata
- How to Instantiate wpdb Object in New File
- How do you build a wpdb query dynamically?
- What’s the proper way to add users to my site in order to test things?
- External DB Connection [closed]
- Problem in inserting row to custom database table
- sanitize_text_field and apostrophe problem
- $wpdb->prepare with ON DUPLICATE KEY UPDATE
- Code only works every other time its run
- wpdb updating record in wordpress with json adds extra array elements
- How to display a specific category using a custom Query?
- Can’t pass variable in wordpress wpdb->get_results
- AWS Bitnami WordPress – SELECT command denied to user
- WPDB Placeholders and second argument for prepared statements
- PHP Fatal Error – $wpdb a non-object?
- WordPress db prepare
- How do I count columns on a custom WPDB query?
- how to get db values without using an loop with wpdb->get_results()
- Custom SQL query ORDER BY term_order
- Trouble inserting string containing quotations marks with wpdb in save_post hook
- How to run wp_insert_post() & wpdb on the background?
- $wpdb->prepare was called incorrectly when inserting multiple records
- How to protect a script execution on WordPress?
- how to connect to another database in wordpress
- $wpdb->insert() doesnt work anymore
- wpdb query not working
- Where can I see MySQL hostname and port for wp-config.php
- WordPress wpdb->insert returns int(0) => doesn’t insert anything, no errors!
- Perform a function when a user clicks register button
- $wpdb->get_results not returning an array
- WPDB Query Question with Category Only
- wpdb result arrray inside an array
- $wpdb->num_rows doesn’t work
- $wpdb->get_var next var?
- How can I change my meta_query to SQL wpdb query?
- How do I modify this wpdb query to include posts that have a post_status of publish and draft?
- Can’t find out why dbDelta dosen’t create my table
- How capturate wpdb exceptions?
- Limit left join
- Check if Value Exists in Database, adding row details to variables and echoing result
- wpdb discards duplicate column names?
- “This message was added in version X” showing a later version than current one
- Get records from Formidable Table using $wpdb->get_col
- WPDB SQL query SELECT from category
- How to get row value from wpdb
- How to Update multiple rows using $wpdb->update
- Unable to use $wpdb in WordPress
- How to display specific data from custom database table in WordPress
- wont add form details to database or send me mail
- Missing argument 2 for wpdb::prepare() [duplicate]
- Why is an empty result an error? ( $wpdb->get_row )
- get_row returns empty when data exists
- wpdb->update update the entire table instead of one row
- WPDP related functions look to work but they don’t
- How to set up prepared query using IN statement
- Save customizer default values to DB on theme activation
- Plugin with connection to database – Single function
- Alter the main search query to search posts by coauthor user name
- Protect custom form from SQL injection
- why nl2br() is adding an extra ?
- WPDB Prepared Delete
- How to add more custom fields in user meta table simultaneously
- wpdb->update error
- wpdb Cannot Access Associative Array Data in a Count Query
- Using $wpdb to update current post
- Checking if meta_value exists for any user
- Can’t seem to get set_blog_id working, it just doesn’t reset the blog ID
- Can you create a new wpdb that connects to an SQL (not MYSQL) database? [duplicate]
- DBDelta: “table doesn’t exist” for a table that was just created
- How does $wpdb->get_var work with offset?
- query_vars doesn’t return query string (trying to get data from $wpdb)
- Table wont load into WPDB
- WPDB prepare – like % – placeholders?