Trusted WordPress tutorials, when you need them most.
Beginner’s Guide to WordPress
WPB Cup
25 Million+
Websites using our plugins
16+
Years of WordPress experience
3000+
WordPress tutorials
by experts

Vad kommer i WordPress 4.5 (funktioner och screenshots)

Betaversionen av WordPress 4.5 släpptes förra veckan. Vi följde utvecklarna på nära håll och vi är glada att kunna rapportera att WordPress 4.5 förväntas släppas under andra veckan i april 2016. I den här artikeln kommer vi att belysa vad som kommer i WordPress 4.5 med funktioner och screenshots.

What to expect from upcoming WordPress 4.5

Obs/observera: Du kan testa betaversionen på din dator eller i en staging-miljö genom att använda WordPress Beta Tester plugin.

Detta är betaversionen, vilket innebär att inga fler utvalda funktioner kommer att addas förrän i den slutliga versionen av WordPress 4.5. Vänligen notera dock att vissa av dessa funktioner kanske ej kommer att finnas med i den slutliga versionen.

Support för temats logga

Att lägga till temalogotyp från customize är en efterlängtad funktion. WordPress 4.5 kommer att add to theme logo support to WordPress core.

Många premium WordPress teman tillåter redan användare att uploada custom logga med hjälp av deras egen options panel. Med core-support för funktionen skulle det bli möjligt för användare att göra det från theme customizer.

Theme Logo Support in upcoming WordPress 4.5

Themes skulle kunna definiera support för logotyper med storleksvärden som gillar detta:

add_image_size( 'twentysixteen-logo', 1200, 175 );
add_theme_support( 'site-logo', array( 'size' => 'twentysixteen-logo' ) );

Om ett theme inte har support för den här funktionen kommer den inte att vara synlig i customizern.

Förbättringar av Visual Editor

Majoriteten av WordPress användare tillbringar större delen av sin tid med att skapa content. Allt som kan göra skrivupplevelsen bättre och snabbare är alltid en bra sak.

WordPress 4.5 kommer att medföra några new förbättringar av visual editor, vilket kommer att förbättra skrivupplevelsen för användarna.

Inline Link Editing

WordPress kommer med några bra tidsbesparande genvägar, som all hjälper dig att skriva snabbare. En av dessa genvägar är CTRL+K (Command+K på Mac), som allow you att insert links i posts.

Den här genvägen öppnar popupen insert link, som är lite distraherande.

Med WordPress 4.5 visas en inline-meny för insert-länkar när du trycker på CTRL+K. Skriv bara in URL:en och fortsätt skriva din post utan att ta bort händerna från tangentbordet.

Inline link editing in WordPress 4.5

Fler genvägar för inline-text

Kortkommandon för inline-text introducerades i WordPress 4.3. De tillåter användare att snabbt add to format genom att använda enkla textgenvägar.

WordPress 4.5 introducerar fler genvägar som gillar `code` för kod och **bold** för fet stil.

New inline text shortcuts in WordPress 4.5

För de användare som inte gillar dessa genvägar, här är hur man inaktiverar inline textgenvägar i visual editor.

Förbättrad vy för moderation av kommentarer

Många bloggare lägger ner mycket tid på att granska kommentarer i WordPress. Moderation av kommentarer är ett nödvändigt ont som vi all måste tolerera för att bekämpa skräppost i WordPress.

WordPress skickar ett email till dig när en new comment har submitats. Om du klickar på länken approve, skräppost eller trash i emailet kommer du till en vy där du kan se den kommentaren med en knapp för att utföra önskad action.

På den här vyn kan du inte editera en comment. Den visar dig heller ej något format i kommentartexten, vilket inte är trevligt.

Moderate comment screen in WordPress 4.4.2

Med WordPress 4.5 kommer du att få se en förbättrad vy. Den kommer att visa dig formatet i kommentartexten så som det skulle visas i webbläsaren. Det kommer också att finnas en länk för att edit kommentaren.

Moderate comment screen in upcoming WordPress 4.5

