[wp-trac] [WordPress Trac] #27794: Always use visibility:private when creating new posts
WordPress Trac
noreply at wordpress.org
Mon Apr 14 01:02:47 UTC 2014
#27794: Always use visibility:private when creating new posts
-------------------------------+------------------------------
Reporter: SkyHiRider | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Posts, Post Types | Version: 3.8.2
Severity: normal | Resolution:
Keywords: close | Focuses:
-------------------------------+------------------------------
Changes (by knutsp):
* keywords: => close
Comment:
Replying to [comment:2 SkyHiRider]:
> Thanks, I have already implemented it. But what happens when I update
Wordpress, will the changes be lost?
The function should preferably be placed in a plugin and will run on every
pageload (nn the editor pages). It might also go into functions.php of a
(child) theme that will never be updated automatically.
> Can you add "Default Post Visibility" to "Writing Settings" ( /wp-admin
/options-writing.php)in the next Wordpress version ?
I doubt that, as decisions, not options, is the philosophy. The strength
of WordPress is the ability to do such things through hooks.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/27794#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list