Make WordPress Core

Opened 8 years ago

Closed 8 years ago

#37119 closed defect (bug) (duplicate)

Taxonomies is not adding to post unless user is not loggeg in

Reported by: dangerd512's profile dangerd512 Owned by:
Milestone: Priority: normal
Severity: normal Version:
Component: Posts, Post Types Keywords:
Focuses: Cc:


Using external script to insert posts (grabber)

                'post_title' => $t['name'],
                'post_type' => 'catalog',
                'post_status' => 'publish',
                'post_content' => $t['sdescr'],
                'tax_input' => array(
                        'manufacturer' => $t['manufacteur'],
                        'cat_category' => $_GET['catid']

Posts inserted with taxonomies (manufacturer, cat_category) if user who access script url is logged in, otherwise post will be inserted without taxonomies...

Change History (1)

#1 @ocean90
8 years ago

  • Component changed from Taxonomy to Posts, Post Types
  • Milestone Awaiting Review deleted
  • Resolution set to duplicate
  • Status changed from new to closed
  • Version 4.5.2 deleted

Hello @dangerd512, welcome to our Trac!

Thanks for your report, we're already tracking this issue in #19373.

Note: See TracTickets for help on using tickets.