Make WordPress Core

Opened 13 years ago

Closed 13 years ago

Last modified 13 years ago

#25157 closed defect (bug) (worksforme)

get_page_by_title returns null with ampersand in title

Reported by: barrykooij Owned by:
Priority: normal Milestone:
Component: Formatting Version: 3.6
Severity: normal Keywords: has-patch
Cc: Focuses:

Description

Ampersands in posts get changed to & when saved to the database. This causes get_page_by_title to return null when using a title with an ampersand.

Attachments (1)

post.php.diff (818 bytes ) - added by barrykooij 13 years ago.

Download all attachments as: .zip

Change History (6)

@barrykooij
13 years ago

#1 @barrykooij
13 years ago

I accidentally uploaded 2 wrong patch files, please remove/ignore user.php.patch and user.php.patch

#3 @barrykooij
13 years ago

Seems to be working just fine now, without the patch. Ticket can be closed.

#4 @joostdevalk
13 years ago

  • Resolutionfixed
  • Status newclosed

Closing, as per previous comment.

#5 @SergeyBiryukov
13 years ago

  • Milestone Awaiting Review
  • Resolution fixedworksforme

Could not reproduce neither in 3.6.1 nor in trunk.

Note: See TracTickets for help on using tickets.