Opened 9 years ago
Closed 9 years ago
#34570 closed defect (bug) (fixed)
.below-h2 notices are moved to above the page title
Reported by: | stephenharris | Owned by: | afercia |
---|---|---|---|
Milestone: | 4.4 | Priority: | normal |
Severity: | normal | Version: | 4.4 |
Component: | Administration | Keywords: | has-patch |
Focuses: | Cc: |
Description (last modified by )
If you create a notice with the .below-h2
class e.g.
<div class="updated below-h2"> ... </div>
then it is moved to above the title header. Previously notices with that class were kept inline. There is another class that could (should) be used instead: inline
, but until [35238] support for .below-h2
continued.
With a view of not breaking plug-ins still using the .below-h2
class I'd like to suggest we re-instate it.
Attachments (1)
Change History (10)
#5
@
9 years ago
- Keywords reporter-feedback added; dev-feedback removed
@stephenharris can you please provide an example/plugin where this is happening? As far as I see, the below-h2
ones are never moved above the title, see screenshot. The class below-h2
is simply ignored now, all notices are moved below the title except the ones with a inline
class. It's entirely possible I'm missing something though :)
#6
@
9 years ago
@afercia You are right, I meant immediately beneath the title. An example of this is https://wordpress.org/plugins/event-organiser. When editing a recurring event there is a
notice that appears within the metabox:
However trunk current moves this to the top of the page, under the screen title:
This is particularly problematic as the notice has a checkbox inside of it, however it has now been moved outside of the <form>
.
Of course .inline
can (and should) be used instead, but until 4.4 .below-h2
also performed the same purpose, and the intention of this patch is to continue that behaviour. I wasn't aware that it was being removed (nor until now was I aware of .inline
), and I'm sure I can't be the only one using it still.
#7
@
9 years ago
- Keywords reporter-feedback removed
@stephenharris thanks, I understand now :) Yep, I see the issue for notices intended to appear in the middle of the page. Maybe the best thing to do would be discourage someway the use of below-h2
in favor of inline
but in the meanwhile yes there should be some back compatibility. Thanks!
Do not move notices with .below-h2 above the page title