It's updating the value of post_content
in all rows in the table.
If the post_content
column contains the text www.domain.com/wp-content/uploads
, then it is replaced with www.domain.com/images
.
If post_content
doesn't contain that text, then no action is taken on that row.
If, for example, it contains:
http://www.domain.com/wp-content/uploads/blah/blah/blah.jpg
then it will become:
http://www.domain.com/images/blah/blah/blah.jpg