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 är nytt i WordPress 4.5

WordPress 4.5 med namnet ”Coleman” släpptes för bara några minuter sedan. Det är den första stora WordPress-versionen 2016 och innehåller en del spännande utvalda funktioner. I den här artikeln kommer vi att visa dig vad som är nytt i WordPress 4.5 och vilka funktioner du bör prova efter updating av dina websites.

What's New in WordPress 4.5 (Features and Screenshots)

Detta är en större WordPress-release och om du inte har ett hanterat WordPress-webbhotell måste du initiera updating manuellt.

Import! Glöm inte att skapa en komplett backup av WordPress innan updating påbörjas.

Support för temats logga

Att lägga till en logga på din site från customize har varit en efterlängtad funktion. Många premiumteman i WordPress allowar användare att ställa in loggor från temats alternativ, men det fanns inget standardiserat sätt att göra det på.

Med WordPress 4.5 kan utvecklare av teman nu aktivera support för loggan. Detta gör det möjligt för användare att ställa in en logga för sin website med hjälp av customizern.

Theme support for logo in WordPress 4.5

Kom ihåg att det är en temafunktion, vilket innebär att den måste definieras av ditt theme. Om ett theme inte stöder den här funktionen kommer du inte att kunna se den i customizer.

Bättre Preview för webbplatsikoner

Webbplatsikoner introducerades i WordPress 4.4. Den här funktionen allow användare att ställa in en favicon och applikationsikon för sina webbplatser.

WordPress 4.5 innebär en liten förbättring av den utvalda funktionen. Fram till 4.4.2 såg du bara preview av webbplatsikonen när du ställde in imagen. Med 4.5 ser du även en preview under site identity panel efter att du har ställt in webbplatsikonen.

Site icon preview

Responsive Previews i Customomize

Customize i WordPress 4.5 kommer med responsiva live previews för stationära, surfplattor och mobila enheter.

Klicka bara på device iconen för att växla view mellan enheter. Detta ger dig en generisk uppfattning om hur din site skulle se ut på olika vyer.

Responsive previews in WordPress 4.5

Optimerad prestanda för generering av images

Responsive images var en av de stora förbättringarna i WordPress 4.4, som allow WordPress att visa mindre image-storlekar till användare på mindre vyer.

WordPress 4.5 tar det till en new nivå genom att förbättra prestandan för hur WordPress genererar storlekar på images.

Tidigare använde WordPress 90 för bildkvaliteten vid komprimering av images. Nu kommer den att använda 82, vilket ger nästan identiska images med mycket mindre storlekar.

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

WordPress 4.5 rensar upp vyn för moderation av kommentarer och gör den mer användbar. Fram till 4.4.2 såg du en page som gillar detta när du klickade på länken i emailet med notifikationen om moderation av kommentarer:

Old comment moderation page in WordPress 4.4 and earlier

Denna page inte allow you to edit a comment and if it also ignored plain HTML formatting used in a comment.

Så här ser vyn för moderation av kommentarer ut i WordPress 4.5.

New comment moderation screen in WordPress 4.5

Same Domain Links i Comments kommer ej att ha Nofollow-attribut

Tidigare hade alla links som lagts till i content area för kommentarer som standard attributet nofollow add to them.

WordPress 4.5 kommer ej att add nofollow-attributet till länkar som pekar på samma domän.

Om du eller dina användare lägger till en länk till ett post eller en page på din site i kommentartexten, kommer WordPress inte att lägga till nofollow till den.

Men om en användare addar din link i URL-fältet när han eller hon skickar in en comment, kommer WordPress att lägga till nofollow och externa attribut till länken.

Se hur du kan inaktivera website/url-fältet i WordPress kommentarformulär.

Förbättringar av Visual Editor

De flesta användare av WordPress ägnar större delen av sin tid åt att skriva content. Detta gör visual editor till ett av de viktigaste area i den övergripande WordPress användarupplevelsen.

