[wp-trac] [WordPress Trac] #6531: Recursively search for files in theme and plugin editors

WordPress Trac noreply at wordpress.org
Wed Oct 4 23:33:49 UTC 2017


#6531: Recursively search for files in theme and plugin editors
-------------------------------------------------+-------------------------
 Reporter:  torbens                              |       Owner:
     Type:  defect (bug)                         |  WraithKenny
 Priority:  high                                 |      Status:  reviewing
Component:  Themes                               |   Milestone:  4.9
 Severity:  minor                                |     Version:  2.5
 Keywords:  theme-editor has-patch has-unit-     |  Resolution:
  tests                                          |     Focuses:
                                                 |  administration
-------------------------------------------------+-------------------------

Comment (by WraithKenny):

 I'm getting an error testing the patch:

 {{{#!php
 <?php
 Fatal error: Uncaught Error: Trying to clone an uncloneable object of
 class RecursiveIteratorIterator in /var/www/html/build/wp-
 includes/option.php:452 Stack trace: #0 /var/www/html/build/wp-
 includes/option.php(766): add_option('_transient_list...',
 Object(RecursiveIteratorIterator), '', 'no') #1 /var/www/html/build/wp-
 admin/includes/plugin.php(227): set_transient('list_files_cach...',
 Object(RecursiveIteratorIterator), 3600) #2 /var/www/html/build/wp-admin
 /plugin-editor.php(69): get_plugin_files('gutenberg/guten...') #3 {main}
 thrown in /var/www/html/build/wp-includes/option.php on line 452
 }}}

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


More information about the wp-trac mailing list