Responsive Preview i Customizer

WordPress 4.5 kommer att ge ett annat coolt tillägg till customizern. Du kommer nu att kunna se responsiva previews av din site direkt i customizern.

Du kan klicka på device iconen längst ner för att växla view mellan enheter. För närvarande visar den förhandsvisningar av skrivbord, surfplatta och mobil enhet. Detta ger dig en generisk uppfattning om hur din site skulle se ut på dessa devices.

Responsive previews in customizer

Optimerad storlek på generering av images

WordPress introducerade responsiva images i WordPress 4.4. Detta innebär att användare på mindre skärmar sedan 4.4 får se en mindre image som är lämplig för deras vy.

Den här utvalda funktionen är bra eftersom den inte ej ej bara förbättrar prestandan för websites på mindre vyer, den sparar även pengar på dataplaner.

WordPress 4.5 kommer att förbättra detta ytterligare. Det kommer att optimera images ytterligare för att minska deras site upp till 50% utan någon synlig kvalitetsförlust.

Vi rekommenderar fortfarande att du sparar images som är optimerade för webben för bästa resultat.

Allow Users to Login Using Email Address (tillåt användare att logga in med email address)

Det är svårt att hålla track på alla användarnamn vi använder på alla olika webbplatser. Det är därför många populära webbplatser som Facebook, Twitter och andra tillåter sina användare att använda sin email address som användarnamn.

Medan du lätt kan glömma ditt användarnamn, glömmer de flesta inte sin email address.

Tidigare har WordPress inte tillåtit användare att logga in med email som standard. Detta förväntas ändras i WordPress 4.5.

Eftersom varje WordPress-användare på din site redan har en email address kopplad till sitt account, kommer de nu att kunna använda sin email address för att logga in.

WordPress 4.5 will allow users to login with email address

Funktioner för utvecklare

WordPress 4.5 kommer att ge många förbättringar under huven för utvecklare. Här är några av de spännande förbättringarna för utvecklare:

Selective Refresh in Customize – I customize måste hela page uppdateras om en ändring måste tillämpas. WordPress 4.5 kommer att levereras med ett robust ramverk som allow selektiv uppdatering i customizern. Detta kommer att göra det otroligt snabbt, och det kommer att allow utvecklare att göra fantastiska saker med live previews. (#27355)

Anpassningsbara Embed Templates – WordPress 4.4 introducerade också embeds som allowade användare att embedda posts från sina egna och andra WordPress bloggar. WordPress 4.5 kommer att göra embed-mallarna anpassningsbara så att författare av teman kan ha custom displays. (#34561)

WP_Site Class – WordPress 4.5 kommer att levereras med WP_Site-klassen för installationer av WordPress på multisite. (#32450)

Script Loader – Att lägga till inline-skript kommer att bli enklare med införandet av wp_add_inline_script() i WordPress 4.5. (#14853, #35873)

Vi hoppas att den här artikeln hjälpte dig att lära dig vad som kommer i WordPress 4.5. Låt oss veta vilka funktioner du tycker är spännande och vad du gillar att se i framtida versioner av WordPress?

Om du gillade den här artikeln, vänligen prenumerera på vår YouTube-kanal för WordPress video tutorials. Du hittar oss också på Twitter och Facebook.

Avslöjande: Vårt innehåll stöds av våra läsare. Det innebär att om du klickar på några av våra länkar, kan vi tjäna en provision. Se hur WPBeginner finansieras, varför det är viktigt, och hur du kan stödja oss. Här är vår editoriala process.

Avatar

Editorial Staff at WPBeginner is a team of WordPress experts led by Syed Balkhi with over 16 years of experience in WordPress, Web Hosting, eCommerce, SEO, and Marketing. Started in 2009, WPBeginner is now the largest free WordPress resource site in the industry and is often referred to as the Wikipedia for WordPress.

Den ultimata WordPress-verktygslådan

Få GRATIS tillgång till vår verktygslåda - en samling WordPress-relaterade produkter och resurser som varje professionell användare bör ha!

Reader Interactions

42 kommentarerLämna ett svar

  1. Syed Balkhi says

    Hey WPBeginner readers,
    Did you know you can win exciting prizes by commenting on WPBeginner?
    Every month, our top blog commenters will win HUGE rewards, including premium WordPress plugin licenses and cash prizes.
    You can get more details about the contest from here.
    Start sharing your thoughts below to stand a chance to win!

  2. Sheri Ann Richerson says

    Ok, the update removed all the ”open in external tab” check marks and all of my ”no follow” links. None of the ’no follow” plugins are working. I also had to remove other plugins. Please help! I already was dinged by Google.

    Thank you!

  3. Igor Tsaritsyn says

    Automatic WordPress 4.5 update destroyed my front page. I use twenty eleven with content left. After the update the content became centered! And the right side column is now below the content on the right hand side. Why? And how can I fix it? My blog is . Thank you

    • WPBeginner Support says

      Go to Dashboard » Updates to see if there is an update available for Twenty Eleven. If there is, then first back up your entire WordPress site and then install the update.

      Administratör

  4. julie says

    Thanks for the post.

    My question is, where did the editor go? I usually go into the dashboard, click on appearance and in the drop down click on ”editor” so I can edit my home page and sidebars, etc. It’s hand coded and I need to update a video on my home page and can’t find home.php, which is usually under appearances –> editor.

    Can someone lend a hand?

    • Vergil Sparda says

      I suggest that you create a child theme and put all your CSS design on style.css file so that next time, even if there is an update, your css file will not be affected.

  5. pavan says

    The below thing are not working in the 4.5 beta version.
    `code` for code and **bold** for bold, italic, #h1 are not working .

    • Dave Warfel says

      Pavan — The backticks for code should be working. I just tested today in the latest beta version.

      Developers decided NOT to move forward with the **bold** or __italic__ text patterns. And a single hash (#) was never a valid text pattern. The h tags start with ## for h2, and run through ###### for h6. h1’s are not supported.

  6. Dan Heath says

    This is nice, but simple, common sense requests that I and others have been asking for, are ignored and there seems no way to communicate what we want or to get answers on how to code it for ourselves. I NEED to be able to limit posts by category, per page. Seems simple, if you know how to code in WP speak, but I don’t. I would be happy to buy a plug in to do this, but don’t know where to go to find such a thing. Have googled and everything else I can think of, to no avail.

    • DeBAAT says

      Hai Dan,
      Would it solve your issue when using Gravity Forms?
      I can imagine you make a page with a form where you have a mandatory choice of the post type categories you allow. GF also supports other post elements to create a new post from.
      Hope this helps. Just mail me if you have more questions.
      Best.
      Jan

  7. Claire Goodwin says

    Hmm… my initial reaction to the new ability to sign in using email is… WORRIED! Seems like this gives the bad guys more ways to try to hack in — and now we must make sure all users have strong passwords in more places. What am I missing here that will assuage my fears ?!

  8. NIS says

    I have a different question here. How do you define image size on media setting for bootstrap wordpress theme. Like interms of -xs , -sm, -md and -lg. Suggest me.

  9. Mike Campbell says

    Really nice updates to WordPress in 4.5, I really like the ability to login with email as I have some websites I manage where clients have had to use their usernames or I have had to implement a plugin to make this happen. Also the responsive quick click button in Optimizer is something that I think will add to the UI.

  10. William says

    Such a pity that Elegant Themes’ Divi doesn’t take advantage of WordPress’s responsive images feature.

  11. Deb says

    In regards to ”Optimized Image Size Generation”, I was curious what you thought about the use of WPMU Dev’s Smush Pro. Would that sort of plug-in still be needed?

  12. Barbara says

    Some great developer features. When are you guys going to add a ”Search Pages” field to an existing page so we don’t have to click on ”Pages” in the Dashboard sidebar and then enter the search term in ”Search Pages”? Something to think about for the next update!

    Thanks!

    • Shane C. says

      Most modern day web browsers have a search function, just hold control + f while you are on a page and type the word in your looking for!

  13. Charlie Merland says

    I’ve been waiting for an implementation of something like wp_add_inline_script() for years, truly a great news for developers!

  14. Kevin Larkin says

    Thanks for the roundup. With this release I see WordPress continuing to tinker around the edges (native support for responsive images in v4.4 being a notable exception). For such an established platform that powers so many websites, I’m amazed at the number of features it lacks. Some quick-off-the-top examples:

    • Native support for enabling PHP in posts and widgets
    • A feature to restrict site access to individual IPs or IP ranges
    • Ability to temporarily post site maintenance message instead of site content

    KL

  15. Enrique says

    Nothing about improved security. I’ve been dealing with several hacked sites recently and I just don’t understand how this happened. Probably a mix of things, but wordpress is weak in this regard.

    • Dave Warfel says

      Hi Enrique — I’ve dealt with a few hacked sites in the past year, so I feel your pain.

      However, the WordPress core code is incredible secure. It’s really not a problem with WordPress itself, but more of an issue with vulnerabilities in plugins & themes, to go along with weak passwords and user ignorance about general security practices.

      I’m not saying there aren’t ways WordPress could continue to improve security, but we want to be careful not to make it so difficult to login that your average user can’t access their own site.

      I see a lot of responsibility for designers, developers & those setting up the sites to educate users, and setup proper security measures.

      • bruno-webdesign says

        WordPress 4.4.2 lets you bruteforce wp-login.php as many times as you want. Each time you login, it does a database query and can fill up server connections especially if coming via a botnet all over the place.

        All WordPress core would need to do, is record the time of the last attempt, and if it happened within the last 3 minutes, deny any subsequent attempts from anyone.

        This means no database calls, no multiple web server processes, etc. It would just be a simple text deny.

        Little things like this can be really important. You might suggest there are work arounds to prevent this, but this is something that should be part of the core itself.

        I really hope WordPress has some small (but important) security enhancements in the future, to stop botnets from hitting xmlrpc and wp-login.php whever they want on a default WordPress install.

  16. Anton says

    But line breaks are still randomly deleted and inserted in the text editor? I can’t believe this is such an old bug and it never gets addressed.

  17. Tom says

    As a WP Beginner i’m always in trouble with templates. It needs a long time to edit the template structure. I think it comes much easier and faster if there is a click and edit option. Meaning… if you click on any section in the preview, the customizer will show you the editable things in the menu on the left side (like background color, static picture, video, logo, address, txt etc.)
    As an idea only….

    • Dave Warfel says

      Tom, something similar to this is being implemented with 4.5 (if I understand it correctly). You’ll be able to hold down the SHIFT key and click on various elements in the preview pane, and the corresponding setting will open up on the left.

      Give it a shot when 4.5 official launches.

  18. Pablo Domínguez says

    Thanks for the preview, it was very interesting! I didn’t know you could try WordPress betas, so thanks for that tip as well.

  19. CleverK says

    Just started up a new site last week, and glad to see the email login and comments changes. More and more this confirms that I’d rather stick with native comments and use add-ons to add functionality, rather than getting an outside comments tool.

  20. Gbadamosi Abdulwahab says

    Good day, I am one of your website users. I will like to seek your help and assistance in editing my WordPress website

  21. Kevin Donnigan says

    Thanks for the great round up. Looking forward to some of these features, especially for image performance.

  22. Fahid Javid says

    This update would be a great enhancement regarding basic controls over a WordPress site.

    I wish WordPress offers all basic controls by default for necessary configurations. For example, almost every site has a logo and favicon. Favicon upload option has given already and now logo option as well. Awesome!

    Thanks for this helpful article :)

Lämna ett svar

Tack för att du väljer att lämna en kommentar. Tänk på att alla kommentarer modereras enligt våra policy för kommentarer, och din e-postadress kommer INTE att publiceras. Vänligen använd INTE nyckelord i namnfältet. Låt oss ha en personlig och meningsfull konversation.