WordPress.org

Make WordPress Core

Changes between Initial Version and Version 3 of Ticket #28511


Ignore:
Timestamp:
06/12/2014 09:05:55 PM (6 years ago)
Author:
SergeyBiryukov
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #28511

    • Property Keywords reporter-feedback added
    • Property Type changed from feature request to enhancement
  • Ticket #28511 – Description

    initial v3  
    44
    55On a development site, I added
     6{{{
    67<?php do_action( 'pre_admin_header' ); ?>
    78<div style="position:relative;">
    8 
    9 to admin-header.php; right after <div id="wpwrap"> and
    10 
     9}}}
     10to `admin-header.php`; right after `<div id="wpwrap">` and
     11{{{
    1112</div>
    1213<?php do_action( 'post_admin_footer' ); ?>
    13 
    14 to admin-footer.php.
    15 
    16 right before <!-- wpwrap --> </div>
    17 
     14}}}
     15to `admin-footer.php`. right before `<!-- wpwrap --> </div>`
    1816
    1917It functions as expected, all positioning is correct within the wrapper.
    2018
    2119Some concern was raised in #wordpress-dev about maintainability, but realistically, I can't see this being an issue to support or maintain. As it is, #wpwrap is simply a wrapper for the rest of the admin. Adding an additonal div before and after the admin is output shouldn't break that, and realistically could be moved without issue if the structure of the backend changes.
    22 
    23