[wp-trac] [WordPress Trac] #32339: Wrong logic for adding category in Press This
WordPress Trac
noreply at wordpress.org
Thu May 14 12:02:10 UTC 2015
#32339: Wrong logic for adding category in Press This
-------------------------------+------------------------------
Reporter: pavelevap | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Press This | Version: 4.2
Severity: normal | Resolution:
Keywords: reporter-feedback | Focuses: administration
-------------------------------+------------------------------
Comment (by pavelevap):
Yes, this category is not created several times, but it can be confusing.
But following line will never be executed because `$cat_id` will never
return error:
https://core.trac.wordpress.org/browser/tags/4.2.2/src/wp-admin/includes
/class-wp-press-this.php#L209
And that is the cause of this problem?
--
Ticket URL: <https://core.trac.wordpress.org/ticket/32339#comment:5>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list