fruffl icon

WP action Log

fruffl | 03/10/13 06:40:37 PM UTC | 0 ⭐ | 292 👁️ | Never ⏰ | []
PHP |

12.39 KB

|

None

|

0 👍

/

0 👎

tri4m\Wp\Theme\Trace
    tri4m\Wp\Theme\Application::boot: en_US
            Trigger tri4m\Wp\Theme\Wp::addAction [add_action([after_switch_theme][Closure::function()
                    {
                        try
                        {
                            static::$__Application->activate();
                            Invoke::emitStatic('tri4m\Wp\Theme\Wp', 'flushRewriteRules');
                        }
                        catch(\Exception $E)
                        {
                            Theme::e('Run Exec Error', $E);
                        }
                    }][1])].
            Trigger tri4m\Wp\Theme\Wp::addAction [add_action([switch_theme][Closure::function()
                    {
                        try
                        {
                            static::$__Application->deactivate();
                            Invoke::emitStatic('tri4m\Wp\Theme\Wp', 'flushRewriteRules');
                        }
                        catch(\Exception $E)
                        {
                            Theme::e('Run Exec Error', $E);
                        }
                    }][1])].
            Trigger tri4m\Wp\Theme\Wp::addAction [add_action([after_setup_theme][Closure::function()
                    {
                        try
                        {
                            static::$__Application->run();
                        }
                        catch(\Exception $E)
                        {
                            Theme::e('Run Exec Error', $E);
                        }
                        
                        try
                        {
                            static::$__Hook->dequeueFilters();
                            static::$__Hook->dequeueActions();
                            static::$__Hook->dequeueCallables();
                        }
                        catch(\Exception $E)
                        {
                            Theme::e('Hook Dequeue Error', $E);
                        }
                        
                        try
                        {
                            Wp::addAction(Hook::ACTION_SHUTDOWN, function()
                            {
                                if(FALSE === static::$__debug)
                                    return;
                                        
                                print static::showTrace();
                            });
                        }
                        catch(\Exception $E)
                        {
                            Theme::e('Registration Hook::ACTION_SHUTDOWN Error', $E);
                        }
                    }][2])].
    tri4m\Wp\Theme\Application::run: en_US
            Register Callable load_theme_textdomain
            Register Callable add_theme_support
            Register Callable add_theme_support
            Register Callable add_theme_support
            Register Callable add_editor_style
            Register Callable set_post_thumbnail_size
            Register Action page[init]
            Register Action page[widgets_init]
            Register Action page[init]
            Register Action page[wp_head]
        tri4m\Wp\Theme\Hook::dequeueFilters
        tri4m\Wp\Theme\Hook::dequeueActions
            Trigger tri4m\Wp\Theme\Wp::addAction [add_action([init][Closure::function() use ($__target, $__name, &$__action)
                {
                    if(TRUE === Theme::isDebug())
                        Trace::add("\t\t".String::insert('Exec Action {:__target}[{:__name}]: {:analyze}', compact('__target', '__name') + ['analyze' => Trace::analyze($__action)]));
                    
                    try
                    {
                        $__action();
                    }
                    catch(\Exception $E)
                    {
                        Theme::e('Error in emit Action {:attributes}',
                            ['attributes' => String::attribute(compact('__target', '__name'))], $E);
                    }
                }][10])].
            Trigger tri4m\Wp\Theme\Wp::addAction [add_action([init][Closure::function() use ($__target, $__name, &$__action)
                {
                    if(TRUE === Theme::isDebug())
                        Trace::add("\t\t".String::insert('Exec Action {:__target}[{:__name}]: {:analyze}', compact('__target', '__name') + ['analyze' => Trace::analyze($__action)]));
                    
                    try
                    {
                        $__action();
                    }
                    catch(\Exception $E)
                    {
                        Theme::e('Error in emit Action {:attributes}',
                            ['attributes' => String::attribute(compact('__target', '__name'))], $E);
                    }
                }][10])].
            Trigger tri4m\Wp\Theme\Wp::addAction [add_action([widgets_init][Closure::function() use ($__target, $__name, &$__action)
                {
                    if(TRUE === Theme::isDebug())
                        Trace::add("\t\t".String::insert('Exec Action {:__target}[{:__name}]: {:analyze}', compact('__target', '__name') + ['analyze' => Trace::analyze($__action)]));
                    
                    try
                    {
                        $__action();
                    }
                    catch(\Exception $E)
                    {
                        Theme::e('Error in emit Action {:attributes}',
                            ['attributes' => String::attribute(compact('__target', '__name'))], $E);
                    }
                }][10])].
            Trigger tri4m\Wp\Theme\Wp::addAction [add_action([wp_head][Closure::function() use ($__target, $__name, &$__action)
                {
                    if(TRUE === Theme::isDebug())
                        Trace::add("\t\t".String::insert('Exec Action {:__target}[{:__name}]: {:analyze}', compact('__target', '__name') + ['analyze' => Trace::analyze($__action)]));
                    
                    try
                    {
                        $__action();
                    }
                    catch(\Exception $E)
                    {
                        Theme::e('Error in emit Action {:attributes}',
                            ['attributes' => String::attribute(compact('__target', '__name'))], $E);
                    }
                }][10])].
        tri4m\Wp\Theme\Hook::dequeueCallables
            Exec Function load_theme_textdomain: [response][/var/www/clients/client5/web56/web/blog/wp-content/themes/tri4m/core/lib/ietf]
            Exec Function add_theme_support: [automatic-feed-links]
            Exec Function add_theme_support: [post-formats][10 => aside, 1 => gallery, 2 => link, 3 => image, 4 => quote, 5 => status, 6 => video, 7 => audio, 8 => chat]
            Exec Function add_theme_support: [post-thumbnails]
            Exec Function add_editor_style: []
            Exec Function set_post_thumbnail_size: [720][240][1]
            Trigger tri4m\Wp\Theme\Wp::addAction [add_action([shutdown][Closure::function()
                            {
                                if(FALSE === static::$__debug)
                                    return;
                                        
                                print static::showTrace();
                            }])].
            Exec Action page[widgets_init]: Closure::function()
            {
                try
                {
                    Wp::registerSidebar([
                        'name'          => 'Full Sidebar',
                        'id'            => 'sidebar-widgets',
                        'description'       => 'These are widgets for the sidebar.',
                        'before_widget'     => '<div id="%1$s" class="widget-container %2$s">',
                        'after_widget'      => '</div>',
                        'before_title'      => '<h2 class="widget-title">',
                        'after_title'       => '</h2>'
                    ]);
                    
                    Wp::registerSidebar([
                        'name'          => 'Left Half Sidebar',
                        'id'            => 'sidebar-left',
                        'description'       => 'These are widgets for the left sidebar.',
                        'before_widget'     => '<div id="%1$s" class="widget-container %2$s">',
                        'after_widget'      => '</div>',
                        'before_title'      => '<h2 class="widget-title">',
                        'after_title'       => '</h2>'
                    ]);
                    
                    Wp::registerSidebar([
                        'name'          => 'Right Half Sidebar',
                        'id'            => 'sidebar-right',
                        'description'       => 'These are widgets for the right sidebar.',
                        'before_widget'     => '<div id="%1$s" class="widget-container %2$s">',
                        'after_widget'      => '</div>',
                        'before_title'      => '<h2 class="widget-title">',
                        'after_title'       => '</h2>'
                    ]);
                    
                    Wp::registerSidebar([
                        'name'          => 'Footer',
                        'id'            => 'footer-widgets',
                        'description'       => 'These are the footer widgets',
                        'before_widget'     => '<div class="three columns footer-widgets %2$s">',
                        'after_widget'      => '</div>',
                        'before_title'      => '<h3 class="footer-widget-title">',
                        'after_title'       => '</h3>',
                    ]);
                }
                catch(\Exception $E)
                {
                    Theme::e('Error in HOOK::ACTION_WIDGETS_INIT', $E);
                }
            }
            Trigger tri4m\Wp\Theme\Wp::registerSidebar [register_sidebar([
                name => Full Sidebar
                id => sidebar-widgets
                description => These are widgets for the sidebar.
                before_widget => &lt;div id=&quot;%1$s&quot; class=&quot;widget-container %2$s&quot;&gt;
                after_widget => &lt;/div&gt;
                before_title => &lt;h2 class=&quot;widget-title&quot;&gt;
                after_title => &lt;/h2&gt;])].
            Trigger tri4m\Wp\Theme\Wp::registerSidebar [register_sidebar([
                name => Left Half Sidebar
                id => sidebar-left
                description => These are widgets for the left sidebar.
                before_widget => &lt;div id=&quot;%1$s&quot; class=&quot;widget-container %2$s&quot;&gt;
                after_widget => &lt;/div&gt;
                before_title => &lt;h2 class=&quot;widget-title&quot;&gt;
                after_title => &lt;/h2&gt;])].
            Trigger tri4m\Wp\Theme\Wp::registerSidebar [register_sidebar([
                name => Right Half Sidebar
                id => sidebar-right
                description => These are widgets for the right sidebar.
                before_widget => &lt;div id=&quot;%1$s&quot; class=&quot;widget-container %2$s&quot;&gt;
                after_widget => &lt;/div&gt;
                before_title => &lt;h2 class=&quot;widget-title&quot;&gt;
                after_title => &lt;/h2&gt;])].
            Trigger tri4m\Wp\Theme\Wp::registerSidebar [register_sidebar([
                name => Footer
                id => footer-widgets
                description => These are the footer widgets
                before_widget => &lt;div class=&quot;three columns footer-widgets %2$s&quot;&gt;
                after_widget => &lt;/div&gt;
                before_title => &lt;h3 class=&quot;footer-widget-title&quot;&gt;
                after_title => &lt;/h3&gt;])].
            Exec Action page[init]: Closure::function()
            {
                Invoke::emitStatic('tri4m\Wp\Theme\Wp', 'registerPostType', (new CustomPost('Member',
                [
                    'supports' =>   CustomPost::SUPPORT_TITLE
                        |   CustomPost::SUPPORT_AUTHOR
                        |   CustomPost::SUPPORT_EDITOR
                        |   CustomPost::SUPPORT_THUMBNAIL
                        |   CustomPost::SUPPORT_EXCERPT
                        |   CustomPost::SUPPORT_TRACKBACKS
                        |   CustomPost::SUPPORT_CUSTOM_FIELDS
                        |   CustomPost::SUPPORT_COMMENTS
                        |   CustomPost::SUPPORT_PAGE_ATTRIBUTES
                        //| CustomPost::SUPPORT_POST_FORMATS
                ]))->tuple());
            }
    tri4m\Wp\Theme\Item\CustomPost
                *__postType.singular => Member
                *__postType.slug_singular => member
                *__postType.plural => Members
                *__postType.slug_singluar => member
                *__postType.slug_plural => members
                *__config.supports.0 => title
                *__config.supports.1 => editor
                *__config.supports.2 => author
                *__config.supports.3 => thumbnail
                *__config.supports.4 => excerpt
                *__config.supports.5 => trackbacks
                *__config.supports.6 => custom-fields
                *__config.supports.7 => comments
                *__config.supports.8 => page-attributes
                *__config.labels.name => Members
                *__config.labels.singluar_name => Member
                *__config.labels.menu_name => My Members
                *__config.labels.all_items => All Members
                *__config.labels.add_new => Add New
                *__config.labels.add_new_item => Add New Member
                *__config.labels.edit_item => Edit Member
                *__config.labels.new_item => New Member
                *__config.labels.view_item => View Member
                *__config.labels.search_items => Search Members
                *__config.labels.not_found => No Members found.
                *__config.labels.not_found_in_trash => No Members found in trash.
                *__config.labels.parent_item_colon => Parent Member
                *__config.description => Holds our Members and Member specific data
                *__config.public => FALSE
                *__config.exclude_from_search => FALSE
                *__config.publicly_queryable => TRUE
                *__config.show_ui => TRUE
                *__config.show_in_nav_menus => TRUE
                *__config.show_in_menu => TRUE
                *__config.show_in_admin_bar => TRUE
                *__config.menu_position => 5
                *__config.menu_icon => NULL
                *__config.hierarchical => FALSE
                *__config.register_meta_box_cb => NULL
                *__config.has_archive => FALSE
                *__config.permalink_epmask => 0
                *__config.rewrite => TRUE
            Trigger tri4m\Wp\Theme\Wp::registerPostType [register_post_type([member][
                supports.0 => title
                supports.1 => editor
                supports.2 => author
                supports.3 => thumbnail
                supports.4 => excerpt
                supports.5 => trackbacks
                supports.6 => custom-fields
                supports.7 => comments
                supports.8 => page-attributes
                labels.name => Members
                labels.singluar_name => Member
                labels.menu_name => My Members
                labels.all_items => All Members
                labels.add_new => Add New
                labels.add_new_item => Add New Member
                labels.edit_item => Edit Member
                labels.new_item => New Member
                labels.view_item => View Member
                labels.search_items => Search Members
                labels.not_found => No Members found.
                labels.not_found_in_trash => No Members found in trash.
                labels.parent_item_colon => Parent Member
                description => Holds our Members and Member specific data
                public => FALSE
                exclude_from_search => FALSE
                publicly_queryable => TRUE
                show_ui => TRUE
                show_in_nav_menus => TRUE
                show_in_menu => TRUE
                show_in_admin_bar => TRUE
                menu_position => 5
                menu_icon => NULL
                hierarchical => FALSE
                register_meta_box_cb => NULL
                has_archive => FALSE
                permalink_epmask => 0
                rewrite => TRUE])].
            Exec Action page[init]: Closure::function()
            {
                try
                {
                    Wp::registerNavMenus
                    ([
                        'header-menu' => __('Header Menu', 'response')
                    ]);
                }
                catch(\Exception $E)
                {
                    Theme::e('Error in HOOK::ACTION_INIT', $E);
                }
            }
            Trigger tri4m\Wp\Theme\Wp::registerNavMenus [register_nav_menus([
                header-menu => Header Menu])].
    tri4m\Wp\Theme\Application::activate: en_US
            Trigger tri4m\Wp\Theme\Wp::flushRewriteRules [flush_rewrite_rules([])].

Comments