WordPress 4.5 bygger på några befintliga förbättringar och lägger till några nya för att göra skrivandet snabbare och roligare.

Inline Link Editor

En av kortkommandona i WordPress är CTRL+K (Command+K på Mac), vilket gör att du kan infoga links i posts. Fram till 4.4.2 öppnades popup-fönstret för insert-länkar, vilket var lite distraherande.

I WordPress 4.5 visas en inline-meny för insert links om 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

Nya genvägar för inline-text

Genvägar för inline-text introducerades i WordPress 4.3. Dessa genvägar allow you to snabbt add formatering markup medan du skriver posts.

WordPress 4.5 allow you to use three or more dashes — to add a horizontal line. Du kan också använda backticks `code` för att add to kod.

Vi rapporterade i vad som kommer i WordPress 4.5, att det kommer att finnas genvägar för fet och kursiv också. Tyvärr kom dessa genvägsmönster inte med i 4.5.

new inline shortcuts in WordPress 4.5

Du kan se en fullständig lista över tillgängliga genvägar i WordPress genom att clicka på help icon i visual editor.

Keyboard shortcuts modal

För dig som inte vill använda dessa genvägar kan du inaktivera inline-textgenvägar i visual editor.

Logga in med Email

Många onlinetjänster som Facebook, Twitter, etc. låter dig logga in inte bara genom att använda ditt användarnamn utan också med din email address.

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

WordPress 4.5 allow users to sign in using either their username or email address as username.

Login with email support in WordPress 4.5

Om du använde ett tillägg för att allow användare att logga in med email i WordPress, kan du säkert deactivate det pluginet.

Förbättringar under huven

WordPress 4.5 ger också några spännande nya förbättringar för utvecklare.

Updated Libraries – WordPress 4.5 levereras med nya versioner av medföljande bibliotek för Underscores, Backbone, jQuery och jQuery Migrate.

