[wp-trac] [WordPress Trac] #57379: A Way to Disable Export Theme

WordPress Trac noreply at wordpress.org
Fri Jul 5 02:45:25 UTC 2024


#57379: A Way to Disable Export Theme
----------------------------------------+---------------------
 Reporter:  unsalkorkmaz                |       Owner:  (none)
     Type:  defect (bug)                |      Status:  new
 Priority:  normal                      |   Milestone:  6.7
Component:  Administration              |     Version:  6.1.1
 Severity:  major                       |  Resolution:
 Keywords:  has-patch needs-unit-tests  |     Focuses:
----------------------------------------+---------------------

Comment (by peterwilsoncc):

 Thanks @rajinsharwar.

 WordPress includes an [https://wordpress.org/documentation/article/roles-
 and-capabilities/#export export] capability that controls the ability of
 users to export the contents of a site. With the introduction of the Site
 Editor, this also includes the posts and images used for customizing a
 theme.

 As exporting a theme includes exporting these post types and combining
 them with the existing theme, I am wondering if the appropriate change for
 the exporting of themes from the site editor is to also use the export
 capability.

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


More information about the wp-trac mailing list