[wp-trac] [WordPress Trac] #22373: Don't show post_type
WordPress Trac
noreply at wordpress.org
Tue Nov 6 21:04:28 UTC 2012
#22373: Don't show post_type
-----------------------------+--------------------------
Reporter: seravifer | Type: defect (bug)
Status: new | Priority: normal
Milestone: Awaiting Review | Component: Post Types
Version: 3.4.2 | Severity: critical
Keywords: needs-patch |
-----------------------------+--------------------------
When i put this code in the file "function.php"
<code>add_filter('init', create_function('$a', 'global $wp_rewrite;
$wp_rewrite->author_base = "user"; $wp_rewrite->flush_rules();'));</code>
The post_type "articulos" when I go to see, it show a error "Error 404"
but if it can edit.
After removing the code not shown.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/22373>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list