Selective Refresh in Cust omize – Tidigare var det obligatoriskt att ladda om hela sidan för att göra vissa ändringar i customize. WordPress 4.5 levereras med ett ramverk för att allow selective refresh i customizern. Det är snabbt och kommer att allow utvecklare att göra fantastiska saker med live previews.(#27355).

Anpassningsbara emb ed-templates – WordPress 4.4 introducerade embeds som allowade användare att embed:a posts från sina egna och andra WordPress-bloggar. WordPress 4.5 gör embed-mallar anpassningsbara så att temaförfattare kan justera embed-displayen för att matcha deras theme.(#34561)

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

Script Loader – WordPress 4.5 introducerar wp_add_inline_script() som gör det enklare att add to inline-skript.(#14853, #35873)

Vi hoppas att den här artikeln gav dig en bra översikt över vad som är new i WordPress 4.5. Vi är särskilt glada över den optimerade genereringen av images och embed templates. Vad tycker du är spännande?

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

43 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. vh says

    Is there any way to persuade your developers to please return to the old way of inserting links? What a freaking NUISANCE the new system is! You have to jump through three hoops (at least) and half the time the da** thing doesn’t insert the link, so you have to go through all that unnecessary hoop-jump again.

    Your users have enough work to do without WordPress kindly adding more hassle.

  3. Johny says

    I prefer insert link menu on previous wp version
    on the latest version 4.5.2 I have to work twice to insert link

  4. Cassidy says

    When I upload a new image to the website I don’t have any sizing options (thumb, small, med, large). It always puts the image in at full size. The image size I use (ideal for Pinterest) is just larger than the width of my blog posts. I’m having to manually resize them so they don’t get cut off.

    Anyone else with this issue or know what’s causing it?

    • alex says

      Hi,
      Yes. I also facing same problem. So far do you get any solution to solve the image cut off problem?
      Thank You

      • Cassidy says

        Once you inset the picture into the post, click on the image and then the edit button. Under sizing you can then select ”Custom size” which will allow you to input whatever size you want the image. It’s time consuming, but at least I have images that work now!

  5. C. James Cote says

    I think that, as far as the link editor update – first of all, not only was in completely un-necessary, but it now requires at least six extra steps if you want your links to open up in a separate tab.

    Yes, sure, pressing the tab, space-bar, and enter key six times does not seem like a big deal, but for someone who spends at least 10 or more hours every day pressing buttons, this is quite annoying and actually doubles the time necessary to do this simple step, and I see no reason for this ”update”.

    Other than that, I always look forward to new WordPress updates.

  6. Mike Ament says

    I like the new inline link editor but is there a way to make it default to ”open link in new tab” instead of needing to open the settings to do it?

  7. Mark M says

    Be aware that if you are using commercial templates e.g. Themeforest. I have several client sites broken by this update. The template developers are fairly quickly coming out with updates to fix incompatibilities but just be aware you’ll have to deal with this. Mostly have to do with Visual Composer. Backend and/or front end depending on template freezes so you can’t edit. Also, one of my template that allows a logo to be uploaded … logo disappeared until i applied an update to the template.

    Just take your time… and BACKUP.

    • Zif says

      I agree completely. There’s also a focus bug that makes it extra annoying. If anyone figures out a plugin or way to disable this annoying ”feature”, please reply!! It’s driving me nuts.

  8. Skye says

    I don’t see an advantage to log in with e-mail address instead of username but see a bigger risk to get my site hacked. Can I disabled this possibility?
    I do get daily trials to hack my site!

    • Chen says

      I agree with Skye. People exchange email addresses, and this feature isn’t safer. Anyone knows how to disable this feature?

  9. Rene Gouw says

    In addition to Zach Jenkins comment, i also find the inline link editor not as nice as it was.
    If you put in the link name now, it puts this link name straight away into the text and i only want to see this link name when you hoover over the link with the mouse as in earlier days.

  10. Terry says

    We badly need better ways to manage media. A method to keep media organized into folders and sub folders. The current year / month thing is terrible. Having to scroll through hundreds of images to find something is extremely wasteful. Hope this feature gets some improvement soon.

    The current changes are useful, but nothing like a good media management system would be.

    Thanks

  11. Michael says

    I would like to get some help getting my WP site to accept pasted text and pictures from the Gmedia Gallery…
    these vital features crashed with 4.5

  12. Michael says

    upgraded to 4.5 and then my site will not longer accept new text or photos.
    NOT a welcome turn of events…

    • DITTO says

      I’m dead in the water on ALL of my sites now. My edit window is very small, all my text runs together and I can’t even begin to add a youtube video or a link. I hate this and hope it is fixed ASAP.

  13. Ricardo Ribeiro says

    ”In WordPress 4.5, pressing CTRL+K shows an inline insert link menu. Simply type the URL and continue writing your post without removing hands from keyboard.”

    In my installation it doesn’t work like that. If I Ctrl K and write the URL, It will replace the word(s) text with the URL I am typing and it won’t link at all. The whole new concept is a buggy disgrace.

  14. ray says

    I like my wordpress the way it is. My site will most likely crash if I upgrade and will make a long night ahead for me trying to get the backup to work. No thanks…

  15. Ellie Gill says

    Hi – I just downloaded Coleman and now can’t work out how to update my theme, as it has caused some conflicts. ANy help would be appreciated.

    Thanks,

    Ellie

  16. Toby says

    I’m still utterly waiting for nice media management, which, in my opinion, is one of the big gaps that WordPress core developers still fail to fill.

    A simple functionality to create folders and organize media in a more structured way would be a big step forward!

    Sorry, I don’t need responsive preview, I don’t need a REST API (btw. how many of you do?), only real improvement that I see is the login with e-mail.

  17. SMSA says

    It might be a silly question, but my site has a fully customised template. Normally it is not affected by wordpress upgrades (or theme upgrades, since it doesn’t use the wordpress standard themes). It does not use a child theme because it was from scratch. If I am reading the warning on the upgrade page and the info about the update on wordpress correctly, then it sounds like this 4.5 will overwrite custom themes? Where does that leave me?

  18. Zach Jenkins says

    I just thought I’d ask here just to see if anyone else has any suggestions. The new inline link editor has been extremely buggy for me; erasing links, remaining open with no way to dismiss, obviously adding extra work if need to edit a link or add a nofollow attribute. I know this was made core (though I think without adequate use testing) so does anyone know of a plugin that would revert the behavior to the more advanced link editor?

    I think it was designed for those that compose everything inside of WordPress and not for those that may copy and paste the text and links from other programs and then clean it up inside the visual editor.

    Or if there is info to file proper bug reports to core to let them know what’s wrong or why this should be something that could perhaps be overridden with a setting, that would be much appreciated.

    • Gaya says

      I would appreciate some help with this too. The inline link box won’t close after I input the link — clicking elsewhere and pressing Esc don’t work and there is no X button for closing it — and I end up not being able to see the text behind the box. If I want to make the link open in a new tab/window, I have to click the gear icon. I don’t know if anyone else has this problem or if there is something else I should be doing, but personally this new feature has complicated my workflow, not improved it. If anyone has suggestions, I’d love to hear it, as I’m not a WP expert.

      • Dan says

        I’m having the same issue with links. If I add a link on my site opening in the same window is fine. If I have a link to another site I always have it open in a new window/tab. This is now much more difficult to do and the popover box won’t close once you edit the settings by clicking on the gear icon.

        The only way I can get it to close is to start another link somewhere else and then close out of that. Hope they fix this.

    • Alan says

      Yes the inline links update in 4.5 has broken my wordpress site with theme Lotus.
      I am unable to use the smart site builder on this theme as it blocks any new elements being added in site builder and also the inline links popup box is continually open at the bottom of my dashboard with no way to dismiss it.

      I’m looking for a simple way to disable this feature.

  19. Neha Singh says

    Thanx for this great article, I want to ask one thing, today I updated my wordpress blog to wordpress 4.5 and I’m not able to edit my exitising post. Can you please guide me how to resolve this?

  20. Neha Singh says

    Thanx for this great article, I want to ask one thing, today I updated wordpress blog to wordpress 4.5 and I’m not able to edit my exitising post. Can you please guide me how to resolve thi?

    • Brad Harris says

      We are experiencing the same issue. There is some real buggy stuff on when I create a new post: When I put in an image the scrollbar disappears … the menu that used to pop up to edit the image tags no longer appears. It’s rather jacked up. Not sure what to do about all of this.

      Thanks,
      Brad

  21. Ataul Ghani says

    CSS Stylesheet Editor is not working on WordPress version 4.5! I’m little bit confused about it because on my two blog same issue. Do you know what’s the actual problem?

  22. Temmyhlee says

    Wow such a fabulous turnaround, been using the beta versions for a while and it has been awesome, now I do not need to use developer tool to view responsive designs, as I can view it in the preview panel. Thumbs up @WPBeginner.

  23. Destiny Young says

    I updated my site to wordpress 4.5. Now, my site wont load, hanging at loading screen without populating the content on the front page

  24. Nouman Younas says

    very detailed informative post. (Y)

    after reading this point ”Login With Email”, i thought that wpbeginner should come with a post like
    ”Plugins you shouldnt use after WP 4.5 update”

    many of us are using plugins from years but i observed that after last one year WP updates, some plugins have become almost useless but they are still part of our blog.

    yes it can be offensive for plugin authors to ask users to remove those plugins after WP update but its still a positive thing :)

  25. Rajit says

    can we disable the option of using email address to login to the admin panel? I want the login to be a unique username for the admin panel at least. For other users I already use only email as the login username and would like to keep it that way.

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.