[wp-trac] [WordPress Trac] #14302: Post object property getters and setters

WordPress Trac noreply at wordpress.org
Fri Oct 10 04:17:12 UTC 2014


#14302: Post object property getters and setters
------------------------------------+------------------------
 Reporter:  filosofo                |       Owner:  filosofo
     Type:  enhancement             |      Status:  closed
 Priority:  normal                  |   Milestone:
Component:  Posts, Post Types       |     Version:  3.0
 Severity:  normal                  |  Resolution:  duplicate
 Keywords:  has-patch dev-feedback  |     Focuses:
------------------------------------+------------------------

Comment (by chriscct7):

 Replying to [comment:17 DrewAPicture]:
 > Duplicate of #21309.
 >
 > Getters and setters were included when `WP_Post` was introduced in
 [21559] for 3.5.

 Using `wp_set_object_terms` you can set terms, but what do you do for ( as
 an example) setting the post title?

--
Ticket URL: <https://core.trac.wordpress.org/ticket/14302#comment:18>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list