Support » Plugin: Three Column Screen Layout » WordPress 4.4 Compatibility

Viewing 11 replies - 1 through 11 (of 11 total)
  • Hello, I have found a quick tip:

    The “render_screen_layout” function has been updated (located in screen.php, it’s now located in class-wp-screen.php);

    The “h5” has been removed and replaced by “field/legend”;

    You have 3 choices:
    1- update the strpos lines in the plugin file
    2- replace the new render_screen_layout by the old one (quick, dirty, but it works!)
    3- wait for the update by the author;)

    Bye
    PS: choice 2 can affect something else, or not

    Not working in WordPress 4.4, we are waiting for an update from the author…

    (1) has anyone updated the strpos lines already?
    (3) hej chad. are you there? 😉

    Option 2 suggested above worked.
    2- replace the new render_screen_layout by the old one (quick, dirty, but it works!)

    just goto wp-admin/includes/class-wp-screen.php

    Replace entire render_screen_layout function with this old version which works.

    public function render_screen_layout() {
    		if ( ! $this->get_option('layout_columns') )
    			return;
    
    		$screen_layout_columns = $this->get_columns();
    		$num = $this->get_option( 'layout_columns', 'max' );
    
    		?>
    		<h5 class="screen-layout"><?php _e('Screen Layout'); ?></h5>
    		<div class='columns-prefs'><?php
    			_e('Number of Columns:');
    			for ( $i = 1; $i <= $num; ++$i ):
    				?>
    				<label class="columns-prefs-<?php echo $i; ?>">
    					<input type='radio' name='screen_columns' value='<?php echo esc_attr( $i ); ?>'
    						<?php checked( $screen_layout_columns, $i ); ?> />
    					<?php echo esc_html( $i ); ?>
    				</label>
    				<?php
    			endfor; ?>
    		</div>
    		<?php
    	}
    Plugin Author Chad Hovell

    (@chad-hovell)

    No need for dirty hacks – an updated version is here!
    Tested and working in:

    3.4
    3.7
    3.7.1
    3.8
    3.9.1
    3.9.2
    4.0
    4.0.1
    4.4
    4.5.3

    thanks chad!
    unfortunately to me it still seems to be corrupted. (4.5.3 / clean install)
    any ideas?

    Plugin Author Chad Hovell

    (@chad-hovell)

    Can you explain what corruption you’re seeing, where it is on the page, and your browser version. The plugin appears to behave itself in the latest browsers (4.5.3 / clean install).

    Mac:
    Chrome 51.0.2704.106
    Firefox 47.0
    Opera 38.0.2220.31
    Safari 9.1.1 (11601.6.17)

    Windows:
    Chrome 51.0.2704.106
    Firefox 47.0
    Opera 38.0.2220.31
    IE 11.0.9600.18349

    i am running safari and chrome (both mac and up-to-date) but i guess it’s not a browser problem. here are 2 screenshots …

    1.) https://www.dropbox.com/s/cpa6euex9ph0b7r/Bildschirmfoto%202016-06-25%20um%2016.52.23.png?dl=0
    shows irregularities with the choosing of the layout

    2.) https://www.dropbox.com/s/f97ecbcstkpe61q/Bildschirmfoto%202016-06-25%20um%2016.52.55.png?dl=0
    has that blank space in the middle, and it’s not possible to drag anything in there.

    Plugin Author Chad Hovell

    (@chad-hovell)

    Okay, I’ve reproduced the issue you’re seeing.
    It appears the German language option is throwing off my meta-box splicing.
    Expect an update shortly!

    Plugin Author Chad Hovell

    (@chad-hovell)

    Update to version 4.1
    Fix for non-English WP installations
    Added RTL language layouts

    THANKS A LOT, CHAD!
    thumbs up for for support and your plugin! 🙂
    best,
    s

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘WordPress 4.4 Compatibility’ is closed to new replies.